abhijitkumarjha88192 commited on
Commit
d2a8d6f
1 Parent(s): 03c87f7

Update app.py

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