Skip to content

skip cuda operations when running qwen 3.5 moe on other backend#19095

Merged
Gasoonjia merged 1 commit intomainfrom
moe-metal-fix
Apr 24, 2026
Merged

skip cuda operations when running qwen 3.5 moe on other backend#19095
Gasoonjia merged 1 commit intomainfrom
moe-metal-fix

Conversation

@Gasoonjia
Copy link
Copy Markdown
Contributor

This PR makes GPU related operator cuda-backend specific, to bring metal qwen 3.5 moe ci back

@Gasoonjia Gasoonjia requested a review from lucylq as a code owner April 23, 2026 21:14
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Apr 23, 2026

🔗 Helpful Links

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

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:

❌ 2 New Failures, 4 Cancelled Jobs, 1 Unrelated Failure

As of commit d118b2b with merge base c48ea12 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 23, 2026
@github-actions
Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Copy link
Copy Markdown
Contributor

@JacobSzwejbka JacobSzwejbka left a comment

Choose a reason for hiding this comment

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

ifdefs ok for now can we find a better way to do this

@Gasoonjia Gasoonjia merged commit b6cec38 into main Apr 24, 2026
304 of 317 checks passed
@Gasoonjia Gasoonjia deleted the moe-metal-fix branch April 24, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/cuda ciflow/metal CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants