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 the coredump described by #106702 #108002

Closed
wants to merge 1 commit into from

Conversation

FFFrog
Copy link
Collaborator

@FFFrog FFFrog commented Aug 26, 2023

Fixes #106702 and add some tests

As shown by maxUnpool1d(MaxUnpool2d, MaxUnpool3d also), Input and Output support (N,C,*) or (C,*), but the c++ api currently supports the former, and the latter will cause a coredump.

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 26, 2023

🔗 Helpful Links

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

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

⏳ No Failures, 2 Pending

As of commit 6ed997d with merge base c2ac0da (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the release notes: cpp release notes category label Aug 26, 2023
@FFFrog
Copy link
Collaborator Author

FFFrog commented Aug 26, 2023

Hi @albanD, please take a look at this pr, thank you.

@FFFrog
Copy link
Collaborator Author

FFFrog commented Aug 29, 2023

Hi @albanD, please have a look at this, thank you :D

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.

Looks good! Thanks for the update

@albanD
Copy link
Collaborator

albanD commented Aug 29, 2023

@pytorchbot merge

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

@FFFrog FFFrog deleted the mrl_fix_unpool_output_size branch August 30, 2023 08:05
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: cpp release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++ API torch::nn:functional::_unpool_output_size: Segfault by unknown memory access.
4 participants