Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Engine] Turn ends whenever the model tries to write "Nerazim"

クローズ
#4,576 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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:

  1. Launch DeepSeek-V4.1-Flash on the Strata engine.
  2. Ask the model to use the name "Nerazim" in a sentence (any string matching /\b\w+zim\b/i triggers 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".
    Image

  • 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Niko1221/Strata のほかの issue

Niko1221/Strata の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。