From 1f01e3711ff6e4db446e7f6dbf3d607d9f46b4e5 Mon Sep 17 00:00:00 2001 From: Chao Wang <26245345+ChaoWao@users.noreply.github.com> Date: Wed, 29 Jul 2026 03:24:31 -0700 Subject: [PATCH] Add: run deferred_notify_demo onboard on a2a3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #1568 left this demo sim-only because it failed in a full onboard sweep. That sweep carried no `--ignore` sets, so it included the SDMA demos that `ci.yml:600` quarantines out of the general sweep precisely because they are only correct in isolation — an invalid baseline, by the standard #1580 has since written into the testing skill. Re-tested against a CI-shaped sweep (`$SDMA_IGNORE $HEAVY_IGNORE`, mirroring `ci.yml:607`): the demo passes onboard a2a3 in three independent runs on three different device pairs — [7, 9], [3, 5], [9, 1] — at ~14 s each, alongside the rest of `examples/a2a3`. It also still passes under a2a3sim, and passed standalone at `max_diff=0.000e+00`. Nothing in the demo is sim-specific: it uses the same CommDomain / CommBufferSpec path as `async_notify_demo`, which has always run onboard, and differs only in also writing a peer mailbox in the comm window. The a5 copy stays sim-only — this box is a2a3 silicon, so widening it there would be an unverified claim. Co-Authored-By: Claude Opus 5 (1M context) --- .../deferred_notify_demo/test_deferred_notify_demo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/a2a3/tensormap_and_ringbuffer/deferred_notify_demo/test_deferred_notify_demo.py b/examples/a2a3/tensormap_and_ringbuffer/deferred_notify_demo/test_deferred_notify_demo.py index 8d24a890b..d8039ecc3 100644 --- a/examples/a2a3/tensormap_and_ringbuffer/deferred_notify_demo/test_deferred_notify_demo.py +++ b/examples/a2a3/tensormap_and_ringbuffer/deferred_notify_demo/test_deferred_notify_demo.py @@ -7,7 +7,7 @@ # INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. # See LICENSE in the root of the software repository for the full text of the License. # ----------------------------------------------------------------------------------------------------------- -"""L2 deferred completion + two-chip comm smoke test for a2a3sim.""" +"""L2 deferred completion + two-chip comm smoke test for a2a3, onboard and sim.""" from __future__ import annotations @@ -172,7 +172,7 @@ def orch_fn(orch, _args, cfg): worker.close() -@pytest.mark.platforms(["a2a3sim"]) +@pytest.mark.platforms(["a2a3", "a2a3sim"]) @pytest.mark.runtime("tensormap_and_ringbuffer") @pytest.mark.device_count(2) def test_deferred_notify_demo(st_device_ids, st_platform) -> None: