mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #5119] [Engine] split: the all-cards engine builds and runs on sm_70 (V100), opt-in #5313
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#5313
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/5119
Author: @buserror
Created: 11/3/2026
Status: 🔄 Open
Base:
main← Head:pr/split-sm70📝 Commits (1)
80384ac[Engine] split: the all-cards engine builds and runs on sm_70 (V100), opt-in📊 Changes
5 files changed (+186 additions, -24 deletions)
View changed files
📝
docs/SPLIT_ENGINE.md(+15 -5)➕
docs/SPLIT_ENGINE_V100.md(+84 -0)📝
src/split/CMakeLists.txt(+4 -3)📝
strata_control/split_engine.py(+40 -16)📝
tests/split/test_split_engine.py(+43 -0)📄 Description
Problem and result
The all-cards split engine is auto-selected only on sm_86/sm_120 and requires all experts in VRAM. A 2x V100-PCIE-32GB pair (sm_70) carries 71.7 GiB of routed experts in 64 GiB, so Auto correctly keeps the layer split. The engine itself is not sm_80-only: it has an
FNX_ARCH < 80path (mma.sync.aligned.m8n8k4) and a host expert cache. With this change--split-engine onstarts it on an sm_70 pair, using the arena's host cache for the overflow.Result on 2x V100-PCIE-32GB, 393216 context, 26 GiB host cache: 247K intake 1872-1892 tok/s against 987-996 for the layer split (about 1.9x, roughly double the intake); generation at 247K 70-82 tok/s against 49-66 (about 20-40% higher, depending on the seed); warm repeat 1.45-1.49 s against 4.75-4.82; short warm 132-133 tok/s against 63-85. Auto stays on the layer split.
Related discussion
None yet. This is a new opt-in path and would benefit from a maintainer scope decision. The V100 measurements and the build/host-cache recipe are in
docs/SPLIT_ENGINE_V100.md.Approach
m/stdc++on the split targets (CUDA 12.9 + gcc-12 chose gcc as the linker; sm_70 stopped onexp/std::runtime_error).BUILT_ARCHS, keepTESTED/Auto unchanged. An explicit--split-engine onaccepts an sm_70 pair and records the architecture and a longer context as untested.FNX_EXPERT_RAM_GIBfrom the VRAM overflow andsplit_configkeepsFNX_ARENA=1instead of forcing all experts into VRAM. The base config's--rope-scaleis passed through (393216 needs 1.5). Auto still refuses the same setup.docs/SPLIT_ENGINE.mdpoints at the V100 opt-in;docs/SPLIT_ENGINE_V100.mdhas the build, the host-cache range and the tile check.split_configwrites arena/rope, and Auto leaves the config alone.Validation
Passed:
6ffae2d4), 2x V100-PCIE-32GB, CUDA 12.9, gcc-12:ninja -C build-split strata-split-2 split_moe_tile_test.python3 -m pytest tests/split tests/terminal/test_split_engine_flag.py tests/terminal/test_split_parallel.py -q: 92 passed, 5 subtests passed.FNX_ARENA=1; 247K intake 1872-1892 tok/s, warm repeat 1.45-1.49 s (247210 tokens reused), short warm 132-133 tok/s. The direct engine read the same prompt at 2305 tok/s. The rule andsplit_configare identical between the end-to-end test commit and this one; the later edits are the module docstring, the two docs and the tests.max|d|1e-4).Failed:
Not run:
LimitMEMLOCK=infinity, Windows/macOS, and a shared GPU.Limits
LimitMEMLOCK=infinity(the engine locks the 29.5 GB embedding table) or a privileged container.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.