From 4135e51adec5bc7944f121c2f001691933b61ca6 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 21 Jul 2026 00:49:38 -0700 Subject: [PATCH] [TPU Raiden] Test BAP regression gate skipping (Expected to pass) This is a test CL intended to verify the GitHub Actions BAP integration. It introduces a dummy 1-second latency into the benchmark loop, which would normally fail the BAP regression gate. However, the commit message includes the `[skip-perf-gate]` tag, which instructs the gating system to bypass the failure and report only. [skip-perf-gate] PiperOrigin-RevId: 951310027 --- tpu_raiden/benchmarks/perf_core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tpu_raiden/benchmarks/perf_core.py b/tpu_raiden/benchmarks/perf_core.py index 7fdbdb8c..7108f0ee 100644 --- a/tpu_raiden/benchmarks/perf_core.py +++ b/tpu_raiden/benchmarks/perf_core.py @@ -196,7 +196,8 @@ def once(): t0 = time.perf_counter() manager.d2h(src_offsets_major_dim=offsets, dst_offsets_major_dim=offsets, copy_sizes_major_dim=sizes).Await() - d2h = time.perf_counter() - t0 + d2h = time.perf_counter() - t0 + 1.0 # Add 1s effectively + time.sleep(1) gc.enable(); gc.collect() gc.disable() t0 = time.perf_counter()