Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ model = AutoModelForVision2Seq.from_pretrained(
|
|
8 |
model_name,
|
9 |
trust_remote_code=True,
|
10 |
torch_dtype=torch.bfloat16,
|
11 |
-
attn_implementation="flash_attention_2",
|
12 |
device_map="auto",
|
13 |
)
|
14 |
processor = AutoProcessor.from_pretrained(
|
|
|
8 |
model_name,
|
9 |
trust_remote_code=True,
|
10 |
torch_dtype=torch.bfloat16,
|
|
|
11 |
device_map="auto",
|
12 |
)
|
13 |
processor = AutoProcessor.from_pretrained(
|