Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] expose torch.Tensor.xpu API to doc #126383

Closed
wants to merge 1 commit into from

Conversation

guangyey
Copy link
Collaborator

@guangyey guangyey commented May 16, 2024

Stack from ghstack (oldest at bottom):

Motivation

The doc string related torch.Tensor.xpu has been added here but not expose it to public doc, like torch.Tensor.cuda. This PR intends to expose the document of torch.Tensor.xpu to public doc.

Copy link

pytorch-bot bot commented May 16, 2024

🔗 Helpful Links

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

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 63bfb17 with merge base cdcba4d (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.

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label May 16, 2024
guangyey added a commit that referenced this pull request May 16, 2024
ghstack-source-id: 6ff58c9954f14cedbe4c82bb55d30af1be46e41e
Pull Request resolved: #126383
@guangyey guangyey changed the title expose torch.Tensor.xpu API to doc [doc] expose torch.Tensor.xpu API to doc May 16, 2024
@guangyey guangyey added topic: docs topic category release notes: xpu release notes category ciflow/trunk Trigger trunk jobs on your pull request and removed topic: not user facing topic category labels May 16, 2024
@guangyey
Copy link
Collaborator 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

ZelboK pushed a commit to ZelboK/pytorch that referenced this pull request May 19, 2024
# Motivation
The doc string related `torch.Tensor.xpu` has been added [here](https://github.com/pytorch/pytorch/blob/d61a81a9e76688ac8f338a6cfba932bf7779e5ce/torch/_tensor_docs.py#L1434) but not expose it to public doc, like [torch.Tensor.cuda](https://pytorch.org/docs/stable/generated/torch.Tensor.cuda.html#torch.Tensor.cuda). This PR intends to expose the document of `torch.Tensor.xpu` to public doc.

Pull Request resolved: pytorch#126383
Approved by: https://github.com/albanD
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 open source release notes: xpu release notes category topic: docs topic category
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants