Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def say_hello(msg: str):
|
|
13 |
torch.random.manual_seed(0)
|
14 |
model = AutoModelForCausalLM.from_pretrained(
|
15 |
"microsoft/Phi-3-mini-128k-instruct",
|
16 |
-
device_map="
|
17 |
torch_dtype="auto",
|
18 |
trust_remote_code=True,
|
19 |
)
|
|
|
13 |
torch.random.manual_seed(0)
|
14 |
model = AutoModelForCausalLM.from_pretrained(
|
15 |
"microsoft/Phi-3-mini-128k-instruct",
|
16 |
+
device_map="auto",
|
17 |
torch_dtype="auto",
|
18 |
trust_remote_code=True,
|
19 |
)
|