Skip to content

fix(strata): list the VRAM reserve flags in the help text - #211

Merged
shuk777 merged 1 commit into
Edge0-AI:mainfrom
akshathayadav378-boop:fix/strata-help-vram-reserve
Nov 16, 2026
Merged

shuk777 merged 1 commit into
Edge0-AI:mainfrom
akshathayadav378-boop:fix/strata-help-vram-reserve

Conversation

@akshathayadav378-boop

Copy link
Copy Markdown
Contributor

What

strata generate --help never listed the VRAM reserve flags, even though the parser accepts them:

  • --vram-reserve-mib N is parsed at src/program/generate.cpp:3213, default 700.
  • --vram-reserve-later-mib N is parsed on the next line.

The usage block lists --peer-reserve-mib but neither of these, which is why a from-source Windows build reported that the documented flag "is absent from the binary": it is accepted, just not advertised.

This adds both lines to the usage text, next to the peer reserve line, with the defaults the code uses.

Verification

  • --vram-reserve-mib default 700 and --vram-reserve-later-mib parser entries read from src/program/generate.cpp (option struct around line 785, parser at 3213-3215).
  • String-only change in the usage text; no behaviour changes.
  • I could not build edge0-strata here (no CUDA toolchain on this machine), so --help output was not run locally. A strata generate --help check on a CUDA machine is enough.

Refs #209

@lxove

lxove commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Confirmed on Linux / CUDA 13.2, RTX 3090 24 GB, edge0-strata 0.1.55 (source at 7b60076), Edge0-145B-q3k via edge0-infer serve:

  • strata --vram-reserve-mib is parsed (src/program/generate.cpp, the option loop) and only missing from --help. An unknown flag gives unknown argument: …, and --vram-reserve-mib without a value gives --vram-reserve-mib needs a value.
  • It takes effect. With the default (700) the engine held 23 569 MiB. With --vram-reserve-mib 8192 it held 16 077 MiB at start and 16 307 MiB after a community-bench run (expert cache auto: … 8192 MiB reserved … -> 1691 slots).

So listing it in --help, as this PR does, matches the binary. The description here (graphs, hit scratch, head) also matches the comment on vram_reserve_mib in the source.

@shuk777 shuk777 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shuk777
shuk777 merged commit e7f702d into Edge0-AI:main Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants