Generalize support of background thread in pinned allocator#160505
Generalize support of background thread in pinned allocator#160505guangyey wants to merge 3 commits intogh/guangyey/184/basefrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/160505
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 Unrelated FailureAs of commit f9c1040 with merge base 199e9ab ( NEW FAILURE - The following job has failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 2 checks: pull / linux-jammy-py3.13-clang12 / test (default, 2, 5, linux.4xlarge), xpu / linux-jammy-xpu-2025.1-py3.9 / test (default, 5, 6, linux.idc.xpu) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
# Motivation #135524 only introduces the support of background thread for CUDA, this PR intends to support it for other backend such as XPU as well. Pull Request resolved: #160505 Approved by: https://github.com/albanD
# Motivation #135524 only introduces the support of background thread for CUDA, this PR intends to support it for other backend such as XPU as well. Pull Request resolved: #160505 Approved by: https://github.com/albanD
…160505) # Motivation pytorch#135524 only introduces the support of background thread for CUDA, this PR intends to support it for other backend such as XPU as well. Pull Request resolved: pytorch#160505 Approved by: https://github.com/albanD
# Motivation #160505 enables background threads for XPU host allocator. However, it will hang on Windows during program exit. Now disable it until we narrow down the issue. Pull Request resolved: #161242 Approved by: https://github.com/EikanWang
…160505) # Motivation pytorch#135524 only introduces the support of background thread for CUDA, this PR intends to support it for other backend such as XPU as well. Pull Request resolved: pytorch#160505 Approved by: https://github.com/albanD
# Motivation pytorch#160505 enables background threads for XPU host allocator. However, it will hang on Windows during program exit. Now disable it until we narrow down the issue. Pull Request resolved: pytorch#161242 Approved by: https://github.com/EikanWang
Stack from ghstack (oldest at bottom):
Motivation
#135524 only introduces the support of background thread for CUDA, this PR intends to support it for other backend such as XPU as well.