[Engine] Inkling-2-Mini: --drafting off still runs DSpark
Maintainers usually reply within 6 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
The bug is in serve/inkling_kind.py: wants_drafter() returns False for drafting off (around lines 44-47), but no --draft argument is added in that case (around lines 85-86 and 106-110). Start by reading those functions, then run the launch command from the issue with --drafting off and check the engine log for dspark=1. Done means the engine command includes --draft off and the log shows dspark=0.
Written by the indexing model from the issue text.
Description
For Inkling-2-Mini, strata launch --drafting off leaves out --draft dspark but doesn't pass --draft off, and the engine then loads DSpark anyway: the engine log still says dspark=1 and it allocates the same 23.39 GiB as a DSpark run. Starting the engine with --draft off gives dspark=0 and drops short-prompt decode on an M3 Max from about 66 to about 42 t/s, so the fix may be as small as emitting that flag.
Details, written by Claude (medium effort)
Area
[Engine] (speed, kernels, models, the server and API)
Desktop app, Terminal or source?
Terminal (the strata command)
Reproduction status
Reproduced locally
Related, but different: #6633 (DSpark never engages on a .strata pack). Here DSpark does engage; it just can't be switched off from strata launch.
What happened
--drafting off for Inkling-2-Mini SQ-20 leaves --draft dspark off the engine command line but does not pass --draft off. The engine's own default then loads DSpark anyway: the engine log reports dspark=1.
Expected: no drafter. dspark=0 in the log, and the slower no-draft decode speed.
Evidence (from ~/.local/state/strata/launch/sq-20-64k.engine.log, paths shortened)
14:46:46 engine started: …/strata-inkling --serve --native …/SQ-20.strata --max-context 65536 --draft dspark ← --drafting auto (default)
runner ready: … dspark=1 …
14:52:45 engine started: …/strata-inkling --serve --native …/SQ-20.strata --max-context 65536 ← --drafting off
runner ready: … dspark=1 … ← still on
14:53:31 engine started: …/strata-inkling --serve --native …/SQ-20.strata --max-context 65536 --draft off ← workaround (below)
runner ready: … dspark=0 … TotalAlloc 22.12 GiB (vs 23.39 GiB with DSpark)
For scale: on short prompts, decode is about 66 t/s with DSpark (the default) and about 42 t/s with --draft off (M3 Max). I didn't benchmark the --drafting off start itself; the dspark=1 log line above is the evidence that it was still drafting, and the 23.39 GiB allocation matches the DSpark run.
Where (Strata 0.2.19, build 0.1.65): from reading the code, which matches the log above
serve/inkling_kind.py:44–47:wants_drafter()returns False fordrafting: off.serve/inkling_kind.py:85–86and:106–110: when it is False, no--draftargument is added at all.strata-inkling --helplists--serve … [--draft auto|dspark|off]. With no flag, the engine picks DSpark (as observed). A likely fix is to emit--draft offwhen the user chose off.
Smallest steps to reproduce
strata launch --model sq-20 --family inkling-2-mini --context 64k --vision off --tune skip --access local --port 8083 --drafting off --no-tui
strata logs # or the launch's .engine.log: "runner ready: ... dspark=1"
Workaround: copy the launch run config, append "--draft", "off" to args, and start it with strata serve --config <copy> --host 127.0.0.1 --port 8083.
Not tested
--mtp offand--drafting mtpfor Inkling.- Other Inkling packs (SQ-10, SQ-15).
- The desktop app.
- Other platforms.
Strata version
strata 0.2.19 (build 0.1.65), engine strata-inkling 0.1.65 macos-arm64-metal
Graphics card, memory and system
Apple M3 Max, 64 GB unified memory, macOS 27.2.1
Model, size and settings
Inkling-2-Mini SQ-20, context 64k, pictures off, --parallel 1
Generated by Claude Code
- Dominant language
- C++
- Stars
- 11.6k
- Forks
- 1k
- Avg merge
- 17d 21h
- Merged PRs (30d)
- 3
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Niko1221/Strata
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Niko1221/Strata#6731 · 2 comments ·
Maintainers usually reply within 6 days
-
needs-format
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Niko1221/Strata#6721 · 1 comment ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Niko1221/Strata#6698 · 2 comments ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 6 days
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
sav-oss-org/ptusa_main#1610 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-astro/AlpacaBridge#2606 · 1 comment ·
Maintainers usually reply within 1 day
-
Refactor force_torque_system integration test to use EcmScopePossibly taken @patelshivani2283-lab claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
upnp > 18 fixesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BZFlag-Dev/bzflag#407 ·