[Engine] Turn ends whenever the model tries to write "Nerazim"
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 46/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C++
- スター
- 11.6k
- フォーク
- 1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Niko1221/Strata のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Niko1221/Strata#4630 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Niko1221/Strata#4589 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
[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 accident対応中かも @ctr-137 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 3 日以内に返信
-
[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 one対応中かも @ctr-137 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信
Niko1221/Strata の issue をすべて見る
似ている issue
-
good first issue invalid
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
DanielJerolm/gpcc#74 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
patrick-hudson/put.gd-desktop#808 ·
メンテナーはふだん 1 日以内に返信
-
DPI change is not fully handled in the cascading window on Windows対応中かも @yukawa が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
enhancement Ready for final check
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
mpogue2/SquareDesk#1818 · コメント 1 件 ·