Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ config_kwargs = {"device_map": device}
|
|
24 |
|
25 |
model = AutoModelForCausalLM.from_pretrained(
|
26 |
model_path,
|
27 |
-
torch_dtype=torch.
|
28 |
**config_kwargs
|
29 |
)
|
30 |
|
|
|
24 |
|
25 |
model = AutoModelForCausalLM.from_pretrained(
|
26 |
model_path,
|
27 |
+
torch_dtype=torch.bfloat16,
|
28 |
**config_kwargs
|
29 |
)
|
30 |
|