almncarlo commited on
Commit
40def4b
·
verified ·
1 Parent(s): a4c3e3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ amp_dtype = torch.float16
44
 
45
  llm_model = transformers.AutoModelForCausalLM.from_pretrained(
46
  "microsoft/Phi-3-mini-128k-instruct",
47
- device_map="cuda",
48
  torch_dtype="auto",
49
  trust_remote_code=True,
50
  )
 
44
 
45
  llm_model = transformers.AutoModelForCausalLM.from_pretrained(
46
  "microsoft/Phi-3-mini-128k-instruct",
47
+ device_map="auto",
48
  torch_dtype="auto",
49
  trust_remote_code=True,
50
  )