Skip to content

[pytorch] address violations of warning unreachable-code-return (v2) (#179518) - #179518

Closed
ingridwang wants to merge 1 commit into
pytorch:mainfrom
ingridwang:export-D95726764
Closed

ingridwang wants to merge 1 commit into
pytorch:mainfrom
ingridwang:export-D95726764

Conversation

@ingridwang

@ingridwang ingridwang commented Apr 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: #177897

Test Plan: CI.

Reviewed By: malfet

Differential Revision: D95726764

cc @mcarilli @ptrblck @leslie-fang-intel @jgong5 @EikanWang

@pytorch-bot

pytorch-bot Bot commented Apr 6, 2026

Copy link
Copy Markdown

This appears to be a diff that was exported from phabricator, but the PR author does not have sufficient permissions to run CI. @ingridwang, please do step 2 of internal wiki to get write access so you do not need to get CI approvals in the future. If you think this is a mistake, please contact the Pytorch Dev Infra team.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Apr 6, 2026 •

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: ingridwang / name: Ingrid Wang (6889a22)

@pytorch-bot

pytorch-bot Bot commented Apr 6, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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 6889a22 with merge base 905c07f (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-codesync

meta-codesync Bot commented Apr 6, 2026

Copy link
Copy Markdown

@ingridwang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95726764.

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 7, 2026
@meta-codesync meta-codesync Bot changed the title [pytorch] address violations of warning unreachable-code-return (v2) [pytorch] address violations of warning unreachable-code-return (v2) (#179518) Apr 7, 2026
@pytorch-bot pytorch-bot Bot removed the ciflow/trunk Trigger trunk jobs on your pull request label Apr 7, 2026
ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 7, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 7, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 7, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 7, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
@ingridwang
ingridwang force-pushed the export-D95726764 branch 2 times, most recently from 7f8b3eb to 31ed935 Compare April 13, 2026 18:51
ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 13, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
Comment on lines +40 to +41
TORCH_INTERNAL_ASSERT(
false, "unsupported expr_type: ", static_cast<int>(expr_type));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why this change is necessary?

@malfet

malfet commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

/easycla

ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 13, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 13, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Differential Revision: D95726764
@malfet

malfet commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 13, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: This PR has internal changes and must be landed via Phabricator! Please try reimporting/rexporting the PR!

Details for Dev Infra team Raised by workflow job

ingridwang added a commit to ingridwang/pytorch that referenced this pull request Apr 13, 2026
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Reviewed By: malfet

Differential Revision: D95726764
…ytorch#179518)

Summary:
Pull Request resolved: pytorch#179518

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: pytorch#177897

Test Plan: CI.

Reviewed By: malfet

Differential Revision: D95726764
@facebook-github-tools

Copy link
Copy Markdown

@pytorchbot merge -i

(Initiating merge automatically since Phabricator Diff has merged, merging with -i because oss signals were bypassed internally)

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 0 checks:

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

BoyuanFeng pushed a commit that referenced this pull request Apr 15, 2026
…179518) (#179518)

Summary:

TSIA. New PR to take over the changes while yfeldblum is on leave.

Old PR: #177897

Test Plan: CI.

Reviewed By: malfet

Differential Revision: D95726764

Pull Request resolved: #179518
Approved by: https://github.com/Skylion007, https://github.com/malfet
pytorchmergebot pushed a commit to scotts/pytorch that referenced this pull request Apr 15, 2026
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
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.

4 participants