Skip to content

Commit 4135e51

Browse files
Googlercopybara-github
authored andcommitted
[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
1 parent 79f908c commit 4135e51

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tpu_raiden/benchmarks/perf_core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ def once():
196196
t0 = time.perf_counter()
197197
manager.d2h(src_offsets_major_dim=offsets, dst_offsets_major_dim=offsets,
198198
copy_sizes_major_dim=sizes).Await()
199-
d2h = time.perf_counter() - t0
199+
d2h = time.perf_counter() - t0 + 1.0 # Add 1s effectively
200+
time.sleep(1)
200201
gc.enable(); gc.collect()
201202
gc.disable()
202203
t0 = time.perf_counter()

0 commit comments

Comments
 (0)