Spaces:
Runtime error
Runtime error
Commit
•
29d95b0
1
Parent(s):
2336c1b
set load_in_8bit to false
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ config = PeftConfig.from_pretrained(peft_model_id)
|
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
config.base_model_name_or_path,
|
9 |
return_dict=True,
|
10 |
-
load_in_8bit=
|
11 |
device_map="auto",
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|
|
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
config.base_model_name_or_path,
|
9 |
return_dict=True,
|
10 |
+
load_in_8bit=False,
|
11 |
device_map="auto",
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|