Skip to content

[TorchOnnxToTorch] Add simplified layer norm ops#4459

Draft
IanWood1 wants to merge 1 commit intollvm:mainfrom
IanWood1:add-simplified-layer-normalization
Draft

[TorchOnnxToTorch] Add simplified layer norm ops#4459
IanWood1 wants to merge 1 commit intollvm:mainfrom
IanWood1:add-simplified-layer-normalization

Conversation

@IanWood1
Copy link
Contributor

@IanWood1 IanWood1 commented Feb 6, 2026

Add conversion patterns for Microsoft domain SimplifiedLayerNormalization and SkipSimplifiedLayerNormalization ONNX ops to Torch dialect.

…dLayerNormalization ops

Add conversion patterns for Microsoft domain SimplifiedLayerNormalization
and SkipSimplifiedLayerNormalization ONNX ops to Torch dialect. These
implement RMS normalization (input/sqrt(mean(x^2)+eps) * gamma) with
support for 1-4 output variants and optional skip connections with bias.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant