Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,6 @@ def load_model(model_name):
|
|
| 31 |
f"{root_path}/{model_name}",
|
| 32 |
device_map="auto",
|
| 33 |
torch_dtype=torch.bfloat16,
|
| 34 |
-
load_in_4bit=True,
|
| 35 |
trust_remote_code=True,
|
| 36 |
)
|
| 37 |
|
|
|
|
| 31 |
f"{root_path}/{model_name}",
|
| 32 |
device_map="auto",
|
| 33 |
torch_dtype=torch.bfloat16,
|
|
|
|
| 34 |
trust_remote_code=True,
|
| 35 |
)
|
| 36 |
|