[PR #2468] [CLOSED] fix(sycl): permit Level Zero IPC in expert-parallel containers #4056

Closed
opened 2026-11-07 15:32:52 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2468
Author: @hotschmoe
Created: 10/14/2026
Status: ❌ Closed

Base: main ← Head: fix-sycl-docker-ep-ipc


📝 Commits (1)

  • f85b6c3 fix(sycl): permit Level Zero IPC in expert-parallel containers

📊 Changes

2 files changed (+16 additions, -2 deletions)

View changed files

📝 docs/INTEL.md (+8 -0)
📝 sycl/serve/strata-sycl.sh (+8 -2)

📄 Description

Expert parallelism in #1798/#2205 fails during Level Zero IPC handle import in a container using Docker's default seccomp profile. Both cards report peer access available, but cross-card and self-import return ZE_RESULT_ERROR_INVALID_ARGUMENT (0x78000004).

Add --cap-add SYS_PTRACE only when --expert-parallel-device is present. This permits the relevant syscalls under Docker's existing capability-dependent seccomp rules. The default profile remains enabled, and ordinary layer-split launches receive no extra capability. Document the option for custom launchers. This is a launcher prerequisite for the open EP PRs, with no engine feature copied into this branch.

Validation on two Intel Arc Pro B70s, kernel 7.1, Compute Runtime 26.22.38646.4, Level Zero 1.28.2, oneAPI 2026.1:

  • Default container: all eight imports fail (cross-card and self, cold and warm allocations, both directions).
  • SYS_PTRACE only, default seccomp retained: all eight imports succeed.
  • Seccomp-unconfined only: all eight imports succeed; this broader option is not used in the patch.
  • Full EP model with the capability: all 24,576 experts resident, 768 generated diagnostic tokens, zero peer-row mismatches; deterministic concurrent arithmetic, reasoning, and a tool round trip pass.
  • Normal teardown, per-card health, and ten compiled two-rank all-reduces pass.
  • bash -n and mocked Docker argv checks pass for layer-split and EP paths, including a model path containing spaces.

The exact blocked syscall was not traced. Local launcher measurements use the same conditional capability; the upstream wrapper's argument construction was checked with a mock Docker executable.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/2468 **Author:** [@hotschmoe](https://github.com/hotschmoe) **Created:** 10/14/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-sycl-docker-ep-ipc` --- ### 📝 Commits (1) - [`f85b6c3`](https://github.com/Niko1221/Strata/commit/f85b6c3f191ab093310e4ae09b3faca428e70f44) fix(sycl): permit Level Zero IPC in expert-parallel containers ### 📊 Changes **2 files changed** (+16 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/INTEL.md` (+8 -0) 📝 `sycl/serve/strata-sycl.sh` (+8 -2) </details> ### 📄 Description Expert parallelism in #1798/#2205 fails during Level Zero IPC handle import in a container using Docker's default seccomp profile. Both cards report peer access available, but cross-card and self-import return `ZE_RESULT_ERROR_INVALID_ARGUMENT` (`0x78000004`). Add `--cap-add SYS_PTRACE` only when `--expert-parallel-device` is present. This permits the relevant syscalls under Docker's existing capability-dependent seccomp rules. The default profile remains enabled, and ordinary layer-split launches receive no extra capability. Document the option for custom launchers. This is a launcher prerequisite for the open EP PRs, with no engine feature copied into this branch. Validation on two Intel Arc Pro B70s, kernel 7.1, Compute Runtime 26.22.38646.4, Level Zero 1.28.2, oneAPI 2026.1: - Default container: all eight imports fail (cross-card and self, cold and warm allocations, both directions). - SYS_PTRACE only, default seccomp retained: all eight imports succeed. - Seccomp-unconfined only: all eight imports succeed; this broader option is not used in the patch. - Full EP model with the capability: all 24,576 experts resident, 768 generated diagnostic tokens, zero peer-row mismatches; deterministic concurrent arithmetic, reasoning, and a tool round trip pass. - Normal teardown, per-card health, and ten compiled two-rank all-reduces pass. - `bash -n` and mocked Docker argv checks pass for layer-split and EP paths, including a model path containing spaces. The exact blocked syscall was not traced. Local launcher measurements use the same conditional capability; the upstream wrapper's argument construction was checked with a mock Docker executable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:32:52 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4056
No description provided.