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

RMSNorm epsilon implementation #1342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

RMSNorm epsilon implementation #1342

wants to merge 1 commit into from

Conversation

tijmen
Copy link

@tijmen tijmen commented Mar 3, 2025

Make RMSNorm implementation match the huggingface transformers one. epsilon now adds to the variance rather than adding to the RMS. This fixes compatibility with Llama but could break compatibility with any models using RMSNorm and trained with previous versions of GPT-NeoX.

See #1337 for more info.

@tijmen tijmen requested a review from Quentin-Anthony as a code owner March 3, 2025 02:21
@CLAassistant
Copy link

CLAassistant commented Mar 3, 2025

CLA assistant check
All committers have signed the CLA.

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