Fix: eager attention (FlashAttention2 not available)
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 42 |
device_map="auto",
|
| 43 |
trust_remote_code=True,
|
| 44 |
torch_dtype=torch.bfloat16,
|
| 45 |
-
attn_implementation="
|
| 46 |
)
|
| 47 |
print("✅ Modell geladen!")
|
| 48 |
|
|
|
|
| 42 |
device_map="auto",
|
| 43 |
trust_remote_code=True,
|
| 44 |
torch_dtype=torch.bfloat16,
|
| 45 |
+
attn_implementation="eager",
|
| 46 |
)
|
| 47 |
print("✅ Modell geladen!")
|
| 48 |
|