From a045343624905f984bef93ba01c52a782e7dc0dc Mon Sep 17 00:00:00 2001 From: shoudi zheng <434782114@qq.com> Date: Sun, 6 Dec 2026 15:13:57 +0800 Subject: [PATCH] [TUI] fix hipBLASLt gfx1101 package expectation and Windows test_bench timeout --- terminal/tests/terminal/test_bench.py | 6 +++--- terminal/tests/terminal/test_hipblaslt_tuning.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/terminal/tests/terminal/test_bench.py b/terminal/tests/terminal/test_bench.py index 281456455b..612ee0726c 100644 --- a/terminal/tests/terminal/test_bench.py +++ b/terminal/tests/terminal/test_bench.py @@ -92,7 +92,7 @@ def test_phase_progress_is_private_and_recovers_from_saved_report(self): def held_phase(*args, **kwargs): if kwargs["kind"] == "mixed": reached.set() - if not release.wait(10): + if not release.wait(30): raise AssertionError("progress test did not release the mixed phase") return original(*args, **kwargs) @@ -100,14 +100,14 @@ def held_phase(*args, **kwargs): ThreadPoolExecutor(max_workers=1) as pool: future = pool.submit(bench.run, self.inference, self.telemetry, output, concurrency=2) try: - self.assertTrue(reached.wait(10)) + self.assertTrue(reached.wait(30)) active = bench.progress(output) self.assertEqual(active["state"], "running") self.assertEqual(active["completed_phases"], 2) self.assertEqual(active["current_phase"], "mixed") finally: release.set() - self.assertTrue(future.result(timeout=10)["successful"]) + self.assertTrue(future.result(timeout=30)["successful"]) saved = bench.progress(output / "results.json") self.assertEqual(saved["state"], "report_saved") self.assertEqual(saved["completed_phases"], 3) diff --git a/terminal/tests/terminal/test_hipblaslt_tuning.py b/terminal/tests/terminal/test_hipblaslt_tuning.py index 6a8c18bb08..f22b30cd9f 100644 --- a/terminal/tests/terminal/test_hipblaslt_tuning.py +++ b/terminal/tests/terminal/test_hipblaslt_tuning.py @@ -26,7 +26,7 @@ #: (platform, variant) -> (archs of the package, hipBLASLt version it bundles, architectures that must carry a table) PACKAGES = { ("windows-x86_64", "rx9070"): (("gfx1200", "gfx1201"), 100500, {"gfx1201"}), - ("windows-x86_64", "rdna3"): (("gfx1100", "gfx1101", "gfx1102", "gfx1151"), 100500, {"gfx1100", "gfx1151"}), + ("windows-x86_64", "rdna3"): (("gfx1100", "gfx1101", "gfx1102", "gfx1151"), 100500, {"gfx1100", "gfx1101", "gfx1151"}), ("linux-x86_64", "rx9070"): (("gfx1200", "gfx1201"), 100200, set()), # no table for 1.2.0 on RDNA4 (docs/AMD_HIP.md) ("linux-x86_64", "rx7900"): (("gfx1100", "gfx1101", "gfx1102"), 100200, {"gfx1100"}), ("linux-x86_64", "halo"): (("gfx1151",), 100401, {"gfx1151"}),