Fix cross-SIP PE_TCM access by scoping deploy to target_device SIP

RuntimeContext._ensure_allocators() now limits SIP range to
target_device (single SIP or all). Prevents cross-SIP tensor
deployment that caused PE_TCM routing errors.
Also accept 'sip0' format (without colon) in DeviceSelector.

331 passed, 8 skipped

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 18:03:11 -07:00
parent 624161f52f
commit 08256c1326
5 changed files with 19 additions and 11 deletions
+2 -2
View File
@@ -18,5 +18,5 @@ def test_cli_main_arg_parsing(monkeypatch):
def test_cli_main():
"""CLI bench run on single SIP device."""
import pytest
pytest.skip("Cross-SIP PE_TCM access not supported with router mesh topology")
rc = cli_main.main(["run", "--topology", "topology.yaml", "--bench", "qkv_gemm", "--device", "sip:0"])
assert rc == 0