mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #527] [CLOSED] Experimental P100: pinned RAM complement for fixed layer-split CPU/GPU inference #2677
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#2677
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/527
Author: @Karenax
Created: 10/2/2026
Status: ❌ Closed
Base:
main← Head:community/p100-resident-hybrid-q4📝 Commits (1)
5c284bfEnable experimental P100 resident layer-split hybrid inference📊 Changes
25 files changed (+1382 additions, -13 deletions)
View changed files
📝
CMakeLists.txt(+6 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/README.md(+199 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/config.example.json(+61 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/native-parity.txt(+18 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/protocol.json(+13 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/run.py(+87 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/runs.json(+322 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/startup-validation.json(+50 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/summary.json(+149 -0)➕
bench/results/2026-10-02-p100-resident-hybrid/validation.txt(+14 -0)📝
include/strata/core/verify.hpp(+1 -1)📝
include/strata/prefill/gemm.hpp(+5 -0)📝
include/strata/prefill/kernels.hpp(+2 -0)📝
src/core/expert_source.cpp(+60 -1)📝
src/core/native_dense.cpp(+5 -2)📝
src/core/verify.cpp(+8 -4)📝
src/kernels/ngram.cpp(+31 -1)📝
src/prefill/gemm.cu(+40 -0)📝
src/prefill/kernels.cu(+4 -1)📝
src/prefill/prefill.cpp(+4 -0)...and 5 more files
📄 Description
The resident expert mode currently rejects layer splits, and GP100 cannot use the BF16 cuBLAS prompt product.
This opt-in experiment shares a strictly pinned RAM complement across fixed GPU caches, permits CPU computation
of cache misses, and converts BF16 prompt operands to FP16 on sm_60 with FP32 accumulation.
On a Windows Threadripper PRO 3955WX / 128 GiB DDR4-3200 / two PCIe 3.0 x16 P100 16 GiB workstation,
paired UD-Q4_K_XL short prompts improved from 8.72/10.95 to 28.70/35.16 decode tok/s when the CPU computed
all RAM misses. Four miss-share settings used one binary, fixed caches, fifteen workers plus the host,
the same Q2 MTP draft and the same two 256-token requests, twice each. These are preliminary measurements
on one workstation; no wider performance or quality guarantee is claimed.
The contribution includes:
STRATA_P100_RAM_SPLIT=1; a separateSTRATA_P100_HYBRID=1opt-in for CPU misses, and refusal of unintended CPU fallback in GPU-only mode.a reproduction harness and configuration template.
Report:
bench/results/2026-10-02-p100-resident-hybrid/README.md.Validation: isolated CUDA 12.4 / sm_60 build;
gguf_split_test,file_expert_source_test,native_dense_ple_key_testandprefill_p100_testall passed. Native expert parity for q4_K/q5_1,q4_K/q8_0 and q5_K/q8_0 reported zero failures. Python syntax checks passed.
The original generic MMQ test did not pass its Q8_0 screen on sm_60; the validated path is the FP16 fallback.
Draft because the measured implementation is based on 0.1.35 (
d9ab843) and still needs revalidationagainst 0.1.36, a broader prompt corpus, long-context coverage and paired MTP-on/off tests. The published
source scopes the staging/log changes and adds regression cases after the fixed-binary measurement;
the report distinguishes these cleanups from the archived throughput results.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.