Skip to content

[WebNN EP] Remove unnecessary cast around normalization ops#29024

Merged
fdwr merged 1 commit into
microsoft:mainfrom
Honry:webnn/remove-normalization-cast
Jun 14, 2026
Merged

[WebNN EP] Remove unnecessary cast around normalization ops#29024
fdwr merged 1 commit into
microsoft:mainfrom
Honry:webnn/remove-normalization-cast

Conversation

@Honry

@Honry Honry commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Remove fp16→fp32→fp16 cast workaround from SimplifiedLayerNormalization and SkipSimplifiedLayerNormalization. The WebNN backend now handles float16 precision correctly, making these intermediate casts unnecessary.

Remove fp16→fp32→fp16 cast workaround from SimplifiedLayerNormalization
and SkipSimplifiedLayerNormalization. The WebNN backend now handles
float16 precision correctly, making these intermediate casts unnecessary.
@Honry

Honry commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

@fdwr, @guschmue, PTAL, thanks!

@fdwr fdwr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Happy to see less code.

@fdwr
fdwr merged commit bf7e27a into microsoft:main Jun 14, 2026
85 of 86 checks passed
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.

2 participants