Skip to content

Introduce a new API torch.xpu.get_per_process_memory_fraction#165511

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

Introduce a new API torch.xpu.get_per_process_memory_fraction#165511
guangyey wants to merge 13 commits intogh/guangyey/225/basefrom
gh/guangyey/225/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.get_per_process_memory_fraction to allow user to retrieve the allowed memory fraction 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/165511

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

✅ No Failures

As of commit 0491905 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.

guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
@guangyey guangyey added topic: not user facing topic category ciflow/xpu Run XPU CI tasks labels Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
guangyey added a commit that referenced this pull request Oct 15, 2025
@guangyey guangyey requested review from albanD and ezyang October 15, 2025 10:35
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
guangyey added a commit that referenced this pull request Oct 15, 2025
[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 May I know if any comments on this PR.

@ezyang
Copy link
Contributor

ezyang commented Oct 30, 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

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/225/head branch November 30, 2025 02:19
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