Akjava commited on
Commit
ef229c7
Β·
verified Β·
1 Parent(s): 45d1199

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def init():
19
  model_id = "microsoft/Phi-3-mini-128k-instruct"
20
 
21
  device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
22
- #device = "cuda"
23
  dtype = torch.bfloat16
24
 
25
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=huggingface_token)
 
19
  model_id = "microsoft/Phi-3-mini-128k-instruct"
20
 
21
  device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
22
+ device = "cuda"
23
  dtype = torch.bfloat16
24
 
25
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=huggingface_token)