Skip to content

Commit ffc5825

Browse files
committed
fix sdpa
1 parent c4185ed commit ffc5825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/torch_export_patches/patches/patch_transformers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _is_torchdynamo_exporting() -> bool:
6666
return False
6767

6868

69-
patch_sdpa_is_causal = _has_transformers("5.0")
69+
patch_sdpa_is_causal = _has_transformers("4.99")
7070
patch_is_initialized = _has_transformers("4.56.99")
7171

7272

0 commit comments

Comments
 (0)