Spaces:
Runtime error
Runtime error
thepowerfuldeez
commited on
Commit
•
72f626d
1
Parent(s):
7789aee
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def get_model(model_url="thepowerfuldeez/Qwen2-1.5B-Summarize", use_cpu=False):
|
|
10 |
model = AutoModelForCausalLM.from_pretrained(
|
11 |
model_url,
|
12 |
device_map="cpu",
|
13 |
-
load_in_4bit=True,
|
14 |
attn_implementation="flash_attention_2",
|
15 |
)
|
16 |
else:
|
|
|
10 |
model = AutoModelForCausalLM.from_pretrained(
|
11 |
model_url,
|
12 |
device_map="cpu",
|
13 |
+
# load_in_4bit=True,
|
14 |
attn_implementation="flash_attention_2",
|
15 |
)
|
16 |
else:
|