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

Why use layer norm instead of RMS norm? #61

Open
YudiZh opened this issue Feb 27, 2025 · 0 comments
Open

Why use layer norm instead of RMS norm? #61

YudiZh opened this issue Feb 27, 2025 · 0 comments

Comments

@YudiZh
Copy link

YudiZh commented Feb 27, 2025

In the implementation of w4a8 and w8a8, it seems that you have used layer normalization instead of RMS normalization. Why does this direct substitution of the normalization method work? Additionally, after testing and comparing the results of RMS_norm and layer_norm on w4a8_per_chn model, it was found that layer_norm seems to perform better on GSM8K. Could you explain this in more detail?

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

No branches or pull requests

1 participant