Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
26 |
trust_remote_code=True,
|
27 |
torch_dtype="auto",
|
28 |
# _attn_implementation='flash_attention_2',
|
29 |
-
load_in_4bit=True # Optional: Load model in 4-bit mode to save memory
|
30 |
)
|
31 |
|
32 |
processor = AutoProcessor.from_pretrained(model_id,
|
|
|
26 |
trust_remote_code=True,
|
27 |
torch_dtype="auto",
|
28 |
# _attn_implementation='flash_attention_2',
|
29 |
+
#load_in_4bit=True # Optional: Load model in 4-bit mode to save memory
|
30 |
)
|
31 |
|
32 |
processor = AutoProcessor.from_pretrained(model_id,
|