Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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)
|