-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fix layer norm in static runtime when input is non-contiguous #124789
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🧪 See artifacts and rendered test results at hud.pytorch.org/pr/124789
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 45af315 with merge base c82fcb7 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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.
sweet, thanks (to you and @swolchok)!
note: I was wondering whether it's worth putting this behind a JK. I feel like probably not:
- we can't train with static runtime, so there shouldn't be any models trained with this bad behavior
- it seems basically impossible that you'd have a model that's (a) trained on the correct behavior (b) now serving with incorrect static runtime behavior, and (c) would start behaving more badly once we fix the static runtime behavior.
@houseroad Do you think this is a risky change to the existing models? |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…h#124789) Test: The added unit test fails before this fix. But it passes now after the fix. The fix is coming from @swolchok in D56087067. Pull Request resolved: pytorch#124789 Approved by: https://github.com/davidberard98
…h#124789) Test: The added unit test fails before this fix. But it passes now after the fix. The fix is coming from @swolchok in D56087067. Pull Request resolved: pytorch#124789 Approved by: https://github.com/davidberard98
Stack from ghstack (oldest at bottom):
Test: The added unit test fails before this fix. But it passes now after the fix.
The fix is coming from @swolchok in D56087067.