Grey01 commited on
Commit
85c2aa0
·
verified ·
1 Parent(s): 286cdc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
4
  # Load your model and tokenizer (same as before)
5
  model = AutoModelForCausalLM.from_pretrained(
6
  "marketeam/PhiMarketing",
7
- device_map="cuda",
8
  torch_dtype="auto",
9
  trust_remote_code=True,
10
  )
 
4
  # Load your model and tokenizer (same as before)
5
  model = AutoModelForCausalLM.from_pretrained(
6
  "marketeam/PhiMarketing",
7
+ device_map="auto",
8
  torch_dtype="auto",
9
  trust_remote_code=True,
10
  )