Skip to content

Conversation

@yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Nov 24, 2024

gemma-style rmsnorm kernels (introduced in #477 ) are similar to original rmsnorm kernel, and we should use the same kernel for them. This PR cleans up duplicate code and unifies the kernels for gemma-style and original rmsnorm kernels.

The precision improvements (#587, #592) are kept in this PR.

@yzh119 yzh119 merged commit 5bf36ce into main Nov 24, 2024
@yzh119 yzh119 deleted the remove-duplicate-norm-kernels branch November 24, 2024 07:58
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