mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4364] [Engine] Native NVLink peer-to-peer support for 4x Tesla V100 by accounting for Oculink bridge boards #1931
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#1931
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 @klimov88 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4364
Strata Version
Strata 0.2.6 (build 0.1.51) | Python 3.12.15
Context / Background
I am running a multi-GPU setup featuring 4x NVIDIA Tesla V100 16GB (Volta, sm_70) cards. The hardware infrastructure uses a custom 4-GPU topology expansion/bridge board based on the PLX PEX 8748 PCIe Gen3 switch.
The entire cluster connects to the host machine via a single Oculink x4 link (currently upgrading to SlimSAS 8i x8). The GPUs themselves are physically interconnected via hardware NVLink bridges, which are fully recognized by the driver topology (nvidia-smi topo -m shows clean NVLink connections between peers).
The Problem
When running Strata with the symmetric multi-GPU flag (--gpu 0,1,2,3), the DECODE phase performs exceptionally well (hitting ~103 tok/s), utilizing the inter-GPU NVLink mesh. However, the PREFILL phase completely bottlenecks, dropping down to 65–110 tok/s on larger contexts.
According to the documentation:
"A layer split over two V100... adds expert-cache room, not prompt speed. The cards work in turn on a single request."
Because the engine processes the prompt sequentially (cards working in turn), intermediate activations are constantly forced back to the host across the bottlenecked Oculink PCIe x4 link.
Furthermore, attempts to bypass this by setting multiple main cards or forcing multi-sequence request batches (--parallel 4 with explicit roles) result in immediate initialization crashes:
ggml_cuda_init: failed to initialize CUDA: no CUDA-capable device is detected or INVALIDARGUMENT. This happens because the synchronous Unified Memory (UVM) page migrations time out when pushing large 512k contexts through the narrow host-to-device pipe simultaneously.
Solution / Inspiration Found in the Wild
An independent developer (eelgaev) has created a fork specifically addressing these limitations for V100/NVLink architectures: eelgaev/Strata-AC922.
In their implementation, they achieved groundbreaking prefill speeds (1,967 – 7,357 tok/s on 4x V100) by implementing:
Feature Request
Could we please port or adapt these native NVLink optimization mechanisms into the main upstream Strata engine? Specifically:
• Asymmetric/Symmetric Hybrid Prefill: Allow the engine to leverage hardware P2P NVLink paths for prompt compilation so that multi-GPU clusters behind narrow host links (like Oculink/SlimSAS bridge boards) do not stall.
• UVM/CUDA Initialization Safeguards: Graceful handling of high-context allocation on older sm_70 nodes when multiple parallel workloads are initialized, preventing driver timeout crashes.
This would drastically improve the accessibility of running large context lengths (like Qwen 512k) on affordable, legacy enterprise hardware configurations that rely on custom PCIe multiplexing boards.
@github-actions[bot] commented on GitHub (Oct 27, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
strata --version).Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@klimov88 commented on GitHub (Oct 27, 2026):
/reopen
@github-actions[bot] commented on GitHub (Oct 27, 2026):
Reopened, thank you. A maintainer will pick it up from here.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.