Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix LayerNorm recomposition by properly using provided epsilon value #284

Merged

Conversation

roberteg16
Copy link

@roberteg16 roberteg16 commented Feb 5, 2025

The problem is that the method used to recover value was invalid, therefore returning a null FloatAttr. This made the constructor to use the default value for epsilon which was the exact same used in the tests.

@roberteg16 roberteg16 requested review from ttjost and jorickert and removed request for jorickert February 5, 2025 16:27
Copy link

@ttjost ttjost left a comment

Choose a reason for hiding this comment

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

Oh, let's fix upstream 😄

@roberteg16 roberteg16 merged commit f4d1ac4 into feature/onnx-to-tosa Feb 5, 2025
6 checks passed
@roberteg16 roberteg16 deleted the rogarcia.fix_layerNorm_recomposition branch February 5, 2025 17:28
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