Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ model = AutoModelForCausalLM.from_pretrained(model_name_or_path,
|
|
36 |
device_map="auto",
|
37 |
trust_remote_code=True,
|
38 |
revision="main",
|
39 |
-
|
40 |
)
|
41 |
|
42 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
|
|
|
36 |
device_map="auto",
|
37 |
trust_remote_code=True,
|
38 |
revision="main",
|
39 |
+
quantization_config=QuantizationConfig(disable_exllama=True)
|
40 |
)
|
41 |
|
42 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, use_fast=True)
|