-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 the typo of FusedRMSNorm doc #1869
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix
@@ -745,8 +745,7 @@ class FusedLayerNorm(torch.nn.Module): | |||
normalize over the last dimension which is expected to be of that specific size. | |||
eps: a value added to the denominator for numerical stability. Default: 1e-5 | |||
elementwise_affine: a boolean value that when set to ``True``, this module | |||
has learnable per-element affine parameters initialized to ones (for weights) | |||
and zeros (for biases). Default: ``True``. | |||
has learnable per-element affine parameters initialized to ones for weights. Default: ``True``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has learnable per-element affine parameters initialized to ones for weights. Default: ``True``. | |
has learnable per-element affine parameters initialized to ones for weights. Default: :obj:`True`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submitted a newer version:
- use :obj: as recommended
- fix the previous pr's issue(mistakenly modified FusedLayerNorm rather than FusedRMSNorm )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
Fix the typo of FusedRMSNorm doc in normalization/fused_layer_norm.py