Spaces:
Running
on
Zero
Running
on
Zero
William Mattingly
commited on
Commit
·
0e717ef
1
Parent(s):
3138c9c
removed flash attn
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ processor = AutoProcessor.from_pretrained(
|
|
| 17 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 18 |
model_id,
|
| 19 |
torch_dtype=torch.bfloat16,
|
| 20 |
-
attn_implementation="
|
| 21 |
device_map="auto",
|
| 22 |
trust_remote_code=True,
|
| 23 |
)
|
|
|
|
| 17 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
| 18 |
model_id,
|
| 19 |
torch_dtype=torch.bfloat16,
|
| 20 |
+
attn_implementation="sdpa",
|
| 21 |
device_map="auto",
|
| 22 |
trust_remote_code=True,
|
| 23 |
)
|