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

Fix topk IMA #93095

Closed
wants to merge 1 commit into from
Closed

Fix topk IMA #93095

wants to merge 1 commit into from

Conversation

zasdfgbnm
Copy link
Collaborator

@zasdfgbnm zasdfgbnm commented Jan 26, 2023

Hopefully, this will fix #93006. I can not reproduce that issue: I can catch the IMA with compute sanitizer on nightly build, but not on source build of master. So there is no way for me to validate if my fix is correct or not. Edit: Thanks for the help of @ptrblck, this fix is validated.

But by reading the code, I believe this is a similar issue as #83042, so I apply the same fix for mbtopk::gatherTopK. We can wait until tomorrow's nightly build to see if #93006 disappear.

@pytorch-bot pytorch-bot bot added the release notes: cuda release notes category label Jan 26, 2023
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 26, 2023

🔗 Helpful Links

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

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit f4fc986:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@zasdfgbnm zasdfgbnm requested a review from ngimel January 26, 2023 21:51
@zasdfgbnm
Copy link
Collaborator Author

@pytorchbot merge -g

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 26, 2023
@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

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 open source release notes: cuda release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PT2.0 CUDA topk illegal memory access
4 participants