Skip to content

Conversation

mikaylagawarecki
Copy link
Contributor

@mikaylagawarecki mikaylagawarecki commented Apr 30, 2025

Fixes #148977

Stack from ghstack (oldest at bottom):

Differential Revision: D76458023

Copy link

pytorch-bot bot commented Apr 30, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit dc2530a with merge base 3040ca6 (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

mikaylagawarecki added a commit that referenced this pull request Apr 30, 2025
…e __torch_dispatch__

ghstack-source-id: 3259d7b
Pull Request resolved: #152539
@mikaylagawarecki mikaylagawarecki added the release notes: nn release notes category label Apr 30, 2025
…hat override __torch_dispatch__"

Fixes #148977




[ghstack-poisoned]
mikaylagawarecki added a commit that referenced this pull request Apr 30, 2025
…e __torch_dispatch__

ghstack-source-id: 169b711
Pull Request resolved: #152539
@mikaylagawarecki mikaylagawarecki marked this pull request as ready for review April 30, 2025 21:24
Copy link
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.

SGTM !

…hat override __torch_dispatch__"

Fixes #148977




[ghstack-poisoned]
mikaylagawarecki added a commit that referenced this pull request Apr 30, 2025
…e __torch_dispatch__

ghstack-source-id: 6eedb0b
Pull Request resolved: #152539
@mikaylagawarecki
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 1, 2025
@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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: linux-aarch64 / linux-jammy-aarch64-py3.10 / test (default, 1, 3, lf.ephemeral.linux.arm64.m7g.4xlarge)

Details for Dev Infra team Raised by workflow job

@mikaylagawarecki
Copy link
Contributor Author

@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

@wdvr
Copy link
Contributor

wdvr commented May 2, 2025

@pytorchmergebot revert -m "failing internal tests - discussed with author" -c ghfirst

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

pytorchmergebot added a commit that referenced this pull request May 2, 2025
… override __torch_dispatch__ (#152539)"

This reverts commit 0373436.

Reverted #152539 on behalf of https://github.com/wdvr due to failing internal tests - discussed with author ([comment](#152539 (comment)))
@pytorchmergebot
Copy link
Collaborator

@mikaylagawarecki your PR has been successfully reverted.

@pytorchmergebot pytorchmergebot added the ci-no-td Do not run TD on this PR label May 2, 2025
…hat override __torch_dispatch__"

Fixes #148977




[ghstack-poisoned]
mikaylagawarecki added a commit that referenced this pull request Jun 11, 2025
…e __torch_dispatch__

ghstack-source-id: f0c27ad
Pull Request resolved: #152539
@mikaylagawarecki
Copy link
Contributor Author

@mikaylagawarecki has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

…hat override __torch_dispatch__"

Fixes #148977


Differential Revision: [D76458023](https://our.internmc.facebook.com/intern/diff/D76458023)

[ghstack-poisoned]
mikaylagawarecki added a commit that referenced this pull request Jun 12, 2025
…e __torch_dispatch__

ghstack-source-id: 393c4f5
Pull Request resolved: #152539
@mikaylagawarecki mikaylagawarecki changed the title Use swap_tensors path in nn.Module.to for all subclasses that override __torch_dispatch__ Use swap_tensors path in nn.Module.to for FakeTensor Jun 12, 2025
@mikaylagawarecki
Copy link
Contributor Author

@mikaylagawarecki has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

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

PT change looks good!

@mikaylagawarecki
Copy link
Contributor Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-no-td Do not run TD on this PR ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: nn release notes category Reverted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants