[GH-ISSUE #5298] [Engine] Add opt-in layer-stage RPC across Linux CUDA hosts #3161

Open
opened 2026-11-07 14:38:34 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @petria on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5298

Area

[Engine]

What do you want to do?

Problem

Strata can split model layers across GPUs in one host, and --split-serve can hand a session from a prefill engine to a decode engine. Neither lets two separate Linux CUDA hosts each hold part of one model when the complete model does not fit on either host. This is different from #4000: that proposal runs a complete model on each side and hands off session state; this would divide the model's layers across the hosts.

Proposed behavior

Add an opt-in stage worker/coordinator mode. The worker owns a configured prefix of layers; the coordinator owns the remaining layers and the normal API-facing request flow. The stages exchange the intermediate rows needed for prefill and decode, while the coordinator remains the single OpenAI/Anthropic-compatible endpoint. Local inference and existing same-host multi-GPU behavior remain the default and do not start network listeners.

Initial scope could be Linux + CUDA with an explicit layer boundary and matching model/build identity. TCP would provide an authenticated transport. Native RoCE/RDMA could be an optional transport for trusted links; its payloads are not encrypted, so that constraint must be clear to operators. The design would fail a request on stage/session errors rather than silently replaying GPU mutations on another path.

Limits for an initial version: a fixed contiguous layer partition, no tensor parallelism, and no automatic placement or recovery. Performance and supported topologies would need measured evidence before making broader claims.

Maintainer scope question

Is opt-in cross-host layer-stage execution a feature you would consider for Strata? If so, would you prefer TCP stage RPC as the initial contribution, with RDMA proposed separately, or is the combined transport scope acceptable? Are there architecture or security constraints to settle before a focused PR?

I have an experimental two-host prototype running on an RTX 3090 worker and RTX 5090 coordinator. It has passed inference checks in that setup, but I have not validated the full upstream backend/build matrix or established general performance claims. I can prepare a focused diff and the exact validation evidence if this direction fits the project.

Originally created by @petria on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5298 ### Area [Engine] ### What do you want to do? **Problem** Strata can split model layers across GPUs in one host, and `--split-serve` can hand a session from a prefill engine to a decode engine. Neither lets two separate Linux CUDA hosts each hold part of one model when the complete model does not fit on either host. This is different from [#4000](https://github.com/Niko1221/Strata/issues/4000): that proposal runs a complete model on each side and hands off session state; this would divide the model's layers across the hosts. **Proposed behavior** Add an opt-in stage worker/coordinator mode. The worker owns a configured prefix of layers; the coordinator owns the remaining layers and the normal API-facing request flow. The stages exchange the intermediate rows needed for prefill and decode, while the coordinator remains the single OpenAI/Anthropic-compatible endpoint. Local inference and existing same-host multi-GPU behavior remain the default and do not start network listeners. Initial scope could be Linux + CUDA with an explicit layer boundary and matching model/build identity. TCP would provide an authenticated transport. Native RoCE/RDMA could be an optional transport for trusted links; its payloads are not encrypted, so that constraint must be clear to operators. The design would fail a request on stage/session errors rather than silently replaying GPU mutations on another path. Limits for an initial version: a fixed contiguous layer partition, no tensor parallelism, and no automatic placement or recovery. Performance and supported topologies would need measured evidence before making broader claims. **Maintainer scope question** Is opt-in cross-host layer-stage execution a feature you would consider for Strata? If so, would you prefer TCP stage RPC as the initial contribution, with RDMA proposed separately, or is the combined transport scope acceptable? Are there architecture or security constraints to settle before a focused PR? I have an experimental two-host prototype running on an RTX 3090 worker and RTX 5090 coordinator. It has passed inference checks in that setup, but I have not validated the full upstream backend/build matrix or established general performance claims. I can prepare a focused diff and the exact validation evidence if this direction fits the project.
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#3161
No description provided.