mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5298] [Engine] Add opt-in layer-stage RPC across Linux CUDA hosts #3161
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3161
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-servecan 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.