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

[JAX] Support layernorm/rmsnorm sm_margin control through environment variable #520

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

zlsh80826
Copy link
Collaborator

@zlsh80826 zlsh80826 commented Nov 15, 2023

This PR does support layernorm and rmsnorm sm_margin control through environment variables NVTE_FWD_LAYERNORM_SM_MARGIN and NVTE_BWD_LAYERNORM_SM_MARGIN

@zlsh80826
Copy link
Collaborator Author

/te-ci jax

@zlsh80826 zlsh80826 added the enhancement New feature or request label Nov 15, 2023
@zlsh80826
Copy link
Collaborator Author

/te-ci jax

@zlsh80826 zlsh80826 force-pushed the rewang/support-ln-sm-margin branch 2 times, most recently from be1c481 to 00dad5f Compare November 21, 2023 11:09
@zlsh80826
Copy link
Collaborator Author

/te-ci jax

@zlsh80826 zlsh80826 force-pushed the rewang/support-ln-sm-margin branch from 00dad5f to 286638a Compare November 27, 2023 10:05
@zlsh80826
Copy link
Collaborator Author

/te-ci jax

@zlsh80826
Copy link
Collaborator Author

Hi @ksivaman @timmoon10 @denera, all tests are passed. Could you help review the PR? Thanks!

Copy link
Collaborator

@denera denera left a comment

Choose a reason for hiding this comment

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

LGTM!

@denera denera merged commit 753eed3 into NVIDIA:main Nov 30, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants