Skip to content

[BE] Add missing device to test_constant_pad_nd_preserves_memory_format - #195300

Closed
Isalia20 wants to merge 2 commits into
pytorch:mainfrom
Isalia20:add-missing-device-mps
Closed

Isalia20 wants to merge 2 commits into
pytorch:mainfrom
Isalia20:add-missing-device-mps

Conversation

@Isalia20

Copy link
Copy Markdown
Collaborator

test_mps.py is for testing MPS, device="mps" was left out from test when initializing tensor, meaning we were testing CPU op in reality

@Isalia20
Isalia20 requested a review from malfet as a code owner August 29, 2026 20:33
@pytorch-bot pytorch-bot Bot added ciflow/mps Run MPS tests (subset of trunk) topic: not user facing topic category labels Aug 29, 2026
@pytorch-bot

pytorch-bot Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

⏳ No Failures, 43 Pending

As of commit 035abce with merge base ea3ba8f (image):
💚 Looks good so far! There are no failures yet. 💚

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

@Isalia20 Isalia20 added the better-engineering Relatively self-contained tasks for better engineering contributors label Aug 29, 2026
@Isalia20
Isalia20 requested a review from Skylion007 August 29, 2026 20:37
@Skylion007

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

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

Copy link
Copy Markdown
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

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / macos-py3-arm64 / test (mps, 1, 1, macos-m2-15)

Details for Dev Infra team Raised by workflow job

@Isalia20

Copy link
Copy Markdown
Collaborator Author

oh wow, it doesn't preserve format 😞 I guess this PR won't be enough

@Isalia20

Isalia20 commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -f "Lint and all MPS are 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

Sanskaaar1 pushed a commit to Sanskaaar1/pytorch that referenced this pull request Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

better-engineering Relatively self-contained tasks for better engineering contributors ciflow/mps Run MPS tests (subset of trunk) ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants