-
Notifications
You must be signed in to change notification settings - Fork 157
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
[DRAFT][compiler] Support RmsNorm Op and Fuse #13967
Conversation
For #13964 |
Great work! Overall codes looks OK. Reviewers will take a deeper reading with each PRs. Let's begin posting PRs :)
would be nice. |
@@ -623,6 +624,7 @@ union BuiltinOptions { | |||
BCQGatherOptions = 252, | |||
BCQFullyConnectedOptions = 253, | |||
InstanceNormOptions = 254, | |||
RmsNormOptions = 255, |
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.
Please use 250
, instead of 255
.
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.
Okay, I'll update it.
ref) RightShiftOptions = 126, so we have 100+ rooms.
compiler/one-cmds/onelib/constant.py
Outdated
@@ -48,6 +48,7 @@ class CONSTANT: | |||
'fuse_instnorm', | |||
'fuse_prelu', | |||
'fuse_gelu', | |||
'fuse_rmsnorm', |
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.
Could you exclude this option in O1? Our backend compiler is not ready for this change.
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.
Oh, I couldn't think of that.
I'll update it :)
- Reverted 0.8 - Added RmsNorm to 0.9 - BuiltinOption number changed in nnpackage circle schema.
Done |
To support LLM,
ONE-DCO-1.0-Signed-off-by: seockho.kim [email protected]