[Engine] strata-inkling SYCL (Arc Pro B70, 0.1.70): DFlash 2 decodes ~10x slower and one request crashed the engine (0xC0000409)
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- backend, performance
Direzione di ricerca
Start with the SYCL DFlash 2 loading and decode path in ink_sycl_backend.cpp, then trace the drafter code that logs [ink_sycl_dflash2] and the server route at terminal/serve/server.py. Reproduce with the supplied Windows configuration and compare runs with STRATA_INK_DRAFTER=dflash2 set and unset. Done means DFlash 2 no longer causes the reported slowdown or engine crash on the Arc Pro B70; add a regression test if the relevant path has test coverage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happened
On an Arc Pro B70 32 GB, strata-inkling 0.1.70 with DFlash 2 loaded decodes about 10x slower than the same engine with no drafter, prefill drops 3-12x, and one request killed the engine with 0xC0000409 (stack buffer overrun / fast-fail). Without the drafter the same build does 36.3 tok/s decode. This looks like the "resident card has measured it" case the SYCL opt-in is waiting for — and the measurement is negative.
Environment
- Engine
strata-inkling 0.1.70, built from source on Windows with icx (SYCL backend), from thewindows-syclbranch of the community port at 0.2.23. - Arc Pro B70 32 GB, driver 32.0.101.8976, oneAPI 2026.2, Windows 11 26H2 (26300), 64 GB RAM.
- Model
Inkling-2-Mini-SQ-15.strata(14.35 GB) +Inkling-2-Mini-Vision.strata,--max-context 32768 --kv auto --parallel 1, served by the Terminal server (terminal/serve/server.py --engine strata). - Drafter:
strata-engine/Inkling-2-Mini-DFlash2mix, 551,600,700 bytes, SHA256cf7dbb08560dfd99544af0cdbab2915406fc571f516b19aff0fe113b9458d387, placed asdflash2.safetensorsbeside the model.
How it is enabled (worth knowing for the wiring)
--draft dflash2 alone leaves the drafter off (dflash2=0). It loads only when STRATA_INK_DRAFTER=dflash2 is also set: df2_requested_env() reads that variable and ink_sycl_backend.cpp sets it only for --draft on. With both, the log shows:
[ink_sycl_dflash2] loaded ...\dflash2.safetensors in 2.80s (5 layers Q8_ROW, slots=1, ring=2112, max_M*=8)
[ink_sycl] DFlash 2 loaded: 635 MiB on the device (the memory plan counted 641 MiB)
[ink_sycl] runner ready: slots=1 ctx=32768 batch=512 dflash2=1 dspark=0 kv=fp16 sc=f32 hybrid=0 | KV=1184.0 MiB ... DevAlloc=15.47 GiB
Numbers (same server, same prompts, temperature 0)
Code prompt, 400 max, three runs:
| arm | tokens | wall | decode |
|---|---|---|---|
| no drafter | 368 | 10.13 / 10.17 / 10.14 s | 36.3 tok/s |
| DFlash 2 | 368 | 97.34 / 97.64 s | 3.8 tok/s |
6,425-token prompt, 16 max, three runs:
| arm | wall | prefill |
|---|---|---|
| no drafter | 15.14 / 15.17 / 15.20 s | 423.5 tok/s |
| DFlash 2 | 191.69 / 53.97 / 46.97 s | 65.9 tok/s average (33.5-136.8) |
The third DFlash 2 request of the code prompt did not return: the server reported the engine stopped unexpectedly (exit code 0xC0000409: stack buffer overrun / fast-fail) and restarted it.
For context, the engines' own --bench (which does not load a drafter even with the env set) measures 0.1.70 at 36.3 tok/s decode / 392-505 prefill tokens/s, and 0.1.69 at 36.8 / 390-498 — so there is no release-to-release gap on this card; the drafter is the only variable above.
Repro
# run config: "args" without --dspark, "drafting": "dflash2", and in "env":
# "STRATA_INK_DRAFTER": "dflash2"
# dflash2.safetensors beside the .strata file
python terminal\serve\server.py --engine strata --config <config> --port 8080 --host 127.0.0.1 --no-api-key
# then a normal /v1/chat/completions request; remove STRATA_INK_DRAFTER for the control arm
What I did not test
Other packs (GGUF), other contexts (64K/128K), more than one slot, and Linux. --bench cannot exercise the drafter here, so the server route is the only repro I have.
Note on the INTELARC fast set
Separate and by design: the fast set is refused on Battlemage (cd5fec5d3), which is why 0.1.70 runs the exact set here. This report is only about DFlash 2.
- Lingua principale
- C++
- Stelle
- 11.6k
- Fork
- 1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 68/100
Niko1221/Strata#7365 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 4 giorni
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 4 giorni
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Niko1221/Strata#7276 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Niko1221/Strata#7230 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di Niko1221/Strata
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Quantinuum/tket#2282 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
I maintainer di solito rispondono entro 10 giorni
-
Server crashes when a mob dies to poisonForse già presa @joelstiller l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DarkCastleMUD/DarkCastle#305 ·
I maintainer di solito rispondono entro 1 giorno
-
[Issue]: RAS status report lists the wrong pids for an outlier nodeForse già presa @bhargavchintam l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni