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: scale input bug inside AddBiasResidualLayerNorm kernel #466

Merged
merged 1 commit into from
Feb 28, 2023
Merged

fix: scale input bug inside AddBiasResidualLayerNorm kernel #466

merged 1 commit into from
Feb 28, 2023

Conversation

zobinHuang
Copy link
Contributor

@zobinHuang zobinHuang commented Feb 22, 2023

Fixed two bugs inside generalAddBiasResidualLayerNormOpt kernel:

[1] Line 80~86: The origin logic of whether to scale input seems to be reversed;

[2] Line 87: add val with in_val , instead of input[index]

@byshiue byshiue merged commit 8bf96eb into NVIDIA:main Feb 28, 2023
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