Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
38 |
config.base_model_name_or_path,
|
39 |
return_dict=True,
|
40 |
quantization_config=bnb_config,
|
41 |
-
device_map=
|
42 |
trust_remote_code=True,
|
43 |
)
|
44 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|
|
|
38 |
config.base_model_name_or_path,
|
39 |
return_dict=True,
|
40 |
quantization_config=bnb_config,
|
41 |
+
device_map=None,
|
42 |
trust_remote_code=True,
|
43 |
)
|
44 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|