We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd7b5e commit 10c2a92Copy full SHA for 10c2a92
onnx_diagnostic/torch_export_patches/patches/patch_transformers.py
@@ -889,6 +889,9 @@ class patched_Phi4MultimodalRotaryEmbedding(common_RotaryEmbedding):
889
transformers.models.phi4_multimodal.modeling_phi4_multimodal.Phi4MultimodalRotaryEmbedding
890
)
891
892
+
893
+if pv.Version(transformers.__version__) >= pv.Version("4.53"):
894
895
class patched_SmolLM3RotaryEmbedding(common_RotaryEmbedding):
896
_PATCHES_ = ["forward"]
897
_PATCHED_CLASS_ = transformers.models.smollm3.modeling_smollm3.SmolLM3RotaryEmbedding
0 commit comments