Skip to content
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

Skip debug asserts for mixed dense, subclass views in autograd_not_implemented_fallback #128057

Closed
wants to merge 7 commits into from

Conversation

Copy link

pytorch-bot bot commented Jun 5, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/128057

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 30bf882 with merge base edb45dc (image):

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.

Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

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

I guess this fixes test in DEBUG=1. Sounds good!

torch/csrc/autograd/autograd_not_implemented_fallback.cpp Outdated Show resolved Hide resolved
…grad_not_implemented_fallback"


Fixes #125503

[ghstack-poisoned]
…grad_not_implemented_fallback"


Fixes #125503

[ghstack-poisoned]
…grad_not_implemented_fallback"


Fixes #125503

[ghstack-poisoned]
…grad_not_implemented_fallback"


Fixes #125503

[ghstack-poisoned]
…grad_not_implemented_fallback"


Fixes #125503

[ghstack-poisoned]
@jbschlosser
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jun 12, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: Check mergeability of ghstack PR / ghstack-mergeability-check

Details for Dev Infra team Raised by workflow job

…grad_not_implemented_fallback"


Fixes #125503

[ghstack-poisoned]
@jbschlosser
Copy link
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

TharinduRusira pushed a commit to TharinduRusira/pytorch that referenced this pull request Jun 14, 2024
ignaciobartol pushed a commit to ignaciobartol/pytorch that referenced this pull request Jun 14, 2024
pytorchmergebot pushed a commit that referenced this pull request Jun 17, 2024
Idea: close over min / max sequence length in the main NJT view func (`_nested_view_from_jagged`) so that view replay during fake-ification propagates these correctly in torch.compile.

For dynamic shapes support for min / max sequence length, this PR uses a hack that stores the values in `(val, 0)` shaped tensors.

**NB: This PR changes SDPA to operate on real views instead of using `buffer_from_jagged()` / `ViewNestedFromBuffer`, which may impact the internal FIRST model. That is, it undoes the partial revert from #123215 alongside a fix to the problem that required the partial revert. We need to verify that there are no regressions there before landing.**

Differential Revision: [D55448636](https://our.internmc.facebook.com/intern/diff/D55448636)

Pull Request resolved: #122836
Approved by: https://github.com/soulitzer
ghstack dependencies: #127007, #128057
pytorchmergebot pushed a commit that referenced this pull request Jun 18, 2024
Fixes broken ROCm tests from #122836.

Pull Request resolved: #128891
Approved by: https://github.com/huydhn
ghstack dependencies: #127007, #128057, #122836
@github-actions github-actions bot deleted the gh/jbschlosser/149/head branch July 14, 2024 02:03
francograndegmailcom pushed a commit to francograndegmailcom/pytorch-pytorch that referenced this pull request Jul 23, 2024
…plemented_fallback

ghstack-source-id: d3a6a41688bb4a7cb546b0bbdc68d546c92adb52
Pull Request resolved: pytorch/pytorch#128057
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants