Skip to content

Conversation

guangyey
Copy link
Collaborator

@guangyey guangyey commented Sep 11, 2025

Stack from ghstack (oldest at bottom):

Motivation

Aligned with other backends, this PR introduces an new API torch.xpu.can_device_access_peer, which is used in vllm distributed scenarios

Copy link

pytorch-bot bot commented Sep 11, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 01f80e0 with merge base 8e217a9 (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 Sep 11, 2025
ghstack-source-id: 11665a7
Pull Request resolved: #162705
@guangyey guangyey changed the title Add a new API torch.cuda.can_device_access_peer Add a new API torch.xpu.can_device_access_peer for Intel GPU Sep 11, 2025
@guangyey guangyey added release notes: xpu release notes category ciflow/xpu Run XPU CI tasks labels Sep 11, 2025
guangyey added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: 0d84dae
Pull Request resolved: #162705
guangyey added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: bec688d
Pull Request resolved: #162705
guangyey added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: d1eb11a
Pull Request resolved: #162705
guangyey added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: bd2f260
Pull Request resolved: #162705
guangyey added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: 46af7ab
Pull Request resolved: #162705
guangyey added a commit that referenced this pull request Sep 11, 2025
ghstack-source-id: f517c2b
Pull Request resolved: #162705
@guangyey guangyey requested a review from albanD September 11, 2025 08:12
@guangyey guangyey requested a review from ezyang September 11, 2025 08:12
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@ezyang
Copy link
Contributor

ezyang commented Sep 12, 2025

ci is failin

@guangyey
Copy link
Collaborator Author

@pytorchbot rebase

@guangyey
Copy link
Collaborator Author

Rebase to the latest viable/strict branch to re-trigger CI.

@pytorchmergebot
Copy link
Collaborator

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

[ghstack-poisoned]
pytorchmergebot pushed a commit that referenced this pull request Sep 12, 2025
ghstack-source-id: 0a869e7
Pull Request resolved: #162705
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/guangyey/209/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/162705)

guangyey added a commit that referenced this pull request Sep 15, 2025
ghstack-source-id: c954b70
Pull Request resolved: #162705
[ghstack-poisoned]
@guangyey
Copy link
Collaborator Author

@ezyang CI passed. May I know if you have any other comments.

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

sure why not

@ezyang
Copy link
Contributor

ezyang commented Sep 16, 2025

@pytorchbot merge

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

@guangyey
Copy link
Collaborator Author

sure why not

Thanks very much~

@guangyey guangyey moved this to Approved in PyTorch Intel Sep 16, 2025
@github-project-automation github-project-automation bot moved this from Approved to Done in PyTorch Intel Sep 16, 2025
markc-614 pushed a commit to markc-614/pytorch that referenced this pull request Sep 17, 2025
…#162705)

# Motivation
Aligned with other backends, this PR introduces an new API `torch.xpu.can_device_access_peer`, which is used in vllm distributed [scenarios](https://github.com/vllm-project/vllm/blob/2048c4e37909a42847cd2f51c7e0cf92e3b63466/vllm/distributed/device_communicators/custom_all_reduce.py#L37)

Pull Request resolved: pytorch#162705
Approved by: https://github.com/EikanWang, https://github.com/ezyang
mansiag05 pushed a commit to mansiag05/pytorch that referenced this pull request Sep 22, 2025
…#162705)

# Motivation
Aligned with other backends, this PR introduces an new API `torch.xpu.can_device_access_peer`, which is used in vllm distributed [scenarios](https://github.com/vllm-project/vllm/blob/2048c4e37909a42847cd2f51c7e0cf92e3b63466/vllm/distributed/device_communicators/custom_all_reduce.py#L37)

Pull Request resolved: pytorch#162705
Approved by: https://github.com/EikanWang, https://github.com/ezyang
cleonard530 pushed a commit to cleonard530/pytorch that referenced this pull request Sep 22, 2025
…#162705)

# Motivation
Aligned with other backends, this PR introduces an new API `torch.xpu.can_device_access_peer`, which is used in vllm distributed [scenarios](https://github.com/vllm-project/vllm/blob/2048c4e37909a42847cd2f51c7e0cf92e3b63466/vllm/distributed/device_communicators/custom_all_reduce.py#L37)

Pull Request resolved: pytorch#162705
Approved by: https://github.com/EikanWang, https://github.com/ezyang
dsashidh pushed a commit to dsashidh/pytorch that referenced this pull request Sep 26, 2025
…#162705)

# Motivation
Aligned with other backends, this PR introduces an new API `torch.xpu.can_device_access_peer`, which is used in vllm distributed [scenarios](https://github.com/vllm-project/vllm/blob/2048c4e37909a42847cd2f51c7e0cf92e3b63466/vllm/distributed/device_communicators/custom_all_reduce.py#L37)

Pull Request resolved: pytorch#162705
Approved by: https://github.com/EikanWang, https://github.com/ezyang
@github-actions github-actions bot deleted the gh/guangyey/209/head branch October 17, 2025 02:10
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 Merged open source release notes: xpu release notes category

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants