Skip to content

Conversation

cyyever
Copy link
Collaborator

@cyyever cyyever commented Oct 7, 2025

This PR fixes returning values in void C++ functions.

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @jerryzh168

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 7, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 2362276 with merge base 49f7d8d (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 module: cpu CPU specific problem (e.g., perf, algorithm) release notes: sparse release notes category labels Oct 7, 2025
@cyyever cyyever force-pushed the fix_return branch 2 times, most recently from 734549f to 95644a0 Compare October 7, 2025 02:57
Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
@cyyever cyyever requested a review from Skylion007 October 7, 2025 08:03
@eqy eqy added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 7, 2025
Copy link
Contributor

@janeyx99 janeyx99 left a comment

Choose a reason for hiding this comment

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

ok

@janeyx99 janeyx99 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Oct 7, 2025
@cyyever
Copy link
Collaborator Author

cyyever commented Oct 7, 2025

@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

@cyyever cyyever deleted the fix_return branch October 8, 2025 01:10
@cyyever cyyever changed the title Don't return values in void functions [1/N] Don't return values in void functions Oct 13, 2025
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
This PR fixes returning values in void C++ functions.

Pull Request resolved: pytorch#164809
Approved by: https://github.com/janeyx99
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 module: cpu CPU specific problem (e.g., perf, algorithm) open source release notes: sparse release notes category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants