Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ torch.random.manual_seed(0)
|
|
| 9 |
|
| 10 |
model = AutoModelForCausalLM.from_pretrained(
|
| 11 |
"microsoft/Phi-3-mini-4k-instruct",
|
| 12 |
-
device_map="
|
| 13 |
torch_dtype="auto",
|
| 14 |
trust_remote_code=True
|
| 15 |
)
|
|
|
|
| 9 |
|
| 10 |
model = AutoModelForCausalLM.from_pretrained(
|
| 11 |
"microsoft/Phi-3-mini-4k-instruct",
|
| 12 |
+
device_map="cpu",
|
| 13 |
torch_dtype="auto",
|
| 14 |
trust_remote_code=True
|
| 15 |
)
|