Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ base_model = AutoModelForCausalLM.from_pretrained(
|
|
23 |
token=access_token,
|
24 |
trust_remote_code=True,
|
25 |
device_map="auto",
|
26 |
-
|
27 |
offload_folder="offload/"
|
28 |
)
|
29 |
model = PeftModel.from_pretrained(
|
|
|
23 |
token=access_token,
|
24 |
trust_remote_code=True,
|
25 |
device_map="auto",
|
26 |
+
load_in_8bit=True,
|
27 |
offload_folder="offload/"
|
28 |
)
|
29 |
model = PeftModel.from_pretrained(
|