Spaces:
Runtime error
Runtime error
Ankitajadhav
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
17 |
torch.random.manual_seed(0)
|
18 |
model = AutoModelForCausalLM.from_pretrained(
|
19 |
"microsoft/Phi-3-mini-4k-instruct",
|
20 |
-
|
21 |
torch_dtype="auto",
|
22 |
trust_remote_code=True,
|
23 |
)
|
|
|
17 |
torch.random.manual_seed(0)
|
18 |
model = AutoModelForCausalLM.from_pretrained(
|
19 |
"microsoft/Phi-3-mini-4k-instruct",
|
20 |
+
low_cpu_mem_usage=True,
|
21 |
torch_dtype="auto",
|
22 |
trust_remote_code=True,
|
23 |
)
|