izuemon commited on
Commit
97dbf57
·
verified ·
1 Parent(s): 229ea4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ torch.random.manual_seed(0)
9
 
10
  model = AutoModelForCausalLM.from_pretrained(
11
  "microsoft/Phi-3-mini-4k-instruct",
12
- device_map="cuda",
13
  torch_dtype="auto",
14
  trust_remote_code=True
15
  )
 
9
 
10
  model = AutoModelForCausalLM.from_pretrained(
11
  "microsoft/Phi-3-mini-4k-instruct",
12
+ device_map="cpu",
13
  torch_dtype="auto",
14
  trust_remote_code=True
15
  )