Skip to content

Introduce a new API torch.xpu.set_per_process_memory_fraction#165510

Closed
guangyey wants to merge 10 commits intogh/guangyey/224/basefrom
gh/guangyey/224/head
Closed

Introduce a new API torch.xpu.set_per_process_memory_fraction#165510
guangyey wants to merge 10 commits intogh/guangyey/224/basefrom
gh/guangyey/224/head

Conversation

@guangyey
Copy link
Collaborator

@guangyey guangyey commented Oct 15, 2025

Stack from ghstack (oldest at bottom):

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.

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 15, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit d97ccf1 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]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@guangyey guangyey added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 16, 2025
@guangyey
Copy link
Collaborator Author

@ezyang @albanD May I know if you have any concerns about this stack of PRs.

@ezyang
Copy link
Contributor

ezyang commented Oct 29, 2025

@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 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
Khanaksahu pushed a commit to Khanaksahu/pytorch-fork that referenced this pull request Nov 17, 2025
@github-actions github-actions bot deleted the gh/guangyey/224/head branch November 29, 2025 02:15
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.

5 participants