Skip to content

[xpu][feature] Add XPU support on torch.accelerator.get_memory_info#162564

Closed
guangyey wants to merge 13 commits intogh/guangyey/208/basefrom
gh/guangyey/208/head
Closed

[xpu][feature] Add XPU support on torch.accelerator.get_memory_info#162564
guangyey wants to merge 13 commits intogh/guangyey/208/basefrom
gh/guangyey/208/head

Conversation

@guangyey
Copy link
Collaborator

@guangyey guangyey commented Sep 10, 2025

Stack from ghstack (oldest at bottom):

Motivation

Support XPU for torch.accelerator.get_memory_info.

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 10, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 6 Unrelated Failures

As of commit a17b039 with merge base 1311385 (image):

NEW FAILURE - The following job has failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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

guangyey added a commit that referenced this pull request Sep 10, 2025
ghstack-source-id: fe6eed7
Pull Request resolved: #162564
guangyey added a commit that referenced this pull request Sep 10, 2025
ghstack-source-id: 119f32f
Pull Request resolved: #162564
@guangyey guangyey added release notes: xpu release notes category ciflow/xpu Run XPU CI tasks ciflow/trunk Trigger trunk jobs on your pull request labels Sep 10, 2025
@guangyey guangyey changed the title Add XPU support on torch.accelerator.get_mem_info Add XPU support on torch.accelerator.get_memory_info Sep 10, 2025
@guangyey guangyey requested a review from albanD September 10, 2025 09:44
[ghstack-poisoned]
[ghstack-poisoned]
@EikanWang
Copy link
Collaborator

@guangyey , pls. check the ci failures.

@guangyey
Copy link
Collaborator Author

Sure!

guangyey added a commit that referenced this pull request Sep 15, 2025
ghstack-source-id: 4c6d3cf
Pull Request resolved: #162564
[ghstack-poisoned]
guangyey added a commit that referenced this pull request Oct 21, 2025
ghstack-source-id: e52ea44
Pull Request resolved: #162564
guangyey added a commit that referenced this pull request Oct 21, 2025
ghstack-source-id: af1e08f
Pull Request resolved: #162564
guangyey added a commit that referenced this pull request Oct 21, 2025
ghstack-source-id: ef2193a
Pull Request resolved: #162564
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@etaf etaf changed the title Add XPU support on torch.accelerator.get_memory_info [xpu][feature] Add XPU support on torch.accelerator.get_memory_info Oct 28, 2025
@guangyey
Copy link
Collaborator Author

@albanD May I know if any comments on this PR

guangyey added a commit that referenced this pull request Oct 31, 2025
ghstack-source-id: 9226a2d
Pull Request resolved: #162564
guangyey added a commit that referenced this pull request Oct 31, 2025
ghstack-source-id: 81f66e5
Pull Request resolved: #162564
[ghstack-poisoned]
[ghstack-poisoned]
@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

@pytorchmergebot
Copy link
Collaborator

@guangyey your PR has been reverted as part of the stack under #156812.

pytorchmergebot added a commit that referenced this pull request Nov 12, 2025
…y_info (#162564)"

This reverts commit 3cfbf98.

Reverted #162564 on behalf of https://github.com/jeanschmidt due to seems to be breaking 1000s of internal build rules, see D86638790 ([comment](#156812 (comment)))
@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Nov 12, 2025
guangyey added a commit that referenced this pull request Nov 13, 2025
ghstack-source-id: ece661d
Pull Request resolved: #162564
guangyey added a commit that referenced this pull request Nov 13, 2025
ghstack-source-id: dbcdb85
Pull Request resolved: #162564
guangyey added a commit that referenced this pull request Nov 13, 2025
ghstack-source-id: 5d236c0
Pull Request resolved: #162564
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@guangyey
Copy link
Collaborator Author

@pytorchbot merge -i

Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
…ytorch#162564)

# Motivation
Support XPU for `torch.accelerator.get_memory_info`.

Pull Request resolved: pytorch#162564
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#156812
Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
…y_info (pytorch#162564)"

This reverts commit 3cfbf98.

Reverted pytorch#162564 on behalf of https://github.com/jeanschmidt due to seems to be breaking 1000s of internal build rules, see D86638790 ([comment](pytorch#156812 (comment)))
Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
…ytorch#162564)

# Motivation
Support XPU for `torch.accelerator.get_memory_info`.

Pull Request resolved: pytorch#162564
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#156812
@github-actions github-actions bot deleted the gh/guangyey/208/head branch December 14, 2025 02:21
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 ciflow/xpu Run XPU CI tasks Merged open source release notes: xpu release notes category Reverted

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants