Repository navigation
Fix main ROCm CI: ProbeTest skip order, flaky SDPA pick test, drop torchcodec from voxtral - #25393
Conversation
…hcodec - ProbeTest.setUp imported executorch.export (and so pandas, which the minimal ROCm install lacks) before the base class skip without Triton on CUDA, so it errored on ROCm instead of skipping. Call super().setUp() first. - Deselect SdpaCellStepAutotuneTest::test_compiled_pick_is_fastest_at_live_extents on ROCm: without CUDA-graph autotune timing the compiled pick is sometimes 1.66x off the graph-timed best on MI350. - The voxtral ROCm job's unpinned conda ffmpeg now resolves to FFmpeg 9, which torchcodec 0.11 can't load, and before that hung the conda solve until the 180-minute timeout. Nothing in the job needs either: decode the dataset's WAV bytes with soundfile and drop torchcodec and ffmpeg.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25393
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 48 Pending, 1 Unrelated FailureAs of commit 6549cb2 with merge base e9ddcda ( 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. |
|
@claude review effort=max |
This PR needs a
|
|
Claude finished @Gasoonjia's task in 16m 20s —— View job PR Review: #25393Requesting one change: the SDPA deselect in Detailed reviewSummaryThe PR fixes the two ROCm gfx950 jobs that fail on
The deselect is the one problem to fix before merge. There are also two small points about the voxtral job's dependencies. Testing
Infrastructure
Code Quality
RecommendationRequest Changes. The blocking change is small: the SDPA deselect needs a tracking issue, and its comment should describe what was observed rather than an unproven cause. That's a two-line edit. The other two points are optional.
|
The deselect comment now states what was observed and links the tracking issue instead of an unconfirmed cause. Nothing in the voxtral ROCm job imports librosa.
|
Addressed in the latest push:
CI on 8c03ae8: |
|
@claude review effort=max |
|
Claude finished @Gasoonjia's task in 17m 30s —— View job PR Review: #25393Approve: nothing blocking is left. The one minor item is the PR description, which becomes the commit message on merge and was written before Detailed reviewSummaryThe PR does three things:
The only problem found is that the PR description is out of date. Code Quality
RecommendationApprove. The description update is optional and doesn't block the merge.
|
Fix the two ROCm gfx950 jobs that fail on every
mainrun.unittest-rocm-gfx950:ModuleNotFoundError: No module named 'pandas'Every failing
mainrun from6b82a162e7toe7f6aefd09has exactly one failure:test_measured_routing.py::ProbeTest::test_real_measurements. The last green run wasfe24cf5777.Why it errors instead of skipping.
ProbeTest.setUp(added by [executorch][cuda] Choose among a call's implementations by measuring them on the export GPU #25277) importsexecutorch.export.utilsbefore it callssuper().setUp().executorch.devtoolsand thendevtools/inspector/_inspector.py, which runsimport pandas.test-rocm-aoti.shinstalls the minimal wheel (EXECUTORCH_BUILD_MINIMAL=1), which doesn't include pandas._PassTest.setUpalready skips without Triton on CUDA. That's why the other 162 tests in the file skip on ROCm, butProbeTestimports before it reaches that skip.Fix. Call
super().setUp()first, soProbeTestskips on ROCm like the rest of the file.unittest-rocm-gfx950: flakySdpaCellStepAutotuneTest::test_compiled_pick_is_fastest_at_live_extentsThe test asserts that the config the autotuner picked at compile time is within 1.10× of the fastest config, timed with CUDA-graph replays. It failed in 2 of the last 13
mainruns (c346379f06,cd12c4d02d), both the same way:BLOCK_M=16, BLOCK_N=64, PACK_GQA=Falseat about 119 µs.PACK_GQA=Trueat about 71.7 µs, a 1.66× regret.Cause: not confirmed. It may be a real ROCm mis-pick: the compile-time scenarios run on ROCm too, so a default ROCm export of this SDPA can compile in the slower config. #25397 tracks two hypotheses: no CUDA-graph autotune timing on ROCm, and the compile-time scenarios timing an all-visible mask where this test times a sparse cell mask.
Fix. Deselect this one test on ROCm, next to the
test_cuda_graph_timing.pyexclusion. The comment cites #25397, which tracks re-enabling it.test-voxtral-realtime-rocm-gfx950:Could not load libtorchcodectest-rocm-voxtral.shrunsconda install -c conda-forge ffmpegwithout a version.mainpublishedffmpeg-9.0.2(2026-11-20 09:42Z), that resolves to FFmpeg 9.torchcodec==0.11.0only loads FFmpeg 4–8. The log shows it tryinglibavutil.so.56–.so.60and finding none.rocm.ymlhas changed since Oct 30.Fix: drop torchcodec and FFmpeg here.
run_rocm_e2e.shreads the clip withwave, and nothing underexamples/models/voxtral_realtimeimports torchcodec,datasetsorlibrosa.librosagoes too: nothing in the job imports it.Audio(decode=False)and decodes withsoundfile.ffmpeg<9would leave the hang.Test plan
datasets==5.2.0(CI's version),soundfile, and no torchcodec. It wrote a 16 kHz, mono, 16-bit, 30.0 s WAV, the formatrun_rocm_e2e.sh'swavecheck expects.ProbeTest.setUp: confirmed withastthat its first statement is nowsuper().setUp(), and that_PassTest.setUpskips ontorch.version.hip.black24.4.2 andflake8are clean, andbash -npasses on both scripts.CI on 6549cb2:
unittest-rocm-gfx950-rocm7.2719 passed, 163 skipped, 1 deselected, 0 failed, withProbeTest::test_real_measurementsSKIPPED.test-voxtral-realtime-rocm-gfx950-rocm7.2passed on MI350.