pytorch - 💡(How to fix) Fix DISABLED test_throw_on_cudamalloc_oom (__main__.TestCudaAllocator) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#180161Fetched 2026-04-12 13:23:29
View on GitHub
Comments
1
Participants
2
Timeline
48
Reactions
0
Timeline (top)
mentioned ×21subscribed ×21labeled ×5commented ×1

Root Cause

Platforms: rocm This test was disabled because it is failing on main branch (recent examples).

RAW_BUFFERClick to expand / collapse

Platforms: rocm This test was disabled because it is failing on main branch (recent examples).

cc @jeffdaily @sunway513 @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang @mruberry

extent analysis

TL;DR

The test test_throw_on_cudamalloc_oom in test_cuda_expandable_segments.py is failing on the main branch and needs to be investigated and fixed.

Guidance

  • Review the recent failure examples on torch-ci.com to understand the failure pattern and potential causes.
  • Investigate the test_throw_on_cudamalloc_oom test case to identify the root cause of the failure, potentially related to CUDA memory allocation.
  • Check the test environment and configuration to ensure it matches the expected setup for the test.
  • Consider re-enabling the test and running it locally to reproduce and debug the issue.

Notes

The issue lacks specific technical details, and without more information, it's challenging to provide a precise fix or workaround.

Recommendation

Apply workaround: Temporarily disable the failing test until the root cause is identified and fixed, to prevent blocking the main branch.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING