[Engine] Turn ends whenever the model tries to write "Nerazim"
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 46/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp
- Ambito
- machine-learning
Direzione di ricerca
Start by reproducing the truncation with the DeepSeek-V4.1-Flash shards and settings listed in the issue, then compare behavior with llama.cpp using the same prompt and shards. The report does not name a source file or failing test, so trace where generated tokens or stop conditions are handled in the Strata engine. Done means the engine completes the response with “Nerazim” and the reported matching strings no longer trigger an early stop.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem:
The Strata dsv41 engine (DeepSeek-V4.1-Flash) hard-stops the turn mid-generation, writing only "Neraz" when asked to use the name "Nerazim" in a sentence. Any string matching /\b\w+zim\b/i triggers the same stop. The same shards do not break in llama.cpp.
Environment:
- Engine: strata 0.2.7 / build 0.1.52 (linux-x86_64-cuda-cuda13), /data/strata/engine-dsv41/0.1.52-linux-x86_64-cuda-cuda13/strata-dsv41
- OS: Ubuntu
- GPU/VRAM: NVIDIA RTX 5090, 32.6 GiB (GPU0, CUDA 13)
- Model/quant: DeepSeek-V4.1-Flash-1017 GSQ-RCO IQ2_XS (2.25 bpw) — reproduces on BOTH the Strata-downloaded shards (original 4-shard Strata layout) and the fresh 6-shard vendor pack built via pack_gguf.py from the vendor's 6-shard llama.cpp GGUF set (48824 tensors; Engram IQ4_NL, DSpark Q8_0 drafter, mmproj BF16 tower)
- Relevant settings: --pack /data/Strata-data/packs/deepseek-v4.1-flash-ist-das-2.25bpw-6shard --max-context 262144 --eos 1 --vision on --dspark auto --dspark-conf 0.65 --mmap-experts auto, TP=1, parallel 1, serving on :8000
Reproduce:
- Launch DeepSeek-V4.1-Flash on the Strata engine.
- Ask the model to use the name "Nerazim" in a sentence (any string matching
/\b\w+zim\b/itriggers it).
Expected:
The turn completes with the word written in full — the same shards serve it normally in llama.cpp.
Actual:
The turn ends after writing only "Neraz" (the word truncated mid-generation); hard stop, no further tokens, no error in the response.
Evidence:
-
Client-side capture of the failed response: the turn ends after writing only "Neraz".
-
Engine log (aggregate only — it records token counts, never prompt/response text): the request read 3961 prompt tokens and generated only 12 before stopping: prompt 3961 tokens = 0 reused + 3961 read in 52275 ms (75.8 tok/s), 12 generated in 4458 ms (2.69 tok/s).
Reproduction status: Reproduced locally
- 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 76/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Niko1221/Strata#4630 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
[Engine] HIP source build fails since v0.1.45: `__shared__ alignas(16) int4` in iq_kernels.cu (expdec verify window)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Niko1221/Strata#4589 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
[Engine] strata-sycl.sh drops every STRATA_* variable whose value is 0, so the documented STRATA_PREFILL_MMQ=0 (FP16 prompt path) never reaches the engine; "off" works by accidentForse già presa @ctr-137 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 3 giorni
-
[Other] tools/ab_engine.py reuses ab_<arm>_r<n>.log in the temp dir across runs, so a later A/B appends its engine logs to an earlier oneForse già presa @ctr-137 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di Niko1221/Strata
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
ROCm/FastFlowLM#887 ·
I maintainer di solito rispondono entro 1 giorno
-
paraview 6.2.0 uses Abseil 20260526 symbols but does not pin libabseil (undefined symbol with libabseil 20260817)Forse già presa @jschueller l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
-
bug medium priority openmp tokenizer wrong result
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
apache/casbin-cpp#277 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
iamaisim/ProjectAirSim#241 ·
I maintainer di solito rispondono entro 1 giorno