[Engine] strata-inkling 0.1.70 (v0.2.23): a ~5K-token prompt decodes without drafting on a Tesla T4 (21 tok/s with DSpark, DFlash 2 or --draft off; 0.1.69 drafts it at 42)
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by comparing the strata-inkling 0.1.69 and 0.1.70 engine behavior on the supplied three-request reproduction, checking the third request’s timings.predicted_per_second and the engine logs for drafter activity. The report identifies the affected engine and settings but names no source files or tests, so first locate the prompt and drafter selection paths in the C++ engine. Done when the long summary prompt drafts at the expected speed on 0.1.70 and the reproduction confirms the change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Area
[Engine] (speed, kernels, models, the server and API)
Desktop app, Terminal or source?
Terminal (the strata command)
What happened
After updating from 0.2.22 to 0.2.23, a ~5K-token prompt on Inkling-2-Mini SQ-10 decodes at about 21 tok/s on a Tesla T4, which is the same speed as with no drafter. The strata-inkling 0.1.69 engine, run under the same Control 0.1.70 with the same request, drafts it at 42 tok/s. Short prompts still draft normally on 0.1.70.
Measured with the stock release engine strata-inkling 0.1.70 (linux-x86_64-cuda-cuda13), temperature 0, one request at a time, tok/s = timings.predicted_per_second:
| Engine / drafter | code (49-token prompt) | short (30 tokens) | summary (~5,300-token prompt) |
|---|---|---|---|
0.1.70, DSpark (--draft dspark, STRATA_INK_DRAFTER=dspark) |
46.5 | 37.7 | 21.5 (242 tokens out) |
0.1.70, --draft off |
22.8 | 24.1 | 21.6 |
0.1.70, DFlash 2 forced (STRATA_INK_DRAFTER=dflash2, mix sidecar) |
64.9 | 59.4 | 21.4 |
| 0.1.69, DSpark, same Control 0.1.70 | 46.5 | 40.1 | 42.1 (128 tokens out) |
The first two rows are the stock release binary (--kv-offload auto). The DFlash 2 and 0.1.69 rows were run on local builds of the same release sources with one added start-up step that preallocates the VRAM-only KV (--kv-offload off, the proposal in #6770). With DSpark, the patched 0.1.70 build gave the same numbers as the stock binary, so the patch is not the cause.
Expected: the ~5K prompt drafts on 0.1.70 the way it does on 0.1.69, about 40 tok/s or more.
Other things I found:
- The start-up log shows the drafter loaded (
DSpark took 612 MiB, or[InkDFlash2] DFlash 2 drafter on ... 2 slot(s)). No line is printed when the summary request runs undrafted. STRATA_SM75_PERF=0(#7041) changes nothing (21.4).- To rule out the #7226 slot routing, I repeated the DFlash 2 and 0.1.69 runs with
STRATA_INKLING_KEEP_CHATS=0. Without it, every request that follows a 2,048+-token chat goes to slot 1, which has no drafter, and decodes at about 22 tok/s. That is documented, but it makes this bug easy to mistake for routing. - The answer to the same temperature-0 prompt also changed between 0.1.69 and 0.1.70 (242 vs 128 tokens).
- Smaller point: after such a request, the responses to following requests often have no
timings(prompt_per_second/predicted_per_secondare null), althoughusageis filled.
At 77K tokens of context, decode is normal on 0.1.70 + DFlash 2 (15.9 tok/s; 0.1.69 + DSpark gave 14.6). So it is not a plain depth effect. It shows up on the summary-type prompt.
Smallest steps or command that reproduce it
- Start Inkling-2-Mini SQ-10 on a Tesla T4 with
--parallel 2 --kv fp8 --max-context 81920 --chunk 1024 --draft dsparkandSTRATA_INK_DRAFTER=dsparkin the engine env (orSTRATA_INK_DRAFTER=dflash2withdflash2.safetensorsbeside the model). - Send these requests in order, temperature 0,
max_tokens600:
code = "Write a Python function that parses an INI file into a nested dict, with tests."
doc = " ".join(f"Paragraph {i}: the committee reviewed budget line {i} and noted a variance of {i*7%13} percent." for i in range(260))
prompts = [code, "Name three rivers in Europe.", "Summarize:\n" + doc]
- Compare
timings.predicted_per_secondof the third request with the first two, and with the same requests on engine 0.1.69.
Reproduction status
Reproduced locally
Strata version
strata 0.2.23 (Control 0.1.70, strata-inkling 0.1.70 linux-x86_64-cuda-cuda13; comparison engine strata-inkling 0.1.69)
Graphics card, memory and system
Tesla T4 16 GB (sm_75, ECC off) used alone for Inkling (a second card serves Qwen), driver 615.71.09, Ryzen 7 PRO 4750G, 64 GB RAM, Ubuntu 26.04
Model, size and settings
Inkling-2-Mini SQ-10, --parallel 2, 81,920 context per slot, --kv fp8, --chunk 1024, pictures on (CPU reader), started with strata runtime start from a run config
Logs
[InkCUDA] memory: 5394 MiB free after load, runner+KV took 1646 MiB (max_batch=1024), DSpark took 612 MiB, 3136 MiB free now
[InkDFlash2] DFlash 2 drafter on: .../dflash2.safetensors, 2 slot(s), weights 443 MiB + scratch 23 MiB (GPU memory taken 586 MiB), codebooks on the host (mapped), mix Q8 + SF4 block weights
- Lenguaje dominante
- C++
- Estrellas
- 11.6k
- Forks
- 1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Niko1221/Strata
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Niko1221/Strata#7365 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 4 días
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 4 días
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Niko1221/Strata#7276 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Niko1221/Strata#7230 · 1 comentario ·
Los mantenedores suelen responder en 4 días
Todos los issues de Niko1221/Strata
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Quantinuum/tket#2282 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
Los mantenedores suelen responder en 10 días
-
Server crashes when a mob dies to poisonPosiblemente ocupada @joelstiller la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
DarkCastleMUD/DarkCastle#305 ·
Los mantenedores suelen responder en 1 día
-
[Issue]: RAS status report lists the wrong pids for an outlier nodePosiblemente ocupada @bhargavchintam la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días