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