Spaces:
Running
on
Zero
Running
on
Zero
update2
Browse files- generation_utils.py +1 -1
generation_utils.py
CHANGED
|
@@ -82,7 +82,7 @@ def load_model(
|
|
| 82 |
spt_config_path,
|
| 83 |
spt_checkpoint_path,
|
| 84 |
torch_dtype=torch.bfloat16,
|
| 85 |
-
attn_implementation="
|
| 86 |
):
|
| 87 |
from transformers import AutoTokenizer
|
| 88 |
|
|
|
|
| 82 |
spt_config_path,
|
| 83 |
spt_checkpoint_path,
|
| 84 |
torch_dtype=torch.bfloat16,
|
| 85 |
+
attn_implementation="sdpa",
|
| 86 |
):
|
| 87 |
from transformers import AutoTokenizer
|
| 88 |
|