Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions terminal/tests/terminal/test_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,22 @@ 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)

with mock.patch.object(bench, "_phase", side_effect=held_phase), \
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)
Expand Down
2 changes: 1 addition & 1 deletion terminal/tests/terminal/test_hipblaslt_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}),
Expand Down