pytorch - 💡(How to fix) Fix DISABLED test_batch_invariance_float16_num_splits_1_window_size0_backend_fa2_cuda_float16 (__main__.TestVarlenAttentionCUDA) [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#179968Fetched 2026-04-11 06:10:53
View on GitHub
Comments
1
Participants
2
Timeline
60
Reactions
0
Author
Timeline (top)
mentioned ×26subscribed ×26labeled ×7commented ×1

Root Cause

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 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @jerrymannil @xinyazhang @mruberry @chauhang @penguinwu @Chillee @drisspg @yanboliang @BoyuanFeng @liangel-02 @howardzhang-cv

extent analysis

TL;DR

  • The test test_batch_invariance_float16_num_splits_1_window_size0_backend_fa2_cuda_float16 in test_varlen_attention.py needs to be investigated and fixed to resolve the failure on the main branch.

Guidance

  • Review the recent failure examples on torch-ci.com to understand the nature of the test failure.
  • Investigate the TestVarlenAttentionCUDA class, specifically the test_batch_invariance_float16_num_splits_1_window_size0_backend_fa2_cuda_float16 test method, to identify potential issues.
  • Check the test's dependencies and environment, including the ROCm platform, to ensure they are correctly configured.
  • Consider re-enabling the test and running it locally to gather more information about the failure.

Notes

  • The issue seems to be specific to the ROCm platform and the test_varlen_attention.py test file.
  • Without more information about the test failure, it's difficult to provide a more specific solution.

Recommendation

  • Apply workaround: Investigate and fix the failing test to prevent it from causing issues on the main branch, as it is currently disabled due to failures.

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

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