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 RMSNorm monkey patch for Gemma models #1886

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

chiwanpark
Copy link
Contributor

Description

Gemma 1/2 use the different offset and dtype casting method comparing to that of LLaMA. Liger Kernel already updated these differences (linkedin/Liger-Kernel#85, linkedin/Liger-Kernel#92) in 0.2.1, but axolotl uses still buggy implementation. This PR fixes the bug.

Motivation and Context

How has this been tested?

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

Copy link
Collaborator

@winglian winglian left a comment

Choose a reason for hiding this comment

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

Thanks!

@winglian winglian merged commit bdab3ec into axolotl-ai-cloud:main Sep 1, 2024
9 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