Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,6 @@ try:
|
|
28 |
model = AutoModelForImageTextToText.from_pretrained(
|
29 |
MODEL_ID,
|
30 |
torch_dtype=torch.bfloat16,
|
31 |
-
attn_implementation="flash_attention_2",
|
32 |
trust_remote_code=True
|
33 |
).to("cuda")
|
34 |
processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)
|
|
|
28 |
model = AutoModelForImageTextToText.from_pretrained(
|
29 |
MODEL_ID,
|
30 |
torch_dtype=torch.bfloat16,
|
|
|
31 |
trust_remote_code=True
|
32 |
).to("cuda")
|
33 |
processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)
|