File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
onnx_diagnostic/torch_export_patches/patches Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -877,12 +877,15 @@ class patched_PhiRotaryEmbedding(common_RotaryEmbedding):
877877 _PATCHED_CLASS_ = transformers .models .phi .modeling_phi .PhiRotaryEmbedding
878878
879879
880- if pv .Version (transformers .__version__ ) >= pv .Version ("4.52 " ):
880+ if pv .Version (transformers .__version__ ) >= pv .Version ("4.51 " ):
881881
882882 class patched_Phi3RotaryEmbedding (common_RotaryEmbedding ):
883883 _PATCHES_ = ["forward" ]
884884 _PATCHED_CLASS_ = transformers .models .phi3 .modeling_phi3 .Phi3RotaryEmbedding
885885
886+
887+ if pv .Version (transformers .__version__ ) >= pv .Version ("4.52" ):
888+
886889 class patched_Phi4MultimodalRotaryEmbedding (common_RotaryEmbedding ):
887890 _PATCHES_ = ["forward" ]
888891 _PATCHED_CLASS_ = (
You can’t perform that action at this time.
0 commit comments