[Engine] Inkling-2-Mini: --drafting off still runs DSpark
I maintainer di solito rispondono entro 6 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
Direzione di ricerca
Il bug si trova in serve/inkling_kind.py: wants_drafter() restituisce False per drafting off (intorno alle righe 44-47), ma in quel caso non viene aggiunto alcun argomento --draft (intorno alle righe 85-86 e 106-110). Inizia leggendo quelle funzioni, poi esegui il comando di avvio dell'issue con --drafting off e controlla nel log del motore la presenza di dspark=1. Il lavoro è completato quando il comando del motore include --draft off e il log mostra dspark=0.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C++
- Stelle
- 11.6k
- Fork
- 1k
- Merge medio
- 17g 21h
- PR unite (30g)
- 3
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Niko1221/Strata
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Niko1221/Strata#6731 · 2 commenti ·
I maintainer di solito rispondono entro 6 giorni
-
needs-format
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
Niko1221/Strata#6721 · 1 commento ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Niko1221/Strata#6698 · 2 commenti ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 6 giorni
Tutte le issue di Niko1221/Strata
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
sav-oss-org/ptusa_main#1610 ·
I maintainer di solito rispondono entro 1 giorno
-
Command gate: one shared constant for the just-below-1e-9 MoveAxis stop epsilon (ZWO, Bisque)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
open-astro/AlpacaBridge#2606 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Refactor force_torque_system integration test to use EcmScopeForse già presa @patelshivani2283-lab l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
upnp > 18 fixesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
BZFlag-Dev/bzflag#407 ·