Skip to content

Conversation

Njuapp
Copy link

@Njuapp Njuapp commented Jun 30, 2023

A FasterRMSNorm implementation (similar to FasterLayerNorm).

)
)

def _test_impl(S, B, hidden_size, itype, wtype, ctype=fp32):
Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand this test is based on the existing one for faster layer norm but could you access the following two items?

  1. make this function a member method of the test class below
  2. use torch.testing.assert_close instead of check_err and TestFastRMSNorm.assertAll

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