-
Notifications
You must be signed in to change notification settings - Fork 25.4k
layernorm and ne constraints + tests #80909
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
Conversation
[ghstack-poisoned]
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 14409e5 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
return [Disj([c1, Disj(c2)])], counter | ||
|
||
# return [BinConstraintT(input, output, op_eq), | ||
# BinConstraintT(input, normalized_shape, op_consistency)], counter |
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.
delete?
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
@pytorchbot merge -g |
@pytorchbot successfully started a merge job. Check the current status here |
Merge failed due to Command
Raised by https://github.com/pytorch/pytorch/actions/runs/2659862433 |
- The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` [ghstack-poisoned]
@pytorchbot merge -g |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @migeed-z. |
Summary: - The constraints for ne are the same as the ones for tensor addition - Constraints for layernorm ensure that the input has the form `(*, d1, ..., dn)` where `d1, ..., dn` are consistent with the normalized_dim of the form `d1', ..., dn'`. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form `(*, d1, ..., dn)` Pull Request resolved: #80909 Approved by: https://github.com/jamesr66a Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/27db2750ba3fd524e0a03013bbc1aa6f44165224 Reviewed By: DanilBaibak Differential Revision: D37847284 Pulled By: migeed-z fbshipit-source-id: b1d0bf933e272bd879140517ce3dddbeab0dd137
Stack from ghstack (oldest at bottom):
(*, d1, ..., dn)
whered1, ..., dn
are consistent with the normalized_dim of the formd1', ..., dn'
. Since we are using gradual types, they do not have to be equal. The final result is then equal to the input and of the form(*, d1, ..., dn)