Raphael Glon commited on
Commit
0730e48
·
unverified ·
1 Parent(s): d0e13bc

Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def _ensure_loaded():
45
  _model = AutoModelForCausalLM.from_pretrained(
46
  MODEL_ID,
47
  trust_remote_code=True,
48
- torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
49
  low_cpu_mem_usage=True,
50
  device_map="auto" if torch.cuda.is_available() else None,
51
  )
 
45
  _model = AutoModelForCausalLM.from_pretrained(
46
  MODEL_ID,
47
  trust_remote_code=True,
48
+ # torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
49
  low_cpu_mem_usage=True,
50
  device_map="auto" if torch.cuda.is_available() else None,
51
  )