Repository navigation
[TUI] fix hipBLASLt gfx1101 package expectation and Windows test_bench timeout - #504
Open
NightRain233 wants to merge 1 commit into
Open
NightRain233 wants to merge 1 commit into
NightRain233 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and result
Two unrelated failures in
terminal/tests/terminal/currently breakLinux / Python tests/andWindows / Python tests/CI checks onmain(7cef952):test_hipblaslt_tuning.py): Commitdd319e0([Engine] hipBLASLt tuning table for gfx1101 (RX 7800 XT)) addedterminal/tools/hip/gfx1101-hipblaslt-100500.txt, soht.stage_tables()now correctly stagesgfx1101into the("windows-x86_64", "rdna3")(100500) package. BecausePACKAGES[("windows-x86_64", "rdna3")]interminal/tests/terminal/test_hipblaslt_tuning.pywas not updated,PackageContents::test_every_release_package_carries_the_tables_its_cards_havefails on every CI run with:AssertionError: Items in the first set but not the second: 'gfx1101' : ('windows-x86_64', 'rdna3').test_bench.py): Under 4-workerpytest-xdiston GitHubwindows-2022runners (observed on 3 of 7 recent runs: [Engine] qwen4/metal: fuse decode kernels, QSA score MMA, and overhaul Gated Residual #475, [Engine] metal: high-bandwidth short4/TG-LUT decode GEMV for Q5_K/Q6_K/Q4_K/IQ2/IQ3 #498, [Engine] metal: port opt-in BasinKV sparse KV offload (--basinkv) #500),warmup(1 request) +serial(2 requests) + telemetry polling + Win32 ACL progress writes occasionally exceed 10 seconds before enteringmixed, causingBenchTests::test_phase_progress_is_private_and_recovers_from_saved_reportto fail onself.assertTrue(reached.wait(10))even though captured stdout shows all 5 mock requests completing immediately afterfinally: release.set().This PR updates
PACKAGES[("windows-x86_64", "rdna3")]to include"gfx1101"and raises the three10s waits intest_phase_progress_is_private_and_recovers_from_saved_report(release.wait,reached.wait,future.result) to30s, matchingtest_process_death_releases_exact_run_lease(30s) frome59a61e.Related discussion
Follow-up to
dd319e0(gfx1101 hipBLASLt table) ande59a61e(Windowstest_benchCI timing flakes); observed across PRs #473, #474, #475, #498, #499, #500, and #501.Approach
terminal/tests/terminal/test_hipblaslt_tuning.py({"gfx1100", "gfx1151"}->{"gfx1100", "gfx1101", "gfx1151"}). Verifiedtest_the_missing_report_names_the_architectures_without_a_tablestill validates100200(wheregfx1101has no table) and no other packaging tests hold stale expectations.10->30seconds onrelease.wait,reached.wait, andfuture.resultintest_phase_progress_is_private_and_recovers_from_saved_reportwhile keeping all privacy, state-transition, and redaction assertions unchanged (and adding zero wall-clock latency to passing runs).terminal/tests/terminal/; zero engine or production code changes.Validation
origin/main7cef952):PYTHONPATH=terminal python3 -m unittest terminal/tests/terminal/test_hipblaslt_tuning.py -v-> failed 1/33 ontest_every_release_package_carries_the_tables_its_cards_havewith'gfx1101' : ('windows-x86_64', 'rdna3').PYTHONPATH=terminal python3 -m unittest terminal/tests/terminal/test_hipblaslt_tuning.py terminal/tests/terminal/test_bench.py -v-> 58/58 passed (21.007s).test_phase_progress_is_private_and_recovers_from_saved_report-> 5/5 passed (0.59seach).python3 tools/check --only docs-> passed (6/6).pytest-xdistrun was not run locally on macOS; verified via GitHub ActionsLinux / Python tests/andWindows / Python tests/on this PR.Limits
test_hipblaslt_tuning.pyandtest_bench.py::test_phase_progress_is_private_and_recovers_from_saved_report).