DioulaD commited on
Commit
3fd7dd2
1 Parent(s): f892042

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ def load_peft_model():
10
  torch_dtype=torch.bfloat16,
11
  device_map="auto",
12
  trust_remote_code=True,
 
13
  )
14
  model = PeftModel.from_pretrained(model, peft_model_id)
15
  model = model.merge_and_unload()
 
10
  torch_dtype=torch.bfloat16,
11
  device_map="auto",
12
  trust_remote_code=True,
13
+ offload_folder="./offload"
14
  )
15
  model = PeftModel.from_pretrained(model, peft_model_id)
16
  model = model.merge_and_unload()