Skip to content

Refine XPU allocator message when OOM#165509

Closed
guangyey wants to merge 4 commits intogh/guangyey/223/basefrom
gh/guangyey/223/head
Closed

Refine XPU allocator message when OOM#165509
guangyey wants to merge 4 commits intogh/guangyey/223/basefrom
gh/guangyey/223/head

Conversation

@guangyey
Copy link
Collaborator

@guangyey guangyey commented Oct 15, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 15, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9e2da34 with merge base 839f6fa (image):
💚 Looks good so far! There are no failures yet. 💚

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

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@guangyey
Copy link
Collaborator Author

@pytorchbot merge

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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@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

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
# Motivation
Provide more information and align with other backends to enhance the user experience.

Pull Request resolved: pytorch#165509
Approved by: https://github.com/EikanWang
ghstack dependencies: pytorch#165508
pytorchmergebot pushed a commit that referenced this pull request Oct 29, 2025
# Motivation
Aligned with other backends, this PR introduces a new API `torch.xpu.set_per_process_memory_fraction` to allow user to customize the allowed memory per a single process.

Pull Request resolved: #165510
Approved by: https://github.com/EikanWang, https://github.com/ezyang
ghstack dependencies: #165508, #165509
pytorchmergebot pushed a commit that referenced this pull request Oct 30, 2025
# Motivation
Aligned with other backends, this PR introduces a new API torch.xpu.get_per_process_memory_fraction to allow user to retrieve the allowed memory fraction per a single process.

Pull Request resolved: #165511
Approved by: https://github.com/EikanWang, https://github.com/ezyang
ghstack dependencies: #165508, #165509, #165510
BoyuanFeng pushed a commit that referenced this pull request Oct 31, 2025
# Motivation
Aligned with other backends, this PR introduces a new API torch.xpu.get_per_process_memory_fraction to allow user to retrieve the allowed memory fraction per a single process.

Pull Request resolved: #165511
Approved by: https://github.com/EikanWang, https://github.com/ezyang
ghstack dependencies: #165508, #165509, #165510
etaf pushed a commit to etaf/pytorch-inductor-xpu that referenced this pull request Nov 4, 2025
…h#165511)

# Motivation
Aligned with other backends, this PR introduces a new API torch.xpu.get_per_process_memory_fraction to allow user to retrieve the allowed memory fraction per a single process.

Pull Request resolved: pytorch#165511
Approved by: https://github.com/EikanWang, https://github.com/ezyang
ghstack dependencies: pytorch#165508, pytorch#165509, pytorch#165510
@github-actions github-actions bot deleted the gh/guangyey/223/head branch November 16, 2025 02:21
Khanaksahu pushed a commit to Khanaksahu/pytorch-fork that referenced this pull request Nov 17, 2025
ghstack-source-id: 941653e
Pull Request resolved: pytorch/pytorch#165509
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 topic: not user facing topic category

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants