Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ model_v4 = AutoModel.from_pretrained(
|
|
| 78 |
MODEL_ID_V4,
|
| 79 |
trust_remote_code=True,
|
| 80 |
torch_dtype=torch.bfloat16,
|
| 81 |
-
attn_implementation='
|
| 82 |
).eval().to(device)
|
| 83 |
tokenizer_v4 = AutoTokenizer.from_pretrained(MODEL_ID_V4, trust_remote_code=True)
|
| 84 |
|
|
|
|
| 78 |
MODEL_ID_V4,
|
| 79 |
trust_remote_code=True,
|
| 80 |
torch_dtype=torch.bfloat16,
|
| 81 |
+
attn_implementation='no_eager'
|
| 82 |
).eval().to(device)
|
| 83 |
tokenizer_v4 = AutoTokenizer.from_pretrained(MODEL_ID_V4, trust_remote_code=True)
|
| 84 |
|