mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3334] [CLOSED] [Docs] Explain cache settings for long-context batch handoffs #4571
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#4571
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/3334
Author: @oscarlius
Created: 10/20/2026
Status: ❌ Closed
Base:
main← Head:docs/long-context-batch-cache-20261018📝 Commits (1)
c75146ddocs: explain prompt-cache state for long-context batch handoffs📊 Changes
1 file changed (+34 additions, -0 deletions)
View changed files
📝
docs/BATCHING.md(+34 -0)📄 Description
Problem and result
The batching guide still omits the cache settings needed to reuse a solo request's live prefix when it moves into a batch slot. Add a minimal handoff configuration, separate its memory cost from parked-conversation budgets, and explain why in-flight requests do not establish concurrent cold-prompt prefill.
Related discussion
Continues #3035 after the v0.2.1.4 tracker reset. The original passed the new format check, but GitHub refused to reopen the rebased branch; the reset bot explicitly suggested a new linked pull request.
None required for this documentation clarification. This updates the original PR after the v0.2.1.4 tracker reset.
Approach
Only
docs/BATCHING.mdchanges. Document--prompt-cache 1 --prompt-cache-every 0 --prompt-cache-root 0; keep an existing conversation-parking budget when already enabled. Explain observed slot/status checks without claiming all configured slots remain resident.Validation
Passed:
9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4(v0.2.1.4), candidatec75146d73e6cf07c1b1180174a9863670029465b. Windows, Python 3.12.7.o.prompt_cache > 0live-prefix reuse gate and per-slot cached-state gates insrc/program/generate.cpp; the prose matches them.git diff --check 9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4...HEAD; onlydocs/BATCHING.mddiffers.Failed:
Not run:
Limits
This is documentation and source-consistency validation, not measured handoff or hardware-capacity evidence.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.