Skip to content

[BE] Fold cond into TORCH_CHECK(false,...)#165593

Closed
malfet wants to merge 2 commits intogh/malfet/560/basefrom
gh/malfet/560/head
Closed

[BE] Fold cond into TORCH_CHECK(false,...)#165593
malfet wants to merge 2 commits intogh/malfet/560/basefrom
gh/malfet/560/head

Conversation

@malfet
Copy link
Copy Markdown
Contributor

@malfet malfet commented Oct 15, 2025

Stack from ghstack (oldest at bottom):

Replace if (!foo) { TORCH_CHECK(false, "bar");} with TORCH_CHECK(foo,"bar");

[ghstack-poisoned]
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Oct 15, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 40 Pending

As of commit 409b7be with merge base 84d141e (image):
💚 Looks good so far! There are no failures yet. 💚

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

malfet added a commit that referenced this pull request Oct 15, 2025
Replace `if (!foo) { TORCH_CHECK(false, "bar");}` with `TORCH_CHECK(foo,"bar");`

ghstack-source-id: b02eff3
Pull Request resolved: #165593
@malfet malfet requested a review from Skylion007 October 15, 2025 23:44
@malfet malfet added the topic: not user facing topic category label Oct 15, 2025
[ghstack-poisoned]
malfet added a commit that referenced this pull request Oct 16, 2025
Replace `if (!foo) { TORCH_CHECK(false, "bar");}` with `TORCH_CHECK(foo,"bar");`

ghstack-source-id: c2a7f65
Pull Request resolved: #165593
Copy link
Copy Markdown
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.

Thx

@malfet
Copy link
Copy Markdown
Contributor Author

malfet commented Oct 16, 2025

@pytorchbot merge -f "It's a no-op and lint is green"

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
Replace `if (!foo) { TORCH_CHECK(false, "bar");}` with `TORCH_CHECK(foo,"bar");`
Pull Request resolved: pytorch#165593
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#165594
zhudada0120 pushed a commit to zhudada0120/pytorch that referenced this pull request Oct 22, 2025
Replace `if (!foo) { TORCH_CHECK(false, "bar");}` with `TORCH_CHECK(foo,"bar");`
Pull Request resolved: pytorch#165593
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#165594
@github-actions github-actions Bot deleted the gh/malfet/560/head branch November 16, 2025 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants