Skip to content

Conversation

@zou3519
Copy link
Contributor

@zou3519 zou3519 commented Jul 8, 2024

Stack from ghstack (oldest at bottom):

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:

  • new tests

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 8, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 99a25c6 with merge base 9c1ba5a (image):
💚 Looks good so far! There are no failures yet. 💚

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

@zou3519 zou3519 requested review from albanD and bdhirsh July 8, 2024 19:08
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
@zou3519 zou3519 requested a review from soulitzer July 8, 2024 21:23
@zou3519 zou3519 added the release notes: composability release notes category label Jul 8, 2024
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.

Sounds good!
Only small nits on the doc

@zou3519 zou3519 added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 8, 2024
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
@albanD
Copy link
Collaborator

albanD commented Jul 8, 2024

Ho we also remove positional? lol good to know!

@zou3519
Copy link
Contributor Author

zou3519 commented Jul 8, 2024

Ho we also remove positional? lol good to know!

Yes, I'm not a big fan lol

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
zou3519 added a commit that referenced this pull request Jul 9, 2024
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

ghstack-source-id: e4a9378
Pull Request resolved: #130261
@zou3519
Copy link
Contributor Author

zou3519 commented Jul 9, 2024

@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

@izaitsevfb
Copy link
Contributor

@pytorchbot revert -m "depends on #130064 which needs to be reverted" -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
Copy link
Collaborator

Reverting PR 130261 failed

Reason: Command git -C /home/runner/work/pytorch/pytorch revert --no-edit bb9a73f767526e0d23c60360db5212b6bed0e8bc returned non-zero exit code 1

Auto-merging docs/source/library.rst
CONFLICT (content): Merge conflict in docs/source/library.rst
Auto-merging test/test_custom_ops.py
Auto-merging torch/library.py
error: could not revert bb9a73f767... [custom_ops] expose torch.library.register_torch_dispatch (#130261)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git revert --continue".
hint: You can instead skip this commit with "git revert --skip".
hint: To abort and get back to the state before "git revert",
hint: run "git revert --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Details for Dev Infra team Raised by workflow job

@izaitsevfb
Copy link
Contributor

@pytorchbot revert -m "depends on #130064 which needs to be reverted" -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
Copy link
Collaborator

@zou3519 your PR has been successfully reverted.

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
@zou3519
Copy link
Contributor Author

zou3519 commented Jul 11, 2024

@pytorchbot merge -f "unrelated failure"

@pytorchmergebot
Copy link
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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: Command git -C /home/runner/work/pytorch/pytorch cherry-pick -x 9ac3d7f24c6d99762408e43526711495af0fd47b returned non-zero exit code 1

Auto-merging docs/source/library.rst
CONFLICT (content): Merge conflict in docs/source/library.rst
Auto-merging test/test_custom_ops.py
Auto-merging torch/_library/custom_ops.py
Auto-merging torch/library.py
error: could not apply 9ac3d7f24c... [custom_ops] expose torch.library.register_torch_dispatch (#130261)
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Details for Dev Infra team Raised by workflow job

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests

[ghstack-poisoned]
@zou3519
Copy link
Contributor Author

zou3519 commented Jul 12, 2024

@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

francograndegmailcom pushed a commit to francograndegmailcom/pytorch-pytorch that referenced this pull request Jul 23, 2024
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests
Pull Request resolved: pytorch/pytorch#130261
Approved by: https://github.com/albanD
ghstack dependencies: #130064
ghstack-source-id: 0b9c65a
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Jul 25, 2024
…0261)

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests
Pull Request resolved: pytorch#130261
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#130064
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Jul 25, 2024
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Jul 25, 2024
…0261)

This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.

Test Plan:
- new tests
Pull Request resolved: pytorch#130261
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#130064
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: composability release notes category Reverted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants