mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1551] [CLOSED] engine --help: the 16 options it accepts without a line of their own #3527
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#3527
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/1551
Author: @stuchapin909
Created: 10/8/2026
Status: ❌ Closed
Base:
main← Head:pr/help-flags📝 Commits (1)
03156a3engine --help: the 16 options it accepts without a line of their own📊 Changes
1 file changed (+31 additions, -0 deletions)
View changed files
📝
src/program/generate.cpp(+31 -0)📄 Description
Summary
The engine parses 16 user-facing options that
strata --helpnever lists on a line of their own: some appear only in passing inside another option's text (--layer-split,--adapt-every,--adapt-swaps,--mtp), the others not at all. Several are in every run config setup writes (--pcie-frac,--vram-reserve-mib,--mtp) or in the docs (--split-device,--vram-reserve-later-mib,--split-skip-if-fits,--resident-budget-gib,--prompt-cache-root), so they are the ones a user tries to look up. Same idea as #1198 (--spec,--spec-min-p). Text only; no behaviour change.What changed
src/program/generate.cpp,usage()only, 31 lines added, each option next to its neighbours:--max-context:--stop-eos,--eos-ids--pipeline-windows:--layer-split,--split-device,--split-skip-if-fits--prompt-cache-tail:--prompt-cache-root--mtp-max-t:--mtp,--mtp-window--expert-cache N:--vram-reserve-mib,--vram-reserve-later-mib,--adapt-every,--adapt-swaps,--adapt-decay,--pcie-frac,--pcie-mode--resident-experts:--resident-budget-gibThe defaults are
Options' (adapt 4 / 96 / 0.7, reserve 700,mtp_window32768,prompt_cache_root2048, EOS 248044,248046;--pcie-frac0.55 scaled by the probed link below 20 GB/s, 0.2 for the Q2_0 pack); the wording follows theOptionscomments, DETAILS.md and MULTI_GPU.md.--pcie-mode:autoandkernelare the staging copy kernel (mode 2),dmathe copy engine,directthe mapped arena.Left out on purpose: the A/B and debug switches the parser also accepts (
--no-fast-attn,--no-fast-select,--no-fused-gdn,--no-kv-grow,--no-prefill-borrow,--no-publish-kernel,--no-spec-split,--no-split-rows,--spec-split,--spec-corrupt,--spec-oracle,--dump-final-r,--prefill-until).Checked
Built on Windows (MSVC, CUDA 13).
strata --helpexits 0; 256 lines (225 before); the widest line is still 105 characters; each of the 16 options now starts a line; every line of the old output is unchanged (diff of the old lines: none).🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.