Spaces:
Running
on
Zero
Running
on
Zero
sergiopaniego
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ model = Idefics3ForConditionalGeneration.from_pretrained(
|
|
21 |
model_id,
|
22 |
device_map="auto",
|
23 |
torch_dtype=torch.bfloat16,
|
24 |
-
_attn_implementation="flash_attention_2",
|
25 |
)
|
26 |
|
27 |
processor = AutoProcessor.from_pretrained(model_id)
|
|
|
21 |
model_id,
|
22 |
device_map="auto",
|
23 |
torch_dtype=torch.bfloat16,
|
24 |
+
#_attn_implementation="flash_attention_2",
|
25 |
)
|
26 |
|
27 |
processor = AutoProcessor.from_pretrained(model_id)
|