likewendy commited on
Commit
9d87021
·
1 Parent(s): ea5db48
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'expandable_segments:True'
11
 
12
  model = AutoModelForCausalLM.from_pretrained(
13
  "NyxKrage/Microsoft_Phi-4",
14
- device_map="cuda",
15
  torch_dtype="auto",
16
  trust_remote_code=True,
17
  )
 
11
 
12
  model = AutoModelForCausalLM.from_pretrained(
13
  "NyxKrage/Microsoft_Phi-4",
14
+ device_map="auto",
15
  torch_dtype="auto",
16
  trust_remote_code=True,
17
  )