Skip to content

Abyss v1.3.126 — ツール結果の画像が届くように(#41)、DFlash 2 の下書きを 1.7 倍速く

Choose a tag to compare

@zephel01 zephel01 released this 10 Nov 03:49
· 581 commits to main since this release

日本語

  • Anthropic 形式の API(/v1/messages)で、ツールの結果の中の画像がモデルに届くようになりました(#41):画像を読むツールやブラウザのスクリーンショットの結果(tool_result)は、これまで文字だけに変換されていて、画像が消えていました。OpenAI 形式の API の role "tool" と同じ変換にしました(文字だけの結果はこれまでどおりです)。tool_result と同じメッセージに直接入っている画像も残るようになりました。gyroid-eth さんが修正案と一緒に報告してくださいました。
  • DFlash 2 の下書き 1 回が 1.96 ms から 1.14 ms になりました(RTX 5090、Qwen3.8)。下書きの中身はビット単位で同じです。注意の計算で K/V を 1 回だけ読むようにし、下書き 1 回を 1 つの CUDA グラフで動かします(STRATA_Q4X_DFLASH_GRAPH=0 で従来の起動に戻せます)。Qwen3.8 16G64G では、コード 159.3 → 165.1 tok/s(MTP 153.5)、一覧 153.6 → 159.8(MTP 158.7)です。日本語の文章とバグ修正は変わらず、MTP のほうが速いままです(下書きの時間ではなく、当たる率の差です)。既定は MTP のままです。STRATA_DETERMINISTIC=1 で、下書きなし・MTP・DFlash 2 の答えが同じになることも確かめました。

English

  • Anthropic /v1/messages: images inside tool_result blocks reach the model (#41). An image tool's result (a file reader, a browser screenshot) went through the text-only path and lost its images; it now goes the same way as role "tool" on /v1/chat/completions (text-only results unchanged). A top-level image next to a tool_result in the same message is kept too. Reported with the fix by gyroid-eth.
  • DFlash 2 draft step 1.96 -> 1.14 ms (RTX 5090, Qwen3.8), the drafts bit for bit the same: the drafter's attention reads each K/V chunk once, and the whole step runs as one CUDA graph (STRATA_Q4X_DFLASH_GRAPH=0 launches kernel by kernel). Qwen3.8 16G64G: code 159.3 -> 165.1 tok/s (MTP 153.5), lists 153.6 -> 159.8 (MTP 158.7); Japanese prose and bug fixes unchanged, MTP still faster there (acceptance, not the step). MTP stays the default. With STRATA_DETERMINISTIC=1, answers without a drafter, with MTP and with DFlash 2 are still the same tokens.