Spaces:
Sleeping
Sleeping
dntrplytch
commited on
update type
Browse filestorch_dtype=torch.float16,
app.py
CHANGED
@@ -26,7 +26,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
26 |
model = AutoModelForCausalLM.from_pretrained(
|
27 |
model_id,
|
28 |
device_map="auto",
|
29 |
-
torch_dtype=torch.
|
30 |
)
|
31 |
model.eval()
|
32 |
|
|
|
26 |
model = AutoModelForCausalLM.from_pretrained(
|
27 |
model_id,
|
28 |
device_map="auto",
|
29 |
+
torch_dtype=torch.float16,
|
30 |
)
|
31 |
model.eval()
|
32 |
|