[Engine] Maya-ds4 can not accept "--vram-reserve-mib"

Open Beginner friendly
#4,882 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, python
Domain
cli

Research direction

The launcher in serve/server.py builds the engine command in engine_args(cfg), called from main() where StrataEngine is constructed, and the error is raised in StrataEngine.init. The engine's own usage text lists --reserve-mib, not --vram-reserve-mib, so the mismatch is between the flag the launcher passes and the flag the binary accepts. Done when the settings file from the report starts the engine without the 'unknown option' exit, which means checking whether the launcher should send the name the engine accepts or the engine should accept the name the launcher sends.

Written by the indexing model from the issue text.

Description

Settings (strata-deepseek-v4.1-flash-ist-das-2.25bpw.json): --max-context 8192 --eos 1 --vision on
--dspark auto --dspark-conf 0.65 --prefill-chunk 16384 --vram-reserve-mib 4096; server 0.0.0.0:8080
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\Strata\serve\server.py", line 9589, in
sys.exit(main())
^^^^^^
File "C:\Users\Administrator\Documents\Strata\serve\server.py", line 9278, in main
engine = StrataEngine(exe, engine_args(cfg) + (effort_end or []), cwd=cfg.get("cwd"), log=cfg.get("log"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Documents\Strata\serve\server.py", line 1152, in init
raise EngineDied(why + (f" (see {log})" if log else "") + note +
EngineDied: the engine exited before it was ready (see C:\Users\Administrator\Documents\Strata\strata-deepseek-v4.1-flash-ist-das-2.25bpw.log)
the engine process ended: exit code 2
the engine log's last lines:
[strata] 2026-11-01 15:43:25 engine started: C:\Users\Administrator\Documents\Strata\engine-dsv41\0.1.55-windows-x86_64-hip-rdna3\strata-dsv41.exe --serve --pack C:\Users\Administrator\Strata-data\packs\deepseek-v4.1-flash-ist-das-2.25bpw --max-context 8192 --eos 1 --vision on --dspark auto --dspark-conf 0.65 --prefill-chunk 16384 --vram-reserve-mib 4096
unknown option --vram-reserve-mib
maya-ds4 --pack /maya-ds4 [--gpus 0,1,...] [--max-context N] [--reserve-mib N]
[--vram-experts F] [--cpu-threads N] [--expert-profile FILE|none] [--profile-readonly] [--ssd-cache GB] [--ssd-policy lru|lfu|lfulru] [--no-expert-cache] [--verbose]
[--tp N] [--threads on|off] [--prefill-chunk N] [--dspark on|off|none|auto] [--dspark-block N] [--dspark-conf F] [--experts N|auto]
[--vision on|off] [--mmap-experts on|off|auto]
(--ids I,J,... [--images FILE] [--n N] [--dump-logits FILE] | --serve
| --encode-image FILE.rgb --size WxH --dump-image OUT
| --pack-info)

Dominant language
C++
Stars
11.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Niko1221/Strata

All issues in Niko1221/Strata

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.