Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -53,7 +53,7 @@ def decide_model(args, device_map):
|
|
53 |
tokenizer = _MODEL_CLASSES[model_type].tokenizer.from_pretrained(args.base_model)
|
54 |
model = _MODEL_CLASSES[model_type].model.from_pretrained(
|
55 |
args.base_model,
|
56 |
-
load_in_8bit=
|
57 |
torch_dtype=torch.float16,
|
58 |
device_map=device_map
|
59 |
)
|
|
|
53 |
tokenizer = _MODEL_CLASSES[model_type].tokenizer.from_pretrained(args.base_model)
|
54 |
model = _MODEL_CLASSES[model_type].model.from_pretrained(
|
55 |
args.base_model,
|
56 |
+
load_in_8bit=False,
|
57 |
torch_dtype=torch.float16,
|
58 |
device_map=device_map
|
59 |
)
|