No1r97 commited on
Commit
d56335e
1 Parent(s): a9aaf24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
23
  token=access_token,
24
  trust_remote_code=True,
25
  device_map="auto",
26
- torch_dtype=torch.float16,
27
  offload_folder="offload/"
28
  )
29
  model = PeftModel.from_pretrained(
 
23
  token=access_token,
24
  trust_remote_code=True,
25
  device_map="auto",
26
+ load_in_8bit=True,
27
  offload_folder="offload/"
28
  )
29
  model = PeftModel.from_pretrained(