Skip to content

Conversation

@guangyey
Copy link
Collaborator

@guangyey guangyey commented Mar 7, 2024

Stack from ghstack (oldest at bottom):

Motivation

We would like to export XPUStream to public doc. The detailed documentation can help users understand and utilize XPU more effectively.

Additional Context

A detailed XPUStream API and usage should be documented to public doc, like cuda's doc.

cc @svekars @brycebortree @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 7, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 6be86ea with merge base 10bdf64 (image):
💚 Looks good so far! There are no failures yet. 💚

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

guangyey added a commit that referenced this pull request Mar 7, 2024
ghstack-source-id: 4439f75
Pull Request resolved: #121398
@guangyey guangyey requested a review from gujinghui March 7, 2024 09:09
@guangyey guangyey added the intel This tag is for PR from Intel label Mar 7, 2024
@guangyey guangyey requested review from EikanWang and jgong5 March 7, 2024 09:16
@guangyey guangyey added ciflow/xpu Run XPU CI tasks module: docs Related to our documentation, both in docs/ and docblocks labels Mar 7, 2024
@guangyey guangyey requested a review from albanD March 7, 2024 09:19
[ghstack-poisoned]
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.

That sounds fine. I would say that we have very very few users of our c++ API.
I don't see this on the rendered doc: https://docs-preview.pytorch.org/pytorch/pytorch/121398/cppdocs/search.html?q=xpustream&check_keywords=yes&area=default (you can find this link in the drci comment)

@guangyey
Copy link
Collaborator Author

guangyey commented Mar 8, 2024

That sounds fine. I would say that we have very very few users of our c++ API. I don't see this on the rendered doc: https://docs-preview.pytorch.org/pytorch/pytorch/121398/cppdocs/search.html?q=xpustream&check_keywords=yes&area=default (you can find this link in the drci comment)

I think XPUStream should render on Library API, as CUDAStream render on here. But I don't know why Library API doesn't rendered on docs-preview.

@gujinghui
Copy link
Collaborator

That sounds fine. I would say that we have very very few users of our c++ API. I don't see this on the rendered doc: https://docs-preview.pytorch.org/pytorch/pytorch/121398/cppdocs/search.html?q=xpustream&check_keywords=yes&area=default (you can find this link in the drci comment)

@albanD PyTorch has some C++ users, perhaps they are not very active in online community. :)

Copy link
Collaborator

@jgong5 jgong5 left a comment

Choose a reason for hiding this comment

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

some nits, otherwise LGTM.

guangyey added a commit that referenced this pull request Mar 8, 2024
ghstack-source-id: 5b412d8
Pull Request resolved: #121398
# Motivation
We would like to export XPUStream to public [doc](https://pytorch.org/cppdocs/api/library_root.html). The detailed documentation can help users understand and utilize XPU more effectively.

# Additional Context
A detailed XPUStream API and usage should be documented to public doc, like cuda's [doc](https://github.com/pytorch/pytorch/blob/main/docs/cpp/source/notes/tensor_cuda_stream.rst).


cc svekars brycebortree jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10

[ghstack-poisoned]
@albanD
Copy link
Collaborator

albanD commented Mar 8, 2024

cc @svekars do you know why the Library API does not render on the preview? How do we fix that?

@guangyey
Copy link
Collaborator Author

guangyey commented Mar 11, 2024

@svekars May I know could you please help review this RP?

@guangyey
Copy link
Collaborator Author

@svekars Could you help review this PR?

@guangyey
Copy link
Collaborator Author

Hi @svekars and @albanD , what can I do for this PR?

@guangyey
Copy link
Collaborator Author

@svekars it would be appreciated if you could help review this PR.

@guangyey guangyey requested a review from albanD March 21, 2024 01:26
@guangyey
Copy link
Collaborator Author

@svekars may I know if you have comments on this PR?

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.

Stamping to unblock. Will ping @svekars directly if she has other comments.

@guangyey
Copy link
Collaborator Author

Stamping to unblock. Will ping @svekars directly if she has other comments.

Thanks for your help!

@guangyey guangyey added the ciflow/trunk Trigger trunk jobs on your pull request label Mar 29, 2024
# Motivation
We would like to export XPUStream to public [doc](https://pytorch.org/cppdocs/api/library_root.html). The detailed documentation can help users understand and utilize XPU more effectively.

# Additional Context
A detailed XPUStream API and usage should be documented to public doc, like cuda's [doc](https://github.com/pytorch/pytorch/blob/main/docs/cpp/source/notes/tensor_cuda_stream.rst).


cc svekars brycebortree jgong5 mingfeima XiaobingSuper sanchitintel ashokei jingxu10

[ghstack-poisoned]
@guangyey
Copy link
Collaborator Author

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/guangyey/15/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/121398)

pytorchmergebot pushed a commit that referenced this pull request Mar 29, 2024
ghstack-source-id: 0c18ae8
Pull Request resolved: #121398
@guangyey guangyey added release notes: xpu release notes category topic: docs topic category labels Mar 30, 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

sanketpurandare pushed a commit to sanketpurandare/pytorch that referenced this pull request Apr 22, 2024
# Motivation
We would like to export XPUStream to public [doc](https://pytorch.org/cppdocs/api/library_root.html). The detailed documentation can help users understand and utilize XPU more effectively.

# Additional Context
A detailed XPUStream API and usage should be documented to public doc, like cuda's [doc](https://github.com/pytorch/pytorch/blob/main/docs/cpp/source/notes/tensor_cuda_stream.rst).

Pull Request resolved: pytorch#121398
Approved by: https://github.com/gujinghui, https://github.com/jgong5, https://github.com/EikanWang, https://github.com/albanD
@github-actions github-actions bot deleted the gh/guangyey/15/head branch April 29, 2024 01:53
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 ciflow/xpu Run XPU CI tasks intel This tag is for PR from Intel Merged module: docs Related to our documentation, both in docs/ and docblocks open source release notes: xpu release notes category topic: docs topic category

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

8 participants