mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #225] [CLOSED] perf(prefill): honor explicit routed-only staging for large chunks #2513
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#2513
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/225
Author: @rluisr
Created: 9/30/2026
Status: ❌ Closed
Base:
main← Head:perf/routed-only-prefill-ring📝 Commits (1)
7430c3cperf(prefill): allow explicit routed-only staging for large chunks📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
src/prefill/prefill.cpp(+1 -0)📄 Description
Summary
Split the staging-policy change out of #139 as requested in https://github.com/Niko1221/Strata/pull/139#issuecomment-5898192943.
An explicit
STRATA_PREFILL_RING=8now opts into the existing routed-only staging path even for chunks of 2048 tokens or more. Previously the value was clamped to 16, so it kept all-expert streaming enabled instead of honoring that opt-in.This is an opt-in tradeoff, not a new default: routed-only staging can reduce host-staging pressure but forfeits overlap from all-expert prefetch. The original combined V100 tuning evidence is retained as historical evidence in #139; it does not isolate this line's contribution.
Validation
Compiled and executed a host-side assertion harness using the exact
ring_slotsfunction from this branch. Verified:8for 1, 2047, 2048, 4096, and 8192 tokens.No isolated end-to-end staging speedup is claimed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.