Repository navigation
Releases
YASAKANI 0.3.4
YASAKANI 0.3.4
Inkling-2 Mini now uses its fast path by default on RTX 30 and 40 cards too, after a user's measurement on an RTX 3090 Ti. Image input of Qwen3.8 now opens only common image formats. On Windows, 24 GB cards can use the new prompt reading with --max-ctx, and small RTX 50 cards keep the wide copy passes that pay.
YASAKANI is a local LLM engine for Windows and one NVIDIA RTX GPU (tested on the RTX 5090), built for Qwen3.8-27B. Since 0.3.1 it also runs Inkling-2 Mini. 日本語の README · Japanese below.
What changed since 0.3.3
- The fast path of Inkling-2 Mini on RTX 30 and 40 cards (#29). The default
--fast autonow turns it on for compute capability 8.6, 8.9 and 12.0 (RTX 30, 40 and 50; 0.3.3: RTX 50 only), on RTX 30 and 40 cards without the RTX 50-only 4-bit part. A user measured 0.3.3 on an RTX 3090 Ti (24 GB, Windows 11; the reporter's numbers):selfcheckpassed with the fast path on and off;benchaveraged 131.0 against 101.6 tokens/s; prompt reading at 32,768 tokens was 405.0 against 171.1 tokens/s; a 131,072-token prompt was read in 356 s. We have run the fast path on the RTX 5090 only, and no RTX 40 card has been reported. Its output is close to, but not the same as, that of the standard path, so on RTX 30 and 40 cards the default output changes.--fast off(orYASAKANI_INK2_FAST=off) computes as before;selfcheckcompares the standard path unless--fastis given. - Image input (Qwen3.8) opens only raster formats.
servewith the image input options now reads PNG, JPEG, WebP, GIF, BMP and TIFF and refuses everything else with a 400. Before, the image of a request was tried with every format the Pillow library reads, and two of them pass the data on to another program: EPS to Ghostscript when it is installed, WMF and EMF to the renderer of Windows. This matters if you runservewith image input and pass it images from sources you do not control: please update. Without the image input options nothing changes. - “Check for updates” on the page. The quickstart asks GitHub for a new version at most once a day. So someone who started it within the day before a release got no Update button afterwards, and since 0.2.1 a double-click opens the page without the menu (reported by a user after 0.3.3). The Model tab of the page now has Check for updates, which asks at once when you press it, and only then. To get this release from 0.3.3 or older when the page shows no Update button: open a command prompt in the quickstart folder and run
START.cmd --action update. - The new prompt reading on 24 GB cards (#24).
--prefill autonow uses it on a card of 22,000 to 30,000 MiB when--max-ctxis given and at least 1,800 MiB stay free beside it; the start-up line says so. We checked the rule on the RTX 5090 set up as a 24 GB card: with--max-ctx 131072autotook the new reading,selfcheckgave the same lines as--prefill old, and a 32,000-token prompt took 7.2 s against 8.5 s with the same 16 output ids; at 262,144 it stays with the reading of 0.1.7. Without--max-ctxnothing changes. - Wide copy passes on small RTX 50 cards (#31). On an RTX 5060 Ti the old limit closed all three widths, although with them open the edit tasks ran 1.23 to 1.24 times as fast with the same output (the reporter's numbers). RTX 50 cards now drop a width only when every round is over 0.9 × width / 16 (1.80 / 2.70 / 3.60; before 0.8); RTX 30 / 40 keep 0.8. Our RTX 5090 still opens all three (1.37 / 1.81 / 2.05), and the three edit tasks gave the same ids with wide passes off and on.
yasakani reportprints the limit used. --skip-checks(#18). The quickstart now says that the checks are not run and the output is not checked.bench --jsonfor Inkling-2 records the fast path and copy settings.- Documents. The README, the FAQ, docs/TECHNOLOGY.md and the package README cite #18, #24, #29 and #31, with a tip for the max-quality model on 24 GB cards: when the start-up line shows little free memory after the wide passes, a
--max-ctxone step shorter (16,384 tokens) leaves about 350 MiB more. BUILDING.md notes a build with Visual Studio 2026 (#31). - Not in this release:
- #30 by @audreyt, the faster Linux engine of Inkling-2 Mini. In our run under WSL2 on one RTX 5090, greedy generation was much faster, but sampled generation with the default settings (the default of chat and serve) was much slower than before (0.6 to 0.8 against 17 tokens/s). We have reported the cause in the pull request and will take it in a following version once that is settled. Thank you for this work. Until then the Linux engine is that of 0.3.3.
- #32 by @audreyt (image input and a prefix cache for the Linux engine), which waits for two changes we asked for.
- Image input for Inkling-2 Mini on Windows, which is being worked on (no date yet).
Update: from 0.1.7 or newer, the Update button of the page or yasakani update; if the button is not there, run START.cmd --action update in the quickstart folder. From 0.1.6 or older, extract yasakani-quickstart-0.3.4.zip into your quickstart folder once.
Checked on one RTX 5090: the update from the released 0.3.3 through the launcher, the way back, and a first run of a new user with each of the four models: 127 of 127 steps passed (the files came from a server on the same PC; selfcheck is part of it). With the RTX 5090 shown to the package as an RTX 30 card (compute capability 8.6, 24 GB) --fast auto turned the fast path on; shown as 7.5 it left it off. Unit tests: 694 on Windows and 807 on Linux (WSL2), no failure. Both Windows libraries are the files of 0.3.3: yskn.dll 41a6bbd9bc1f865c79fb77274b84c26f7d167acb3a58097e7e5933bc723d3f5c and yskn_inkling2.dll 282ddcc470e570207dae1362c188be57e6170518e03283475790a28c46a28c7f; the engine source did not change. Not checked: RTX 30 and 40 cards (there the fast path rests on the report above), other GPUs, a real 24 GB card with the new prompt reading.
Files
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.3.4.zip |
the start files (START.cmd) |
1d15983b53a243901998c8cd4fa5e34ea0a53fc1a3aaafe0138d73f68762990c |
yasakani-0.3.4-win-x64.zip |
the engine and the Python package | 831576fe908c0dc52494aae6534d2a45e27f310b3ceaba9bbc0b1e65e4a8a7fc |
yasakani-harness-0.1.0.zip |
the agent screen (the file of 0.1.0) | a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
fast_live_uncut.mp4 |
the uncut screen recording of docs/MEASUREMENTS.md (the file of 0.1.0) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file | 218de7a9575739da481ba40e50c642549460ed136576ea93b19184da8f2a110b |
Inside the engine zip, the files of 0.3.3: yskn.dll 41a6bbd9bc1f865c79fb77274b84c26f7d167acb3a58097e7e5933bc723d3f5c, yskn_inkling2.dll 282ddcc470e570207dae1362c188be57e6170518e03283475790a28c46a28c7f. The files are not code-signed; compare the checksums before you run them.
YASAKANI 0.3.4(日本語)
Inkling-2 Mini の速い道を、RTX 30・40 のカードでも標準で使うようにしました。利用者の方の RTX 3090 Ti での測定を見て決めました。Qwen3.8 の画像入力は、よく使う画像の形式だけを開きます。Windows では、24 GB のカードが --max-ctx を付けた時に新しい入力の読み方を使い、小さい RTX 50 のカードで得になる広い写しの幅が開いたままになります。
- RTX 30・40 のカードでの速い道(#29)。 標準の
--fast autoは、計算能力 8.6・8.9・12.0(RTX 30・40・50)で速い道を使います(0.3.3 は RTX 50 だけ)。RTX 30・40 では、RTX 50 だけの 4 ビットの部分を除いて動きます。利用者の方が RTX 3090 Ti(24 GB・Windows 11)で 0.3.3 を測りました(報告者の方の数字)。selfcheckは速い道を入れても切っても合格でした。benchの平均は 101.6 に対して 131.0 tokens/s、32,768 トークンの読み込みは 171.1 に対して 405.0 tokens/s でした。131,072 トークンの入力は 356 秒で読めました。私たちが速い道を動かしたのは RTX 5090 だけで、RTX 40 のカードの報告はまだありません。速い道の出力は標準の道に近いですが、同じではありません。そのため RTX 30・40 のカードでは標準の出力が変わります。--fast off(またはYASAKANI_INK2_FAST=off)で前と同じ計算になります。selfcheckは、--fastを付けない限り標準の道を比べます。 - 画像入力(Qwen3.8)は、PNG などの決まった画像の形式だけを開きます。 画像入力の設定を付けた
serveは、PNG・JPEG・WebP・GIF・BMP・TIFF を読み、ほかは 400 で断ります。これまでは、依頼の画像を Pillow が読める全ての形式で試していました。そのうち2つは、データをほかのプログラムへ渡します(EPS は、入っていれば Ghostscript へ。WMF と EMF は Windows の描画へ)。画像入力つきのserveに、自分で用意していない画像を渡す使い方をしている方は、更新してください。画像入力の設定を付けていなければ、何も変わりません。 - 画面の「更新を確認」。 起動ファイルが GitHub に新しい版を問い合わせるのは、1 日に 1 回までです。そのため、新しい版が出る前の 1 日のうちに起動していた方には、出た後も 更新する のボタンが出ませんでした。0.2.1 からはダブルクリックでメニューも出ません(0.3.3 の後に利用者の方から指摘をいただきました)。画面の「モデル・状態」に 更新を確認 を足しました。押した時だけ、その場で問い合わせます。0.3.3 以前で更新のボタンが出ない時は、 起動ファイルのフォルダーでコマンドプロンプトを開いて
START.cmd --action updateを実行してください。 - 24 GB のカードでの新しい入力の読み方(#24)。
--prefill autoは 22,000〜30,000 MiB のカードでも、--max-ctxを付けてその横に 1,800 MiB 以上の空きが残る時は新しい読み方を使います。起動の行に出ます。私たちは RTX 5090 を 24 GB のカードのように設定して確認しました。--max-ctx 131072ではautoが新しい読み方を選び、selfcheckの行は--prefill oldと同じでした。32,000 トークンの入力は 8.5 秒に対して 7.2 秒で、出力の 16 トークンは同じでした。262,144 では 0.1.7 の読み方のままです。--max-ctxが無い時は何も変わりません。 - 小さい RTX 50 のカードでの広い写し(#31)。 RTX 5060 Ti では前の上限で3つの幅が全て閉じましたが、開けると編集の課題は 1.23〜1.24 倍の速さで、出力は同じでした(報告者の方の数字)。RTX 50 では、どの回も 0.9 × 幅 / 16 倍(1.80・2.70・3.60。前は 0.8)を超えた幅だけを外します。RTX 30・40 は 0.8 のままです。私たちの RTX 5090 では3つの幅が開いたままで(1.37・1.81・2.05 倍)、編集の3課題は広い計算を切っても使っても同じトークンでした。
yasakani reportは使った上限を表示します。 --skip-checks(#18)。 起動ファイルは、点検をしていないので出力は確認していない、と表示します。- Inkling-2 の
bench --jsonは、速い道と写しの設定を記録します。 - 文書。 README・FAQ・docs/TECHNOLOGY.md・パッケージの README に #18・#24・#29・#31 の報告を載せました。24 GB のカードの最高品質モデル...
YASAKANI 0.3.3
YASAKANI 0.3.3
Inkling-2 Mini runs faster on RTX 50 cards: on one RTX 5090 a prompt of 131,072 tokens is read in 95 s instead of 418 s, and generation after 32,768 tokens runs at 183 instead of 88 tokens/s.
YASAKANI is a local LLM engine for Windows and one NVIDIA RTX GPU (tested on the RTX 5090), built for Qwen3.8-27B. Since 0.3.1 it also runs Inkling-2 Mini. 日本語の README · Japanese below.
What changed since 0.3.2
- The fast path for Inkling-2 Mini. An 8-bit key/value cache (MXFP8, an open format) for the 8 layer visits that attend to the whole context, attention split into parts for long contexts, a new attention for prompt reading, and on RTX 50 cards prompt passes of the experts on the 4-bit (NVFP4) tensor cores.
- On by default on RTX 50 cards. On other cards it stays off, because we have not run it on an RTX 30 or 40 card.
--fast onturns it on there (without the RTX 50-only 4-bit part),--fast offturns it off on any card, and the default is--fast auto. With it off the engine computes as 0.3.2 did. On the RTX 5090, with the fast path off the engine gave the same logits and tokens as 0.3.2, bit for bit; in one comparison in the same GPU job it was 1 to 2 % slower (after 4,096 tokens 160.4 against 163.7 tokens/s without the drafter, 257.8 against 261.0 with it). We have not measured this on other cards.selfcheckcompares the standard path unless--fastis given, because its reference tokens are those of the standard path. - Copy decoding for edits (off by default,
--copy auto). The model checks a span copied from the prompt in one pass; the output does not change. yskn.dlland the Qwen3.8 models are those of 0.3.2. The quickstart works as before.- README and FAQ: the reports from other cards are up to date: an RTX 3090 and an RTX 3090 Ti in #24, an RTX 5060 Ti in #31, and Inkling-2 Mini on an RTX 3090 in #29. The sentence that no RTX 30 card had been reported was out of date since November 20.
- Not in this release: #30 by @audreyt, a faster Inkling-2 engine for Linux. The fast path above is our own work on the Windows engine (
src/inkling2/) and uses no code from #30. We plan to take #30 in the next version, after checking it on Linux.
Speed
One RTX 5090, Windows 11, November 23, 2026, the --scheme quality folder of Inkling-2 Mini, one request at a time, greedy decoding. The text is 53 public source files, without repetition. Prompts read from an empty context (median of 2 reads; 131,072 tokens: one read). Generation right after an input of the given length: 128 tokens with --draft off, 256 with --draft auto (median of 3 runs in each of 2 rounds, 0.3.2 and 0.3.3 side by side in one GPU job; 131,072 tokens: 1 round).
| 0.3.2 | 0.3.3, fast path | |
|---|---|---|
| Prompt reading, 4,096 / 32,768 / 131,072 tokens | 900 / 633 / 314 tokens/s | 1,826 / 1,755 / 1,377 tokens/s |
Generation after 256 / 4,096 / 32,768 / 131,072 tokens, --draft auto |
230 / 257 / 88 / 58 tokens/s | 268 / 351 / 183 / 132 tokens/s |
Generation after the same lengths, --draft off |
202 / 162 / 93 / 38 tokens/s | 222 / 209 / 169 / 109 tokens/s |
| GPU memory in use at 131,072 tokens, with the drafter | 28.5 GiB | 20.9 GiB |
The default context is 32,768 tokens; for longer inputs set a longer context with --max-ctx. GPU memory is the use of the whole GPU after loading minus the use before the start. Without the RTX 50-only part (what an RTX 30 or 40 card runs, measured on the RTX 5090 with that part off) prompt reading was 1,284 / 1,236 / 1,012 tokens/s. We have not run it on an RTX 30 or 40 card.
Output. The fast path computes in a slightly different way, so its output is not the same as that of 0.3.2. Against the standard path (32-bit cache), at 128 positions after 4,096 and 32,768 tokens: the most likely next token was the same at 126 and 123 of 128, mean KL 0.0035 and 0.0059 (on another text 128 of 128 at 32,768 tokens). Greedy output parts from that of the standard path after some tokens. We have not measured task accuracy. The drafter and copy decoding do not change the output of the fast path.
Same PC, llama.cpp b12600 (GGUF IQ4_NL of ggml-org, 17.63 GB, -fa on, 8-bit key/value cache, median of 2 runs; 131,072 tokens 1 run with -ub 256): llama.cpp reads short prompts faster, 2,119 against our 1,826 tokens/s at 4,096 tokens. From 32,768 tokens the fast path reads faster (1,755 against 1,467; 1,377 against 639 at 131,072). Generation without our drafter: 222 / 209 / 169 / 109 against 91 / 90 / 80 / 67 tokens/s. The weights differ (our 15.05 GB file) and so does the timing (llama.cpp: its server timings; ours: wall time in the process). Details
Copy decoding (fast path, one run each): a JSONL edit 208 tokens/s without the drafter, 508 with it, 791 with the drafter and copy decoding; a code edit 203, 442 and 716 tokens/s. On text that does not copy the prompt it costs a little (12 short prompts on a development build: 1.4 % slower on average, 15 % at worst).
Update: from 0.1.7 or newer, the Update button or yasakani update. From 0.1.6 or older, extract yasakani-quickstart-0.3.3.zip into your quickstart folder once.
Checked on one RTX 5090: with --fast off the same logits and tokens as 0.3.2, bit for bit, on 20 short prompts and after a 9,000-token input, and the same tokens with a seed. With the fast path, the drafter and copy decoding on or off gave the same tokens on two edit tasks (greedy and seeded). selfcheck passed with the fast path on and off. The update from the released 0.3.2: 127 of 127 steps passed (the update files came from a server on the same PC). Unit tests: 638 on Windows and 751 on Linux (WSL2), no failure. Not checked: other GPUs.
Files
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.3.3.zip |
the start files (START.cmd) |
653e7eb14ce787f4e69b506cc865be683dffa802fb2bf0e99cd010b7fe44ecdc |
yasakani-0.3.3-win-x64.zip |
the engine and the Python package | 64830c2a9e3c1d34684a65f68a57480fffbab56ac1e4d5953f922e8b0c6db07f |
yasakani-harness-0.1.0.zip |
the agent screen (the file of 0.1.0) | a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
fast_live_uncut.mp4 |
the uncut screen recording of docs/MEASUREMENTS.md (the file of 0.1.0) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file | eac12416d649be796b0ab9856657b5cdf8787a2a0e5bca0934c14c9ad3b98677 |
Inside the engine zip: yskn.dll 41a6bbd9bc1f865c79fb77274b84c26f7d167acb3a58097e7e5933bc723d3f5c (the file of 0.3.2), yskn_inkling2.dll 282ddcc470e570207dae1362c188be57e6170518e03283475790a28c46a28c7f. The files are not code-signed; compare the checksums before you run them.
YASAKANI 0.3.3(日本語)
RTX 50 のカードで Inkling-2 Mini が速くなりました。RTX 5090 1枚で 131,072 トークンの入力を 418 秒から 95 秒で読み、32,768 トークンの後の生成は 88 から 183 tokens/s になりました。
- 速い道。 文脈の全体を見る 8 回の層の通過で 8 ビットのキーバリューキャッシュ(公開の規格の MXFP8)を使います。長い文脈を区間に分ける注意と、入力の読み込み用の新しい注意も使います。RTX 50 のカードでは、入力の専門家の計算を 4 ビット(NVFP4)のテンソルコアで行います。
- RTX 50 のカードでは標準で使います。 RTX 30・40 のカードでは試していないので、ほかのカードでは標準で使いません。
--fast onでそのカードでも使えます(RTX 50 だけの 4 ビットの部分は除きます)。--fast offはどのカードでも切ります。標準は--fast autoです。切ると 0.3.2 と同じ計算をします。RTX 5090 では、速い道を切った時のロジットとトークンが 0.3.2 とビット単位で同じでした。同じ GPU の測定の中で比べた 1 回では 1〜2% 遅く、4,096 トークンの後の生成は先読みなしで 160.4 対 163.7 tokens/s、先読みありで 257.8 対 261.0 tokens/s でした。ほかのカードでは測っていません。selfcheckは、--fastを付けない限り標準の道で比べます(期待値が標準の道の物だからです)。 - 編集の写し(標準では使わない。
--copy auto)。入力から写した区間を 1 回の計算で確認します。出力は変わりません。 yskn.dllと Qwen3.8 のモデルは 0.3.2 と同じです。起動ファイルの使い方も変わりません。- README と FAQ: ほかのカードの報告を今の内容に直しました(RTX 3090 と RTX 3090 Ti は #24、RTX 5060 Ti は #31、RTX 3090 での Inkling-2 Mini は #29)。「RTX 30 の報告はまだありません」という文は 11 月 20 日から古くなっていました。
- 今回入っていない物: @audreyt さんの #30(Linux 用の Inkling-2 エンジンの高速化)は、この版には入っていません。上の速い道は Windows 用のエンジン(
src/inkling2/)で私たちが作った物で、#30 のコードは使っていません。#30 は Linux で確認してから、次の版で取り込む予定です。
速さ(RTX 5090 1枚・Windows 11・2026 年 11 月 23 日・--scheme quality のフォルダー・1件ずつ・貪欲法・公開のソースファイル 53 本の繰り返しの無い文。256/4,096/32,768 トークンの後の生成は、0.3.2 と 0.3.3 を同じ GPU の測定の中で並べて測りました):
| 0.3.2 | 0.3.3・速い道 | |
|---|---|---|
| 入力の読み込み・4,096/32,768/131,072 トークン | 900/633/314 tokens/s | 1,826/1,755/1,377 tokens/s |
256/4,096/32,768/131,072 トークンの後の生成・--draft auto |
230/257/88/58 tokens/s | 268/351/183/132 tokens/s |
同じ長さの後の生成・--draft off |
202/162/93/38 tokens/s | 222/209/169/109 tokens/s |
標準の文脈は 32,768 トークンです。それより長い入力には --max-ctx で長い文脈を指定します。131,072 トークン・先読みありの GPU の使用量は 28.5 → 20.9 GiB でした。RTX 50 だけの部分を切ると(RTX 30・40 で動く形。RTX 5090 で測定)、読み込みは 1,284・1,236・1,012 tokens/s でした。RTX 30・40 の実機では試していません。
出力。 速い道は計算の仕方が少し違うので、出力は 0.3.2 と同じではありません。標準の道(32 ビットのキャッシュ)と 128 か所で比べると、第1候補の一致は 4,096 トークンの後で 126 か所、32,768 トークンの後で 123 か所でした。KL の平均は 0.0035 と 0.0059 です(別の文では 32,768 トークンの後で 128 か所全て)。貪欲法の出力は途中から分かれます。課題の正答率は測っていません。先読みと写しでは、速い道の出力は変わりません。
llama.cpp b12600 との比べ(同じ PC・ggml-org の GGUF IQ4_NL 17.63 GB・8 ビットのキーバリューキャッシュ・2 回の中央値。131,072 トークンは -ub 256 で 1 回):短い入力は llama.cpp の方が速く、4,096 トークンで 2,119 対 1,826 tokens/s でした。32,768 トークンからは速い道の方が速く読みます(1,755 対 1,467、131,072 で 1,377 対 639)。先読みなしの生成は 222/209/169/109 対 91/90/80/67 tokens/s でした。重み(こちらは 15.05 GB)と時間の測り方は違います。
写し(速い道・1 回ずつ):JSONL の編集は先読みなしで 208、先読みありで 508、先読みと写しで 791 tokens/s でした。コードの編集は 203・442・716 tokens/s です。入力を写さない文では少し遅くなります(...
YASAKANI 0.3.2
YASAKANI 0.3.2
An addendum to 0.3.1: Inkling-2 Mini can now be chosen in the start screen. Everything else is as in 0.3.1. Japanese below.
- Inkling-2 Mini in the start screen (experimental). Choice 4 of
START.cmd, orSTART.cmd --model inkling2. It downloads our converted copy from Hugging Face (about 15.3 GB, no conversion) and checks it like the other models. Text only, one request at a time, a card with 24 GB or more. - Its context from the free GPU memory. Without
--max-ctxit uses 32,768 tokens when they fit, else a shorter context, and says which. yskn.dllandyskn_inkling2.dllare the files of 0.3.1. The Qwen3.8 models are unchanged.
Update: from 0.1.7 or newer, the Update button or yasakani update, then START.cmd --model inkling2. From 0.1.6 or older, extract yasakani-quickstart-0.3.2.zip into your quickstart folder once.
Checked on one RTX 5090 (Windows 11) with a byte-identical local copy of the model: the update from 0.3.1 and a first run that chooses 4 (90 of 90 steps), selfcheck, the page's self-test (12 of 12) and the unit tests (Windows 626, WSL 739). Not checked: other GPUs and the download from Hugging Face itself.
Files
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.3.2.zip |
the start files (START.cmd) |
48f5b5b1c788bc5639fa561e5df1d18c0e9632001601cad972f265096f9f8c7f |
yasakani-0.3.2-win-x64.zip |
the engine and the Python package | 092ff8e9463dcbb119be06c78a78bf4fa7ac910097711a8b7d90186ce810000a |
yasakani-harness-0.1.0.zip |
the agent screen (the file of 0.1.0) | a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
fast_live_uncut.mp4 |
the uncut screen recording of docs/MEASUREMENTS.md (the file of 0.1.0) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file | 81f628c14e7c1fc99ab3f1c2f72ee426ace4b0756cb5232a7cd2925c1c0efae5 |
Inside the engine zip: yskn.dll 41a6bbd9bc1f865c79fb77274b84c26f7d167acb3a58097e7e5933bc723d3f5c, yskn_inkling2.dll b10248cddc7b2bceb9a26d0d28b9446db57bf71c24db4772a3829f8e66b1c078. The files are not code-signed; compare the checksums before you run them.
YASAKANI 0.3.2(日本語)
0.3.1 への追記です。起動画面で Inkling-2 Mini(試験的)を選べます。ほかは 0.3.1 と同じです。
START.cmdのモデルの質問の 4 番か、START.cmd --model inkling2で選べます。変換済みのコピーを Hugging Face から取得し(約 15.3 GB・変換は不要)、ほかのモデルと同じく点検します。文章だけ・依頼は1件ずつ・24 GB 以上のカードです。--max-ctxが無い時は、文脈の長さを GPU の空きメモリーから決めます(32,768 トークンが入らなければ短くして表示します)。- DLL 2つは 0.3.1 と同じファイルです。Qwen3.8 のモデルも変わりません。
更新: 0.1.7 以降は更新のボタンか yasakani update で更新し、そのあと START.cmd --model inkling2 で起動します。0.1.6 以前は yasakani-quickstart-0.3.2.zip を一度だけ起動ファイルのフォルダーに展開します。
確認: RTX 5090 1枚(Windows 11)で、モデルは Hugging Face と同じ手元の写しを使いました。0.3.1 からの更新と初回に 4 を選ぶ通し(90 項目)・selfcheck・画面の自己点検(12 項目)・単体試験(Windows 626・WSL 739)は、全て合格しました。ほかの GPU と、Hugging Face からの実際のダウンロードは確認していません。
SHA-256 は上の Files の表の通りです。コード署名はありません。
YASAKANI 0.3.1
YASAKANI 0.3.1
Version 0.3.0 was published on November 21 and withdrawn the same evening; 0.3.1 contains all of it. Japanese below.
Added on November 22: the converted Inkling-2 Mini (--scheme quality, with the 4-bit drafter) is on Hugging Face: yasakani-dev/Inkling-2-Mini-YASAKANI-quality (15.3 GB). Download it and use the folder without converting (hf download yasakani-dev/Inkling-2-Mini-YASAKANI-quality --local-dir <folder>, then START.cmd --model-dir <folder>; README).
What's new
- Inkling-2 Mini (experimental). Inkling-2 Mini by Thinking Machines Lab runs on a second engine library,
yskn_inkling2.dll. It uses only the general-purpose compute of the GPU, no tensor cores or other special units, and is built for the RTX 30, 40 and 50 series. Text only, one request at a time, a card with 24 GB or more; tested on one RTX 5090 under Windows 11. License: Apache-2.0 and its Model Acceptable Use Policy. - A converter,
tools/convert/inkling2_convert.py, makes a model folder from the download (about 20 GB) and keeps the published weights by default. With--scheme qualityit writes one file of 15.05 GB instead of 19.5 GB (KL 0.0110 against the published model; the same most likely next token at 96.0 % of 14,024 positions), faster and with less GPU memory (table below). - The model's drafter (
--draft auto|on|off, defaultauto). The output does not change: in all our runs of 0.3.1, greedy decoding gave the same tokens with and without it. Two changes since 0.3.0:autostops the guesses where the drafter is not confident. Against the engine of 0.3.0 (10 prompts of 200 tokens, median of 3 rounds) it was 11 % faster with the published weights and 5 % faster with--scheme quality.--scheme qualitystores the drafter in 4 bits asmtp_d4.yskn(209.7 MB instead of 635.8 MB).--drafter-scheme publishedkeeps the published file.
- Tool calls in
yasakani servefor Inkling-2 Mini:tools,tool_choice(auto,none,requiredor a named function) andtool_calls, streamed or not. The reading of the model's call blocks draws on #28 by @audreyt; we wrote our own version. - Inkling-2 Mini on Linux, built from source (#28, @audreyt). With
-DYSKN_WITH_INK2=ON(off by default),libyskn.soholds an engine that reads the downloaded folder without conversion; the Windowsyskn.dllis built without it (BUILDING.md). --suppress-tokensfor the Qwen models: a JSON file of tokens thatserveandchatnever generate (#26, @audreyt).--yarn2for the Qwen models, experimental: a context of up to 524,288 tokens (the model's own is 262,144). With it on, the outputs change at every length (#27, @audreyt).
Speed of Inkling-2 Mini
Measured with the YASAKANI engine (the Inkling-2 library of this release, general-purpose compute only): one RTX 5090, Windows 11, November 22, 2026, yasakani bench, greedy, thinking off, 256 tokens, mean of 4 prompts, median of 3 runs after one warm-up, one request at a time.
| weights | --draft off |
--draft auto (default) |
engine allocations at 32,768 tokens (off / auto) |
|---|---|---|---|
| published | 161.2 tokens/s | 212.5 tokens/s | 22.7 / 23.8 GB |
--scheme quality |
203.8 tokens/s | 225.9 tokens/s | 18.9 / 19.5 GB |
- The drafter's gain depends on the text. With
--scheme quality,off→auto(200 tokens per prompt, median of 3 rounds): JSON 204.2 → 266.7, code 205.3 → 225.9 tokens/s. - Japanese prose is a little slower with
autoon the--scheme qualityweights (1.5 to 2.2 %).--draft offavoids that. - The 4-bit drafter against the published one (
--draft auto,--scheme qualityweights): 1.6 % slower over all our test prompts, 18 % slower on code, 9 % faster on JSON.
How to update
- From 0.1.7, 0.2.0 or 0.2.1: the Update button, the menu or
yasakani update. Your models are kept. Inkling-2 Mini is not in the model question: download and convert it as in the README. - From 0.1.6 or older: download
yasakani-quickstart-0.3.1.ziponce by hand, extract it into your quickstart folder and runSTART.cmd. - Manual installation: unpack
yasakani-0.3.1-win-x64.zipandpip install --upgradethe folder. On Linux, build from source.
What we checked
On one RTX 5090, November 22, 2026 (Windows 11 unless noted):
- Inkling-2 Mini gave the 30 tokens that the official test of the model's code in transformers expects: our engine with the published weights, and the engine of #28 under WSL2 (Ubuntu 24.04, CUDA 13.1) with the folder as downloaded.
- The drafter: greedy output the same as plain greedy with
--draft off,autoand depths 1, 3 and 7, with both kinds of weights (10 prompts of 300 tokens and one of 1,500 tokens). - Tool calls: with
tool_choicerequiredthe server returned a call with finish reasontool_callsin 10 of 10 runs with thinking and 5 of 5 without (--scheme qualityfolder). - The Qwen models with neither new option set, against the
yskn.dllof 0.2.1: the logits of 25 prompts bit for bit, and the 15 tasks of the speed table with the same tokens and a speed within 0.3 %. --suppress-tokensand--yarn2: no suppressed id came out with lists of 40 and of 55,328 ids (21 answers per model, 12 requests toserve --parallel 3). With--yarn2 --max-ctx 524288the fastest model answered a prompt of 298,788 tokens.- The update from the released 0.2.1: 60 of 60 steps passed (the update files came from a server on the same PC). Unit tests: 526 on Windows and 639 on Linux (WSL2), no failure.
Not checked and limits
- GPUs other than the RTX 5090. Cards under 24 GB cannot hold Inkling-2 Mini; we have not run it on a 24 GB card.
- Inkling-2 Mini with images or with several requests at once: neither is supported in 0.3.1.
--suppress-tokensand--yarn2are refused for its folders. - Accuracy on tasks: for Inkling-2 Mini we measured only the agreement with the published model. For
--yarn2, quality beyond 262,144 tokens. - The engine of #28 on native Linux and its speed. The numbers of its author are not ours.
- "Thinking off" is our own setting; the model card says its lowest effort does not fully turn thinking off. With tools and thinking off, it still thought for 34 to 85 tokens in our runs.
- The agent screen (
yasakani-harness-0.1.0.zip) is unchanged and does not run Inkling-2 Mini.
Files
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.3.1.zip |
the start files (START.cmd) |
2c97ecf33b1bdb95bbc328a79358bace838bf9c638e0375c70933bad203d24c3 |
yasakani-0.3.1-win-x64.zip |
the engine and the Python package | 545c60f46052c1875b3cf887c2774b97c67fc33aa4197f2dcba67484ed033e53 |
yasakani-harness-0.1.0.zip |
the agent screen (the file of 0.1.0, unchanged) | a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
fast_live_uncut.mp4 |
the uncut screen recording described in docs/MEASUREMENTS.md (the file of 0.1.0) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file |
Inside the engine zip: yskn.dll 41a6bbd9bc1f865c79fb77274b84c26f7d167acb3a58097e7e5933bc723d3f5c, yskn_inkling2.dll b10248cddc7b2bceb9a26d0d28b9446db57bf71c24db4772a3829f8e66b1c078. The files are not code-signed; compare the checksums before you run them.
The three Qwen models on Hugging Face are unchanged. Details: README, FAQ.
YASAKANI 0.3.1(日本語)
0.3.0 は 11 月 21 日に公開し、同じ夜に取り下げました。0.3.1 にはその中身が全て入っています。
11 月 22 日の追記: 変換済みの Inkling-2 Mini(--scheme quality、4 ビットの先読み用のモデルを含む)を Hugging Face に置きました(yasakani-dev/Inkling-2-Mini-YASAKANI-quality、15.3 GB)。取得したフォルダーを、変換せずにそのまま使えます(hf download yasakani-dev/Inkling-2-Mini-YASAKANI-quality --local-dir <フォルダー> のあと START.cmd --model-dir <フォルダー>。README)。
主な変更
- Inkling-2 Mini(試験的)。 Thinking Machines Lab の Inkling-2 Mini が、2 つ目のエンジンのライブラリ
yskn_inkling2.dllで動きます。テンソルコアなどの専用回路を使わず、GPU の汎用の計算だけで動きます。RTX 30・40・50 シリーズ向けに組んでいます。文章だけ・1件ずつ・24 GB 以上のカードです。確認したのは RTX 5090 1枚と Windows 11 だけです。ライセンスは Apache-2.0 と利用の規定(Model Acceptable Use Policy)です。 - 変換のプログラム。
tools/convert/inkling2_convert.pyが、ダウンロードしたモデル(約 20 GB)からモデルのフォルダーを作ります。標準では公開の重みのままです。--scheme qualityでは 19.5 GB が 15.05 GB のファイル 1 つになり(公開のモデルとの KL 0.0110。14,024 か所の 96.0% で次に最も出やすいトークンが同じ)、速く、GPU のメモリーも減ります(下の表)。 - 先読み用のモデル(
--draft auto|on|off、標準はauto)。出力は変わりません。0.3.1 の私たちの測定では、貪欲法の出力は先読みのありなしで全て同じでした。0.3.0 からの変更は 2 つです。autoは、先読み用のモデルの自信が低い所で予想を打ち切ります。0.3.0 のエンジンと比べて(入力 10 個の 200 トークン・3 周の中央値)、公開の重みで 11%、--scheme qualityで 5% 速くなりました。--scheme qualityは先読み用のモデルを 4 bit のmtp_d4.ysknで書きます(635.8 MB → 209.7 MB)。--drafter-scheme publishedなら公開のファイルのままです。
yasakani serveでツール呼び出しが可能になりました(Inkling-2 Mini)。tools・tool_choice(auto・none・required・関数名の指定)を受け付け、tool_callsで返します。逐次の出力でも使えます。モデルの呼び出しの部分の読み方は #28(@audreyt)を参考にして、私たちが書き直しました。- Linux ではソースから組み立てて使えます(#28、@audreyt)。`-DYSKN_...
YASAKANI 0.2.1
YASAKANI 0.2.1
This version changes the Windows quickstart only: the browser page opens at once, and it can do more. The engine library (yskn.dll) and the models are those of 0.2.0, so speed and answers do not change.
What is new
- The browser page opens directly. From the second run on (once your model has passed the checks),
START.cmdopens the browser page without the model question and without the menu.START.cmd --menushows the menu. In the menu the browser chat is now item 1, and Enter alone picks it (before, Enter alone ended the launcher). - No blank wait. The page opens before the model is loaded. It shows the loading with the seconds, and when the model is ready you can chat without reloading the page. If the model cannot start, the page says so.
- Four tabs in one page.
- Chat: as before, plus a choice of how much the model thinks (low, medium, xhigh) and copy buttons on code.
- Speed test: one fixed question, measured in the browser (average and highest tok/s, the time to the first output, the number of tokens). It is a rough figure for that one question;
yasakani benchstays the standard measurement. - API: the address and the model name for other programs, with samples for Python and curl.
- Model / status: the GPU, its memory in use, the context limit, a switch between the models you have downloaded, and quit.
- Quit from the page. The quit button stops
yasakani serve, frees the GPU memory and ends the launcher; the black window then closes by itself. After an error the window stays open so that you can read the message. - Switch models from the page. The launcher stops the server, starts it with the other model and the page goes on. A model that was never used on this PC is checked first (the page says so while it waits).
- Fixed: an error after the Update button. When an update was started with the Update button of the page, the new start files tried to replace the engine while the server of the version before was still ending, and the launcher could stop with an error. The new start files now wait for the old server, and after it stops its own server the launcher waits until the engine library is free. We found this in the update test of this version; 0.2.0 has the same code, so it may also have happened in updates to 0.2.0.
On our PC (RTX 5090, Windows 11, models downloaded and checked before, Edge already running) the page was open 0.5 s after the start (one start) and the quality model was ready after 7 and 10 s (two starts).
Safety of the page
- The page still talks only to this PC: no web fonts, no images or scripts from other hosts, and the same content security policy as before.
- The two new requests that change something (quit, switch model) need a token that works once, in a request header, and they must come from the page's own address. The checks of the Host, Origin and Sec-Fetch-Site headers apply to every request as before. The page cannot be shown inside another page (
X-Frame-Options: DENY). Details: SECURITY.md.
How to update
- From 0.1.7 or 0.2.0: accept the offer in the menu or the Update button in the browser chat, or run
yasakani updateorSTART.cmd --action update. The models you downloaded are kept. - From 0.1.6 or older: download
yasakani-quickstart-0.2.1.ziponce by hand, extract it into your quickstart folder (replace the old start files) and runSTART.cmd. The models you downloaded are kept. The engine and the Python package are installed again. - Manual installation: download and unpack
yasakani-0.2.1-win-x64.zip(its SHA-256 is inSHA256SUMS.txt), thenpip install --upgradethe unpacked folder. Itsyskn.dllis the file of 0.2.0. On Linux nothing changes for the engine;git pullbrings the documents and the tests.
What was checked
On one RTX 5090, Windows 11 (November 21, 2026), with Edge:
- The start: the page's window appeared 0.5 s after the start while the launcher still said "loading"; the model was ready 7.0 s after the start; a quit request ended the launcher with exit code 0 and left no process behind.
- In the page, by hand: a chat answer (324 tok/s, 391 tokens), the speed test (average 576 tok/s, highest 626, first output after 0.06 s, 768 tokens), the API tab, a switch from the quality model to the fastest model (ready again after 9 s) with a chat answer after it, and the quit button (the page said it had stopped; no
yasakani servewas left and the GPU memory was back at its level before the start). - The update from the released 0.2.0 to this version with the files of this release, and the start after it (50 steps with the fastest model: the update by the page's Update button and by the menu, the direct start after it, a chat answer through the page, the quit request,
info/verify/selfcheck,--web-test, and going back to 0.2.0; in this test the update files came from a server on the same PC, not from GitHub). - The unit tests of the package and the launcher on Windows and on Linux (WSL2).
Not checked
- Browsers other than Edge (the page uses nothing special, but only Edge and headless Edge were run).
- GPUs other than the RTX 5090. On cards with less than 24 GB the page offers only the models the launcher offers there.
- The Enter key in a real console window was tested with a stand-in for the console, not by hand.
- The agent screen (
yasakani-harness-0.1.0.zip) is unchanged and still comes with its own older server.
Downloads
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.2.1.zip |
the quick way to try it: unpack it and double-click START.cmd |
956e634d89bae5126b49cf6a28f04210e916be22781c6773e76a8f0aa05797ef |
yasakani-0.2.1-win-x64.zip |
the engine: yskn.dll and the Python package |
eb3f7e9401bcf7ca85887255f298c08c898d0bdf68a01d607794a20050123634 |
yasakani-harness-0.1.0.zip |
the agent screen, to use after the quickstart (the file of 0.1.0, unchanged; it comes with an older version of the server; needs 24 GB or more) | a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
fast_live_uncut.mp4 |
the uncut screen recording described in docs/MEASUREMENTS.md (the file of 0.1.0, unchanged) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file |
yskn.dll inside the engine zip has the SHA-256 c995bb24c297ae823dfc92eaaf3357401083a9922abe2fdfeb56509c323fd052; it is the library of 0.2.0, unchanged (BUILDING.md). The files are not code-signed, so Windows may warn about them. Compare the checksums before you run anything.
The models are on Hugging Face and have not changed. You need only one of them:
- quality model (recommended, 24 GB or more): https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-quality
- fastest model: https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-speed
- max-quality model (24 GB or more; needs 0.2.0 or newer): https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-max-quality
YASAKANI 0.2.1(日本語)
この版で変わったのは Windows の起動ファイルだけです。ブラウザーの画面がすぐに開き、画面でできることが増えました。エンジン本体(yskn.dll)とモデルは 0.2.0 と同じなので、速さと答えは変わりません。
主な変更
- ブラウザーの画面を直接開きます。 2 回目からは(モデルの確認が済んでいれば)、
START.cmdがモデルの質問とメニューを出さずにブラウザーの画面を開きます。メニューを出す時はSTART.cmd --menuです。メニューでは 1 番がブラウザーのチャットになり、Enter だけで選べます(これまでは Enter だけだと終了でした)。 - 無反応の待ち時間がなくなりました。 画面はモデルの読み込みを待たずに開きます。読み込みの経過を秒数で表示し、終わると画面を開き直さずに会話できます。モデルが起動できなかった時は、画面にそう表示します。
- 1 つの画面にタブが 4 つあります。
- チャット:これまでの機能に加えて、思考の量(low・medium・xhigh)を選べます。コードにはコピーのボタンが付きます。
- スピード測定:決まった 1 問をブラウザーの中で測ります(平均と瞬間最大の tok/s・最初の出力までの時間・トークン数)。この 1 問だけの目安です。標準の測定は
yasakani benchです。 - API 接続:ほかのプログラムから使うためのアドレスとモデル名です。Python と curl のサンプルが付きます。
- モデル・状態:GPU の名前・メモリーの使用量・文脈の上限を表示します。ダウンロード済みのモデルの切り替えと終了もここでできます。
- 画面から終了できます。 終了ボタンは
yasakani serveを止めて GPU のメモリーを空け、起動ファイルを終了します。黒い画面は自動で閉じます。エラーで止まった時は、内容を読めるように黒い画面が開いたままになります。 - 画面からモデルを切り替えられます。 起動ファイルがサーバーを止めて別のモデルで起動し直し、画面はそのまま使えます。このパソコンで初めて使うモデルは、先に確認をします(待っている間、画面にそう表示します)。
- 修正:更新するボタンの後のエラー。 画面の 更新する のボタンから更新すると、前の版のサーバーが終わりきる前に、新しい起動ファイルがエンジンを置き換えようとしていました。そのため、起動ファイルがエラーで止まることがありました。新しい起動ファイルは、前のサーバーが終わるのを待ちます。自分のサーバーを止めた後も、エンジンのファイルが空くまで待つようにしました。この版の更新の試験で見つけた不具合です。0.2.0 も同じコードなので、0.2.0 への更新でも起きていた可能性があります。
私たちのパソコン(RTX 5090・Windows 11。モデルの取得と確認は済み、Edge は起動済み)では、起動から 0.5 秒で画面が開きました(1 回の起動)。品質モデルは 7 秒と 10 秒で使えました(2 回の起動)。
画面の安全性
- 画面が通信する相手は、これまで通りこのパソコンだけです。外部のフォント・画像・スクリプトは読み込みません。コンテンツセキュリティポリシーも変えていません。
- 新しく加えた 2 つの操作(終了・モデルの切り替え)には、1 回だけ使えるトークンをヘッダーに付ける必要があります。画面自身のアドレスから送られた要求だけを受け付けます。Host・Origin・Sec-Fetch-Site のヘッダーの確認は、これまで通り全ての要求に行います。画面をほかのページの中に表示することはできません(
X-Frame-Options: DENY)。詳細は SECURITY.md にあります。
更新方法
- 0.1.7 と 0.2.0 から:メニューの案内・ブラウザーのチャットの 更新する のボタン・
yasakani update・START.cmd --action updateのどれでも更新できます。ダウンロード済みのモデルはそのまま使えます。 - 0.1.6 以前から:
yasakani-quickstart-0.2.1.zipを今回だけ手で取得し、今の起動ファイルのフォルダーに展開して(古い起動ファイルを置き換えて)START.cmdを実行します。ダウンロード済みのモデルはそのまま使えます。エンジンと Python のパッケージは入れ直します。 - 手で入れた場合:
yasakani-0.2.1-win-x64.zipを取得して展開し(SHA-256 はSHA256SUMS.txt)、展開したフォルダーをpip install --upgradeします。中のyskn.dllは 0.2.0 と同じファイルです。Linux のエンジンは変わりません。git pullで文書と試験が更新されます。
確認したこと
RTX 5090 1 枚・Windows 11・Edge(2026 年 11 月 21 日):
- 起動:起動から 0.5 秒で画面が開き、その時の表示は「読み込み中」でした。モデルは起動から 7.0 秒で使えました。終了の要求で起動ファイルは終了コード 0 で終わり、プロセスは残りませんでした。
- 画面の操作(手作業):チャットの回答(324 tok/s・391 トークン)とスピード測定(平均 576 tok/s・瞬間最大 626・最初の出力まで 0.06 秒・768 トークン)を確認しました。API 接続の表示も確認しました。品質モデルから最速モデルへの切り替えは 9 秒で終わり、その後の会話もできました。終了ボタンを押すと画面に終了と表示され、
yasakani serveは残らず、GPU のメモリーは起動前の量に戻りました。 - 公開中の 0.2.0 からこの版への更新と、その後の起動を、この版のファイルで確認しました(最速モデルで 50 項目:画面の 更新する のボタンからの更新・メニューからの更新・その後の直接の起動・画...
YASAKANI 0.2.0
YASAKANI 0.2.0
This version brings two things: it is faster (prompts are read faster on the RTX 5090, and the new edit copy speeds up repeated replacements), and it adds a third model, the max-quality model.
Faster. Quality model, RTX 5090, the first read of a prompt (nothing reused), thinking off, one request at a time, median of 2 runs: 5,153 input tokens/s at 8,192 tokens (0.1.7: 4,248) and 4,647 at 32,768 tokens (0.1.7: 3,774), with the same answers as 0.1.7. The edit copy makes edits that replace the same text again and again faster: a key renamed in every line of a JSONL file ran at 1,151.4 tok/s with the edit copy off and 2,039.8 tok/s with it on (1.77 times as fast; quality model, RTX 5090, context 32,768, temperature 1.0, thinking off, one request at a time, mean of 2 runs), with the same output.
The max-quality model. The same Qwen3.8-27B with one bit per weight more than the quality model in each part (15.72 GB). On 20 thinking texts (default KV5, RTX 5090) its KL against the original BF16 model is 0.0040 (quality model 0.0126), and it picks the same most likely next token at 97.40% of positions (quality model 95.35%). It generates at about 0.8 to 0.9 times the speed of the quality model. It needs a card with 24 GB or more and is tested on the RTX 5090 only. The quality model stays the recommended one for everyday use.
What is new
1. Faster: prompt reading and the edit copy
-
Faster prompt reading on the RTX 5090. The first read of a prompt is computed layer by layer in larger pieces, and the output layer only where it is needed. The answers do not change (see "What was checked"). RTX 5090, context 69,632, thinking off, one request at a time, the first read of the prompt with nothing reused, median of 2 runs per side, input tokens/s:
prompt (tokens) quality: 0.1.7 → 0.2.0 time ratio fastest: 0.1.7 → 0.2.0 ratio 256 2,728 → 2,846 93.8 → 89.9 ms 1.04 2,906 → 3,020 1.04 2,048 4,398 → 5,007 465.6 → 409.1 ms 1.14 4,434 → 4,959 1.12 8,192 4,248 → 5,153 1.929 → 1.590 s 1.21 4,259 → 5,102 1.20 32,768 3,774 → 4,647 8.683 → 7.051 s 1.23 3,774 → 4,601 1.22 65,536 3,288 → 4,081 19.93 → 16.06 s 1.24 3,277 → 4,051 1.24 With thinking on: 8,192 tokens 1.21 times as fast with both models; 32,768 tokens 1.25 times (quality model) and 1.24 times (fastest model).
- It needs more GPU memory: a work area that the engine makes at the first long prompt and keeps until the model is closed. On the RTX 5090 the peak GPU memory was 1,385 to 1,388 MiB higher than with 0.1.7 (quality model) and 1,476 to 1,479 MiB higher (fastest model).
- The engine makes that work area only when the GPU has the area plus 1 GiB free. Otherwise it prints
[q35_layer] capacity fallback; no context reductiononce and, until the model is closed, reads prompts without the work area. The other changes of 0.2.0 stay on and the output is the same. This is not an error. - Only on cards with 30,000 MiB or more by default (such as the RTX 5090; we ran only the RTX 5090). Smaller cards (RTX 30 / 40, 16 GB RTX 50) and cards whose memory nvidia-smi cannot tell read prompts exactly as 0.1.7 did, with the same GPU memory. One line at start says which reading is used and why, for example
prompt reading: new (setting auto: 32607 MiB card).yasakani infoprints the same for every GPU, andyasakani reportincludes it. --prefill auto|new|oldonchat,serve,benchandselfcheck(orYASAKANI_PREFILL; defaultauto).oldreads prompts as 0.1.7 did on any card, also the passes of 64 tokens. A wrong value stops before the model is loaded.--prefill newon a card under 30,000 MiB is experimental and was never run on a real card of that size. The package then leaves 1,800 MiB more free when it chooses the context (one line says so). Where that would cost more than half of the context it does not, and the engine decides by its own check. On the RTX 5090 set up as a 24 GB card it used the new reading and read a 32,768-token prompt in 7.56 s against 9.00 s with 0.1.7 (1.19 times as fast), with the same output. Set up as a 16 GB card, the engine found no room at the context the package chose and read prompts without the work area (same output).
-
A changed long prompt is read again from the middle. The first read of a long prompt now saves more states inside it (prompts of 32,768 tokens and more in our measurements). When a known prompt changes in the middle, reading starts again at the last saved state before the change instead of at the start. A 32,768-token prompt changed at 25 %, 50 % and 75 % of its length and read again (RTX 5090, quality model, thinking off, median of 2 runs): 8.701 → 5.776 s (1.51 times as fast), 8.702 → 4.238 s (2.05) and 8.707 → 2.070 s (4.21). Fastest model: 1.49, 2.04 and 4.21 times as fast. 0.1.7 read such a prompt again from the start.
-
The edit copy (on by default). When an edit replaces the same text again and again, such as a key renamed in every line or a column renamed in every view, the copy passes reuse the replacements the model has already confirmed. The model still checks every drafted token, so the output does not change. It acts when one request is generated at a time (also under
serve --parallel Nwhile a request runs alone); the shared passes of several requests running together do not use it. RTX 5090, context 32,768, temperature 1.0, thinking off, one request at a time, mean of 2 runs, tok/s with the edit copy off → on:- Quality model: a JSONL key renamed in every line 1,151.4 → 2,039.8 (1.77 times as fast), an SQL column renamed in every view 1,168.5 → 2,101.0 (1.80).
- Fastest model: 1.61 and 1.60 times as fast on the same two tasks.
- The two rename tasks are not part of
yasakani bench --edit, and their prompt files are not in this release (what they are). - The three tasks of
yasakani bench --edit(code edit, JSONL edit, long JSONL edit): 1.08, 1.01 and 1.01 times as fast (quality model), 1.06, 1.00 and 1.00 (fastest model). --edit-copy off(orYASAKANI_EDIT_COPY=off) turns it off. At start,edit copy: onsays that it is used.
-
Generation speed is unchanged. On the 15 tasks of the speed tables (thinking off, one request at a time, 3 runs per side) the summed speed differed from 0.1.7 by +0.37 % (quality model) and +0.45 % (fastest model) with the edit copy on. Only reading a prompt and, with the edit copy, edits with repeated replacements get faster.
-
The check of the wide copy passes is measured again once. The check on the card now also compares passes of 64 tokens after position 4,096 (463 positions in all). A result kept by 0.1.7 is measured again at the first start. On the RTX 5090 the model was ready after 28 seconds (quality model) and 27 seconds (fastest model) at that start; 0.1.7 measured in the same way took 27 and 26 seconds (one start each).
-
The same settings everywhere. The quickstart's "compare look-ahead on and off" and
tools/quality/score_yasakani.pyuse the same prompt reading and edit copy asyasakani chat.
2. A third model: the max-quality model
- What it is. The same Qwen3.8-27B, converted with one bit per weight more than the quality model in each part: 288 matrices of the body at 5 bits and 112 at 4 bits per weight, the output matrix at 5 bits, the embedding table at 4 bits. The weights file is 15.72 GB (quality model 12.37 GB); with the draft model the folder is about 18.3 GB. The quality model stays the recommended one for everyday use.
- Closer to the original. 20 thinking texts not used in the conversion (20,460 positions), against the original BF16 model, default KV5 cache, RTX 5090, November 20, 2026: KL 0.0040 (quality model 0.0126) and the same most likely next token at 97.40% of positions (quality model 95.35%). This is agreement on thinking text, not task accuracy; general text, Japanese and code were not measured this way.
- Against GGUF files of Qwen3.8-27B on the same 20 windows (llama.cpp b11700, FP16 KV cache, November 19 and 20, 2026): the max-quality model has a lower KL than Q4_K_M (0.0073; 17.20 GB without the auxiliary layers) and a smaller file. Against Unsloth UD-Q4_K_XL (17.31 GB) the KL and the top-1 agreement are about the same (0.0040 and 0.0041; 97.40% and 97.36%), and the file is 1.58 GB smaller. We have not checked whether these gaps hold beyond these 20 windows. KV5 raises the KL of the quality model by about 0.0004 against an FP16 cache, so this condition does not favour the YASAKANI rows. To run as shipped, the max-quality model also needs the draft model (2.58 GB).
- Slower generation. Against the quality model on the same PC (RTX 5090, default settings, one request at a time): the four
yasakani benchtasks 403.4 against 439.3 tok/s with thinking off (0.92 times) and 317.9 against 392.4 tok/s with thinking on (0.81 times; 512 tokens, greedy, median of 6 runs per task). Reading a prompt and the three edit tasks run at about the same speed (0.97 to 1.00 times; for example the JSONL edit 2,267.6 against 2,335.8 tok/s, and the first read of 32,768 tokens 4,719 against 4,739 input tokens/s). - More GPU memory. 25,977 MiB after loading (quality model 22,795 MiB), at most 26,821 MiB while reading 32,768 tokens and generating 2,048 (quality model 23,637 MiB). Context 262,144 on the RTX 5090.
- Cards. Tested on the RTX 5090 only. On a 24 GB card (24,564 MiB) the package would choose a context of 163,840 tokens when the desktop uses 500 MiB (196,608 with nothing else on the GPU); this is a calculation, not checked on such a card. It does not fit on 16 GB cards, and the quickstart offers it only on cards with 24 GB or more. The code for RTX 30 and 40 cards was run on the RTX 5090 with test builds, not on those ca...
YASAKANI 0.1.7
YASAKANI 0.1.7
This version adds updates from the quickstart, wide copy passes on RTX 30 / 40 cards after a check on the card, and, as an experiment, several requests at once on one GPU.
What is new
- Updates. The quickstart (
START.cmd) asks GitHub for a newer release at most once a day, when the menu opens. It says so before it asks. If there is a newer version, it shows the old and the new version and asks before it changes anything. The browser chat shows the same offer with an Update button. The update checks the SHA-256 of the files, keeps the old start files, and keeps your models.START.cmd --action rollbackgoes back to the version before.START.cmd --no-update-checkturns the daily check off. How the update works yasakani update. In a quickstart folder it starts the same update. After a manual installation it prints the installed and the latest version and the steps, and changes nothing. No other command contacts the network.- Wide copy passes on RTX 30 / 40 cards. The passes that check up to 64 copied tokens at once (since 0.1.4, used on RTX 50 cards only) are now used on RTX 30 / 40 cards too, after a check on the card at the first start of
chat,serve,benchorselfcheck. A width (32, 48 or 64 tokens) is used only if it gives the same predictions as 16-token passes, bit for bit, and is faster on that card. On RTX 50 cards the same check leaves out a width that is slower there. The result is kept; after an update the check runs once more. The 0.1.7 test build (v0.1.7-test1, a pre-release) let owners of other cards try them first.- Only answers that copy the input, such as edits, get faster. Normal prose does not.
--wide offturns them off.yasakani reportprints a report to paste on GitHub.- With
--parallel, a request that runs alone uses the opened widths; passes shared by several requests do not. - On RTX 30 / 40 cards, when less than 128 MiB of GPU memory is free after the graphs of the check, no width is used (a shorter
--max-ctxfrees memory). FAQ
- Several requests at once (experimental).
yasakani serve --parallel Ngenerates up to N requests at the same time on one GPU. Each request has its own context. The default is--parallel 1, one request at a time, as before. Section in the README - A fix for long-running servers. The engine keeps at most 32 CUDA graphs for the passes that read a prompt and drops the one used longest ago. Before, a server kept one graph for every prompt length it had read, so its GPU memory could grow over hours.
- Community conversions. The README lists a second one, Arete-27B-pi by @audreyt (#23). Community conversions are not checked or maintained by this project.
- DGX Spark. Loading a model no longer stalls on the DGX Spark (GB10, Linux ARM64). On that device the weights go to the GPU through a small staging buffer; other GPUs copy them as before (#25, @audreyt).
How to update
- From 0.1.6 or older (and from the 0.1.7 test build): download
yasakani-quickstart-0.1.7.ziponce by hand, extract it into your quickstart folder (replace the old start files) and runSTART.cmd. The models you downloaded are kept. The engine and the Python package are installed again. - From 0.1.7 on: accept the offer in the menu or the Update button in the browser chat, or run
yasakani updateorSTART.cmd --action update. - Manual installation: download and unpack
yasakani-0.1.7-win-x64.zip(its SHA-256 is inSHA256SUMS.txt), thenpip install --upgradethe unpacked folder and use itsyskn.dll. On Linux:git pulland build again as in BUILDING.md.
What "experimental" means here
--parallelis off unless you turn it on. With the default, the server handles one request at a time, as 0.1.6 did.- The first time the server starts with
--parallel Non an engine library, GPU and driver, it runs N short requests at once and compares their tokens with the same requests one at a time. If they differ, it serves one request at a time and says so. - It has been tested far less than one request at a time, and on the RTX 5090 only. Options and defaults may change in a later version.
Limits of --parallel
- Tested on the RTX 5090 (32 GB) only. Other GPUs, 24 GB and 16 GB cards, Linux with
--paralleland PCs with two GPUs were not tested. - Edits get slower. On the code edit and the JSONL edit, 2 to 16 requests at once were 0.42 to 0.59 times as fast as the same requests sent one by one. The 12 published prompts were 1.1 to 6.6 times as fast with 16 at once. (Fastest model, thinking off, RTX 5090, development build of November 17 and 18.)
- While a prompt is read, or a request with images runs, all other requests pause. Reading 16,533 tokens takes about 4.1 seconds, 66,416 tokens about 20 seconds (RTX 5090).
- Contexts get shorter: every request gets the same length, chosen from the free GPU memory. Quality model on the RTX 5090: 196,608 tokens at N = 2, 114,688 at N = 4, 65,536 at N = 8, 16,384 at N = 16.
- The answers are the same as one at a time only when the request has its own
seedand its prompt is read the same way (timings.snap_mode). Without aseed, the result depends on the order in which requests arrive. - After tool calls, the next turn must come within the kept time (1 second for a short conversation,
--keep-turn). Later, the conversation is read again. The answer is the same. - The wait limit (
--max-wait) counts only waiting caused by kept places and next turns. A new request can wait longer than the limit. - Over long runs the GPU memory of the whole card rose by up to 71 MiB. In a 30-minute run with a development build the server's own GPU memory did not change.
- Not measured: the speed of the quality model with several requests at once, and speed with thinking on.
What was checked
On one RTX 5090, Windows 11, with the files of this release (November 19, 2026). The speed, join-and-leave, cancellation and failure checks used the same yskn.dll and a Python package that differed only in its version strings:
- One request at a time against 0.1.6: the same token ids on 35 prompts per model, before and after the check of the wide copy passes on the card. Speed on the 15 tasks of the speed tables (thinking off, temperature 1.0, top-p 0.95, top-k 20, seed 1, context 32,768, one warm-up run, three runs, the sum of the tasks): -0.03% for the fastest model (0.1.6 697.5, 0.1.7 697.3 tok/s) and -0.08% for the quality model (0.1.6 606.0, 0.1.7 605.5 tok/s), with the same token ids in every run.
- Wide copy passes: the check on the card kept every width (32, 48 and 64 tokens). At the first start, with the check, the model was ready after 26 seconds; at later starts after 5 seconds (fastest model).
--wide offturned them off, andyasakani reportran and printed no path, user name or host name. - Several at once (fastest model): every compared request gave the same output as the same conversation sent alone. This includes requests that join and leave (
--parallel 4and8, 123 requests), cancellation (21), engine failures (10) and a 30-minute mixed run with tools and images (--parallel 8, 4,948 requests, 0 different, none stuck, the server's GPU memory grew by 6.0 MiB). - A fresh installation of the engine zip in a new Python environment: self-check 3/3 and tool calls 8/8 with both models.
- An update from 0.1.6 with the quickstart of this release and the zips on the PC (not downloaded from GitHub): the models were kept and the self-check passed (3/3, fastest model).
Also on the RTX 5090, not with the files of this release:
- The code for RTX 30 / 40 cards: test builds of the same source that contain only that code (compute capability 8.6 and 8.9), compiled for the RTX 5090 when they load, gave the same predictions in wide passes as in 16-token passes, bit for bit (2,206 positions of the self-check and 14,006 positions of the three edit tasks, both models).
- Several at once, development builds of November 17 and 18 (the same GPU code as this release, function by function): about 35,000 requests compared with the same conversation sent alone, 0 different. This includes requests that join and leave, contexts up to 229,376 tokens, tool calls, images, cancellation and engine failures. A 60-minute run with 10,178 mixed requests (fastest model, N = 8): 0 different, 0 stuck.
- A Linux build from source (WSL2).
--parallelitself was not run on Linux.
Checked by its author:
- The DGX Spark fix (#25), on a DGX Spark: the quality model loaded in 13 seconds (context 2,048) and the self-check passed (3/3). #25 changes only how the weights are copied when a model loads.
Reported by users of the 0.1.7 test build in #24 (their numbers, not ours):
- RTX 4090 (Windows 10): the check opened widths 32, 48 and 64. Wide passes were equal to 16-token passes bit for bit at 335 positions. The three edit tasks ran at 770.0 → 1,420.9, 822.5 → 1,634.9 and 793.2 → 1,545.6 tok/s (wide passes off → on), with the same output.
- RTX 5060 Ti: only the 64-token width opened. The three edit tasks ran at 215.1 → 279.4, 226.9 → 300.4 and 218.8 → 280.6 tok/s, with the same output.
Not checked
- GPUs other than the RTX 5090, by us, including all 24 GB and 16 GB cards. The reports above are of the test build.
- A first installation with
START.cmdin an empty folder, with the files of this release. It downloads the engine zip of this release from GitHub, so it could not run before the release. - The wide co...
YASAKANI 0.1.7 test build 1 (pre-release)
YASAKANI 0.1.7 test build 1 (pre-release, package 0.1.7.dev1). This is a test build, not a release. The latest release stays 0.1.6, and the quickstart still installs 0.1.6.
It is for owners of RTX 30 / 40 cards and of RTX 50 cards other than the RTX 5090. It lets the card try the wide copy passes of 0.1.4 after a check on the card. Please paste the output of yasakani report into the issue for this test build.
What it changes
- Wide copy passes per GPU. Since 0.1.4 a pass that copies the input checks up to 64 tokens instead of 16. They were measured on the RTX 5090 only and used on compute capability 12.x only.
- RTX 30 / 40 (8.6 / 8.9): as in 0.1.6 (off), unless you add
--wide ontochat,serve,benchorselfcheck. Then the card checks once that passes of 17 to 64 tokens give the same predictions as passes of 16, bit for bit. It times them while the GPU is idle and uses a width (32, 48, 64) only when one copy step takes at most 0.8 × width / 16 times a 16-token step. - RTX 50: on, as in 0.1.6. The same check leaves out a width that is slower on that card.
- When the check finds a difference, no width is used and
yasakani selfcheckfails. Please report it. - The result is kept in
wide_check.json(in%LOCALAPPDATA%\yasakanion Windows,~/.cache/yasakanion Linux; no path, only a hash of the GPU's UUID). The check runs again after 30 days, with--wide-recheck, or when the wide passes often turn out slower during generation.
- RTX 30 / 40 (8.6 / 8.9): as in 0.1.6 (off), unless you add
yasakani reportruns the check, the three edit tasks ofbench --editwith the wide passes off, with the checked widths and with every width, and the self-check. It prints Markdown to paste on GitHub, with no UUID, path, user or computer name.- The engine (
yskn.dll): its GPU code is that of 0.1.6 (the machine code of all three architectures and the PTX are byte for byte the same). New: the switch per GPU (YSKN_WIDE), three exports (yskn_time_cycle,yskn_wide_state,yskn_build_info), and the copy loop now checks every 4 wide passes, by their measured time, whether they are faster than passes of 16 (docs/TECHNOLOGY.md 5.4).
How to try it
It does not touch your quickstart folder or your 0.1.6 install. You need Python 3.10 or newer and a model folder you already have (models\speed or models\quality in a quickstart folder; with less than 24 GB of GPU memory, the fastest model).
Windows. Download yasakani-0.1.7-test1-win-x64.zip below and unpack it to a new folder with a plain path, for example C:\yasakani-test. In a command prompt in that folder:
py -3 -m venv venv
venv\Scripts\python -m pip install .
venv\Scripts\yasakani report --dll yskn.dll --model-dir C:\path\to\quickstart\models\speed --out report.md
Linux (build from source, see BUILDING.md):
git clone --branch v0.1.7-test1 https://github.com/yasakani-dev/yasakani
cd yasakani
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc
cmake --build build -j
python3 -m venv .venv
.venv/bin/pip install ./python
.venv/bin/yasakani report --dll build/bin/libyskn.so --model-dir ~/models/qwen38-speed --out report.mdPaste the contents of report.md, not the console output: one line of the engine shows the full path of a model file.
To use it day to day: yasakani serve --dll yskn.dll --model-dir ... --wide on (or chat, bench; on Linux --dll build/bin/libyskn.so).
To go back: delete the test folder (on Linux the clone). 0.1.6 stays as it was. You can also delete wide_check.json (see above).
Checked, and not checked
- Checked on the RTX 5090 (Windows, driver 616.92, November 17, 2026):
- the same generated tokens as 0.1.6: 138 of 138 requests per model with the check not yet run, and 60 of 60 per model after the check, with the same number of passes;
yasakani selfcheck3 of 3 and the self-consistency test with both models;- speed against 0.1.6: −1.0% to +0.4% (the three edit tasks and the 12 public prompts, both models, with and without the check; the −1.0% is one single run, and a repeated A/B of the same case gave −0.7%);
- the check kept every width there, in 21.8 to 22.9 seconds: 32 / 48 / 64 tokens took 1.36–1.47 / 1.79–1.97 / 2.11–2.31 times a 16-token step (limits 1.60 / 2.40 / 3.20);
- the engine's code for 8.6 and 8.9, compiled for the RTX 5090 when it loads, gave the same predictions in wide passes as in passes of 16: 14,006 positions of the edit tasks, 335 of the check and 2,206 of the self-check, bit for bit;
- the server ran 30 minutes with the fastest model and 15 minutes with the quality model with no back-off from wide passes;
yasakani reporttook 85 seconds (89 with the code for 8.6).
- Not checked: every card other than the RTX 5090, and Linux (the library builds, but neither the self-check nor
yasakani reportwas run there). Two paths were only run in unit tests, not on a GPU: what happens when the check finds a difference, and the re-check after many back-offs. That means the machine code on a real RTX 30 or 40 card, any RTX 50 card other than the RTX 5090, and whether the wide passes are faster on those cards. That is what this test build is for. A "slower" or "not used" result helps as much as a fast one. - Unchanged: the models on Hugging Face, the speed tables, the quickstart (it installs 0.1.6), the harness.
Files
| File | SHA-256 |
|---|---|
yasakani-0.1.7-test1-win-x64.zip (engine and Python package) |
f8ce81e4def1004793f07ba79987d59e65ca91c1f3393a78e96f60c3a01a4734 |
yskn.dll inside it |
6bfb18a8da8f905bd22fdd300095d9d8629537a26777c4ba4b40772728c40c52 |
SHA256SUMS.txt lists the zip.
日本語
- 何か: 0.1.7 の試験版です(プレリリース、パッケージ 0.1.7.dev1)。正式なリリースではありません。最新のリリースは 0.1.6 のままで、起動ファイルも 0.1.6 を入れます。
- 対象: RTX 30・40 と、RTX 5090 以外の RTX 50 のカードを持つ方です。0.1.4 の広い写しの計算(入力を写す 1 回の計算で最大 64 トークンを確かめる)を、カードでの確かめのうえで試せます。
- 変わること: RTX 30・40 は
--wide onを付けない限り 0.1.6 と同じです。付けると、17〜64 トークンの計算が 16 トークンの計算とビット単位で同じ予測を出すかを確かめ、そのカードで速い幅だけを使います。RTX 50 は 0.1.6 と同じく使い、そのカードで遅い幅だけを外します。違いが見つかったときは広い計算を使わず、yasakani selfcheckが失敗します。 - 入れ方(Windows): 上の zip を新しいフォルダー(例
C:\yasakani-test)に展開し、そこでpy -3 -m venv venv、venv\Scripts\python -m pip install .を実行します。0.1.6 の起動ファイルのフォルダーには触れません。モデルは手元のフォルダーを使います。 - 入れ方(Linux):
git clone --branch v0.1.7-test1でソースを取り、BUILDING.md のとおりビルドし、pip install ./pythonのあと--dll build/bin/libyskn.soを付けて使います。 - 戻し方: 試験のフォルダーを消すだけです。0.1.6 はそのままです。確かめの結果
wide_check.json(Windows は%LOCALAPPDATA%\yasakani、Linux は~/.cache/yasakani)も消してかまいません。 - 確かめの中身と時間: 予測がビット単位で同じかを見たあと、GPU が空いているときに幅ごとの時間を測ります。RTX 5090 では 21.8〜22.9 秒でした。結果は残すので 1 回だけです。30 日たったとき、
--wide-recheckのとき、生成で広い計算が遅いと何度も分かったときはもう一度確かめます。 - 報告してほしいこと:
yasakani report --dll ... --model-dir ... --out report.mdを実行し、report.mdの中身を GitHub の試験版の Issue に貼ってください。RTX 5090 では 85〜89 秒でした。ほかのカードではもっとかかります。UUID・パス・ユーザー名・コンピューター名は入りません。画面の出力は貼らないでください(モデルのファイルのフルパスが 1 行出ます)。 - RTX 5090 で確かめたこと(11/17): 出力は 0.1.6 と同じ(各モデル 138/138 件、パス数も同じ)。selfcheck は両モデル 3/3。速さは 0.1.6 の −1.0%〜+0.4%。確かめはそこで全部の幅を残しました。8.6・8.9 向けのコードを 5090 向けにコンパイルしても、広い計算と 16 トークンの計算で予測がビット単位で同じでした。エンジンの GPU のコードは 0.1.6 と同じです(3 世代の機械語と PTX)。
- 分かっていないこと: RTX 5090 以外のすべてのカードと、Linux です(Linux はビルドできることだけ確かめました)。RTX 30・40 の実機での正しさ、5090 以外の RTX 50、そこで速くなるかは分かっていません。それを確かめるのがこの試験版です。「遅かった」「使われなかった」という結果も同じくらい役に立ちます。
YASAKANI 0.1.6
YASAKANI 0.1.6: yasakani bench --edit, the edit tasks of the speed tables with one command on your PC, and a fix for PCs with
several GPUs (#20). With one GPU the generated text (greedy) and the speed are those of 0.1.5 (checked on
the RTX 5090).
YASAKANI is a local LLM engine for Windows and one NVIDIA RTX GPU (tested on the RTX 5090), built for Qwen3.8-27B. Open
source, Apache License 2.0. 日本語の説明は README.ja.md にあります。
What changed since 0.1.5
-
yasakani bench --edit. One command runs the three edit tasks of the speed tables on your PC: the code edit and the JSONL edit of
the README table, and the long JSONL edit (160 records) of "What 0.1.4 changed", with the prompts, output limits and expected answers
ofbench/(they come with the package, so a quickstart folder is enough). Greedy and thinking off as in the tables, each task until
the model ends its answer;--thinkturns thinking on, with temperature 1.0 and an output limit of 32,768 tokens for every task, so
its tok/s varies from run to run and it does not reproduce the thinking columns of the tables. For each task it prints the tokens,
the seconds, tok/s, the tokens per pass,
the number of wide copy passes and whether the answer is the expected one. The first lines name the package version, the SHA-256 of
yskn.dll, the GPU (name, compute capability, driver), the model file and whether wide copy passes are used, so a pasted result says
what it was measured with. The wide copy passes behind the edit numbers are used on compute capability 12.x (RTX 50 series) only,
and were measured on the RTX 5090 only. In a quickstart folder: open a command prompt there, runyasakani_env.cmd, then
yasakani bench --edit. More in the FAQ. -
Several GPUs (#20, reported by @yoshi131). On a PC with two GPUs, 0.1.5 with
--device 1stopped with
graph instantiate failedwhile the other GPU was visible; with only that GPU visible it passed. The cause, as far as we can tell
without two GPUs: CUDA's current GPU belongs to the thread, the engine chose its GPU only on the thread that opened it, and generation
runs on other threads. Two fixes:- The engine (
src/c_api.cpp): every exported function that takes the engine and can reach the GPU now makes the engine's GPU current
first, on whatever thread it is called. The exported functions and the GPU code are unchanged. - The package:
chat,serve,benchandselfchecksetCUDA_VISIBLE_DEVICESto the UUID of the chosen GPU (GPU N of
nvidia-smi) before the engine library is loaded, and print one line that says so (without the UUID). When nvidia-smi gives no UUID
for that GPU, nothing is hidden and the line says so. ACUDA_VISIBLE_DEVICESyou set yourself is kept. With one GPU nothing changes.
The quickstart already used only the GPU it checked. Update, November 18: the reporter confirmed the fix on a PC with two GPUs (RTX A2000 and RTX 5060 Ti):
yasakani selfcheck --device 1passes with both GPUs visible, with and withoutCUDA_VISIBLE_DEVICESset (#20). When 0.1.6 was released this was not yet confirmed on a PC with two GPUs: we have one GPU, and that check is
pending with the reporter of #20. - The engine (
-
Community conversions (#16, @audreyt). A new section of the README lists model files that other
people made with the converter intools/convert/; the first is Arete-27B. They are not checked or maintained by this project.
Only the README changed (also README.ja.md); the engine, the package and the models are not affected. -
Checked on the RTX 5090: with the engine and package of 0.1.6 before
bench --editwas added (it adds a command and changes
nothing else), a new install and an update from 0.1.5 that kept the downloaded model (yasakani selfcheck3 of 3 with both models)
and the 8 tool-call checks (8 of 8 with both models). With the sameyskn.dll, 60 greedy generations with each model gave the same
tokens and passes as 0.1.5, and inyasakani bench(4 prompts with each model) the speed differed from 0.1.5 by -0.44% to +0.26%.
On one GPU we also let the engine generate on a thread whose current CUDA context was another one, and then removed that context:
0.1.5 crashed on the next generation, 0.1.6 gave the same tokens as before. -
Unchanged: the two models on Hugging Face, the speed tables, the harness zip (0.1.0) and the recording. The harness zip starts the
server with its own older copy of the package, so the package change does not reach it.
日本語: 0.1.6 の変更は 3 つです。GPU のコードは 0.1.5 と同じです。GPU が 1 枚なら、貪欲の生成で出る文と速さは 0.1.5 と同じです(RTX 5090 で確認)。
1. 編集の速さを自分で測れます(yasakani bench --edit)
- 速さの表の編集の課題 3 つを、1 つのコマンドで自分のパソコンで動かせます。README の表のコード編集と JSONL 編集、「0.1.4 で変わったこと」の長い JSONL 編集(160 件)です。質問文・出力の上限・期待する答えは
bench/の記録と同じです。パッケージに入っているので、起動ファイルのフォルダーだけで動きます。 - 表と同じく、思考なし・温度 0(貪欲)で測ります。
--thinkで思考ありになり、温度 1.0、出力の上限はどの課題も 32,768 トークンです。思考ありの速さは回ごとに変わるので、表の思考ありの列と同じ値にはなりません。 - 課題ごとに、トークン数、秒、1 秒あたりのトークン数、1 回の計算で進んだトークン数、広い写しの計算の回数、答えが期待どおりかを表示します。最初の数行にパッケージの版、
yskn.dllの SHA-256、GPU(名前・計算能力・ドライバー)、モデルのファイル、広い写しの計算を使うかも出します。結果を貼るだけで、何で測ったかが伝わります。 - 編集の数字を支える広い写しの計算は計算能力 12.x(RTX 50 シリーズ)でだけ使い、測ったのは RTX 5090 だけです。
- 使い方:起動ファイルのフォルダーでコマンドプロンプトを開き、
yasakani_env.cmdを実行してからyasakani bench --editと打ちます。
2. GPU が 2 枚以上のパソコンのための直し(@yoshi131 さんの報告 #20)
- 0.1.5 では、GPU が 2 枚のパソコンでほかの GPU も見えていると、
--device 1がgraph instantiate failedで止まりました。 - 原因は次のように考えています(手元に 2 枚の GPU が無いので推測です)。CUDA の「今の GPU」はスレッドごとに決まります。エンジンはモデルを開いたスレッドでだけ GPU を選び、生成は別のスレッドで動いていました。
- 直しは 2 つです。エンジン(
src/c_api.cpp)は、どのスレッドから呼ばれても最初に自分の GPU を選びます(エクスポートする関数と GPU のコードは同じです)。パッケージのchat・serve・bench・selfcheckは、エンジンを読み込む前にCUDA_VISIBLE_DEVICESを選んだ GPU の UUID にして、その GPU だけを見せます。そのことを 1 行で表示します(UUID は表示しません)。 - nvidia-smi が UUID を返さないときは何も隠さず、そのことを 1 行で表示します。自分で設定した
CUDA_VISIBLE_DEVICESはそのまま使います。起動ファイルは前から、確かめた GPU だけを使っています。 - 11 月 18 日の追記: 報告者の方が、GPU が 2 枚のパソコン(RTX A2000 と RTX 5060 Ti)で直ったことを確かめてくださいました。2 枚とも見える状態で、
CUDA_VISIBLE_DEVICESを設定しない場合も設定した場合もyasakani selfcheck --device 1が通りました(#20)。公開した時点では、2 枚のパソコンでは確かめていませんでした。
3. README に「コミュニティの変換」の節を足しました(@audreyt さんの #16)
tools/convert/の変換器でほかの人が作ったモデルファイルの一覧です。最初は Arete-27B です。- このプロジェクトは確かめておらず、保守もしていません。変わったのは README(英語と日本語)だけです。
RTX 5090 で確かめたこと
bench --editを足す前の 0.1.6 のエンジンとパッケージで確かめました(bench --editはコマンドを 1 つ足すだけで、ほかは変えていません)。新しく入れる場合も、0.1.5 からの更新(モデルはそのまま)も、selfcheck は 3/3、ツール呼び出しは 8/8 でした(2 モデルとも)。- 同じ DLL で、貪欲の生成は 1 モデル 60 本でトークンもパス数も 0.1.5 と同じでした。
yasakani bench(4 問・2 モデル)の速さの差は −0.44〜+0.26% でした。 - GPU が 1 枚の状態で、生成を別の CUDA コンテキストのスレッドで動かし、そのコンテキストを消してから次の生成をしました。0.1.5 は落ち、0.1.6 は前と同じトークンを出しました。
- ハーネスの zip は同梱の古いパッケージを使うので、パッケージの直しは届きません。
Upgrading from any of 0.1.0 to 0.1.5: unpack yasakani-quickstart-0.1.6.zip into the folder of your quickstart (replace the files) and double-click
START.cmd again. The engine and the Python package are replaced; the model you downloaded is kept.
Thanks
- @yoshi131: the report #20, and the tests of 0.1.5 on two GPUs that showed what still failed and what
passed. Thank you. - @audreyt: #16, the Community conversions section of the README and its first entry, Arete-27B.
Thank you.
謝辞: @yoshi131 さんの #20 の報告と、0.1.5 での試験の結果で直せました。@audreyt さんの #16(README のコミュニティの変換の節)を取り込みました。ありがとうございます。
Downloads
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.1.6.zip |
the quick way to try it: unpack it and double-click START.cmd |
f85f3a3b7e80ff99a03cba44ae3806c127858d4aed57fff4ca35699947a41ec6 |
yasakani-harness-0.1.0.zip |
the agent screen, to use after the quickstart: unpack it and double-click START_HARNESS.cmd (the file of 0.1.0, unchanged; needs 24 GB or more) |
a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
yasakani-0.1.6-win-x64.zip |
the engine: yskn.dll and the Python package |
76425b0b72e4210d588901dfa975adf4f4f103dd3f0b277cc36963aa18a0656c |
fast_live_uncut.mp4 |
the uncut screen recording described in docs/MEASUREMENTS.md (the file of 0.1.0, unchanged) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file |
yskn.dll inside the zip has the SHA-256 967de3ea4102c54972ea8d31f3286eaee466f2db1092d5ea5c26eec10fc6be8f (the build of 0.1.5 with src/c_api.cpp compiled again; the exported
functions are the same, and the GPU code is that of 0.1.4; see BUILDING.md). The files are not
code-signed, so Windows may warn about them; compare the checksums before you run anything.
The models are on Hugging Face. You need only one of them:
- quality model (recommended, 24 GB or more): https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-quality
- fastest model: https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-speed
Start
The quick way. Unpack yasakani-quickstart-0.1.6.zip to a plain path such as C:\yasakani and double-click START.cmd. It checks the GPU and the
driver, downloads the engine and one model, runs the checks, and then lets you measure the speed, chat in your browser, or start the
server. Python 3.10 or newer is needed. What it does is in quickstart/.
...
YASAKANI 0.1.5
YASAKANI 0.1.5: fixes, most of them contributed. The GPU code is that of 0.1.4: with the default settings the generated text and
the speed are those of 0.1.4 (checked on the RTX 5090).
YASAKANI is a local LLM engine for Windows and one NVIDIA RTX GPU (tested on the RTX 5090), built for Qwen3.8-27B. Open
source, Apache License 2.0. 日本語の説明は README.ja.md にあります。
What changed since 0.1.4
- Tool calls, images, the library path (#12, @TKY-27). A JSON tool call with
<function=...>inside an
argument was read as a call of another function without arguments; now it is read as written, and a JSON block that cannot be read
comes back as text. One follow-up of ours: a block that starts with{is read as JSON only, and a call with text before
<function=...>is still read as a call, as in 0.1.4. The same image twice in
one request is encoded once, and the image cache counts its memory right.--dllorYASAKANI_DLLnaming a file that is not there stops
with an error instead of loading another library, and a relative path such asyskn.dllis found. - Python's
True/False/Nonein tool calls (#21, @AgenticStew). The model sometimes writes a
boolean argument the way Python does (True), and it came back as the text"True". Now a parameter declared as a boolean takes
TrueandFalse, and one that may be null takesNone. Parameters declared as text, and parameters that are not declared, are
unchanged. On the RTX 5090, in 6 requests per model, the booleans the model wrote asTrueorFalsereached the client as JSON
true/false; 0.1.4 gave them as the text"True"/"False". - Engine fixes (@GrEarl). The header length of a model file is read as 64 bits, as docs/FORMAT.md says (#14).
Short contexts attend to the whole context also whenYSKN_Q35_ATX_SPLITSis set below 31 (#15; the default,
42, was not affected). Two engines generating at once in one process keep their look-ahead state apart (#13;
the text was the same before, the number of passes could differ). These are host code only: the GPU code ofyskn.dllis that of 0.1.4,
instruction for instruction. On the RTX 5090, 60 greedy generations with each model gave the same tokens and passes as 0.1.4. --max-ctxand the draft head (#17, @penguinHH). With--max-ctxthe output head of the draft model
(1.3 GiB) was loaded whatever the length. Now it is left out when, by the numbers of the automatic choice, it does not fit beside that
length. With the fix of #20 below, this looks at the free memory of the GPU chosen with--device(when that GPU cannot be matched
with nvidia-smi's list, for example withCUDA_DEVICE_ORDERset to another order, still at the smallest card). Without--max-ctx
nothing changes, and on the RTX 5090 the head is loaded as before.- Several GPUs (#20, reported by @yoshi131). CUDA counted the GPUs fastest first, nvidia-smi and
yasakani infoin PCI order, so--device 0could be another card than GPU 0 ofyasakani info, and the free-memory check used the
smaller card. The package now setsCUDA_DEVICE_ORDER=PCI_BUS_ID(unless it is set already):--device Nis GPU N ofyasakani info,
and the check looks at that GPU; when the model does not fit there, the message names a GPU with room. Without--devicethe package
opens GPU 0, which is now nvidia-smi's GPU 0: on a PC whose faster card is not in the first slot, give--device N. The quickstart
chooses the GPU itself and is not affected. Checked with a stand-in nvidia-smi, not on a PC with two GPUs. - A monitor on the same GPU (#18, reported by @penguinHH). The FAQ now says that an RTX 5070 Ti that also
drove two monitors generated 1.5 to 2.1 times as fast once the monitors were moved to the integrated graphics. The cause is not known yet. - Checked with these files on the RTX 5090: a new install and an update from 0.1.4 that kept the downloaded model
(yasakani selfcheck3 of 3 with both models), the 8 tool-call checks (8 of 8 with both models), and 12 greedy generations per
model with the same tokens and passes as 0.1.4.yasakani benchwas within 0.6% of 0.1.4 with the files made before #21 was added
(the sameyskn.dll). Not on other GPUs, and not on a PC with two GPUs. - Unchanged: the two models on Hugging Face, the speed tables, the harness zip (0.1.0) and the recording. The harness zip starts the
server with its own older copy of the package, so the Python fixes above do not reach it.
日本語: 0.1.5 は直しの版で、多くは寄稿です。GPU のコードは 0.1.4 と同じで、既定の設定では生成する文と速さも 0.1.4 と同じです(RTX 5090 で確認)。
@TKY-27 さんの #12:JSON 形のツール呼び出しで引数に <function=...> があっても正しく読みます(こちらで直しを1つ足しました)。読めない JSON は文字のまま返します。1 つの依頼に同じ画像が 2 回あってもエンコードは 1 回です。
--dll や YASAKANI_DLL が無いファイルを指すと、ほかの DLL を読まずにエラーで止まります。
@AgenticStew さんの #21:モデルがツール呼び出しの真偽値を Python の書き方(True)で書くと、今までは文字の "True" で返していました。真偽値と宣言した引数は True/False を、null を許す引数は None を値として読みます。
文字と宣言した引数と宣言の無い引数は変わりません。RTX 5090 で 1 モデル 6 依頼を送り、モデルが True/False と書いた真偽値はクライアントに JSON の true/false で届きました(0.1.4 では文字の "True"/"False")。
@GrEarl さんの #14・#15・#13:モデルファイルの見出しの長さを 64 bit で読みます。YSKN_Q35_ATX_SPLITS を 31 未満にしても短い文脈の全体を見ます(既定では変わりません)。
1 つのプロセスで 2 つのエンジンが同時に生成しても先読みの状態が混ざりません。
@penguinHH さんの #17:--max-ctx の長さと並べて入らないときは補助モデルの出口の表を読み込みません。#20 の直しで --device で選んだ GPU の空きを見て決めます。
その GPU を nvidia-smi の番号と合わせられないとき(CUDA_DEVICE_ORDER を別の順にしたときなど)は、今までどおり小さいカードで決めます。RTX 5090 では今までどおり読み込みます。
@yoshi131 さんの報告(#20):GPU が複数のとき、--device N が yasakani info と nvidia-smi の GPU N になりました。--device なしは nvidia-smi の GPU 0 です。
速いカードが 1 番目の差し込み口に無いパソコンでは --device N を付けてください。起動ファイルは自分で GPU を選ぶので影響はありません。GPU 2 枚の実機では試していません。
@penguinHH さんの報告(#18):同じ GPU にモニターをつなぐと生成が遅くなることがある、と FAQ に書きました。原因はまだ分かっていません。
ハーネスの zip は同梱の古いパッケージを使うので、Python の直しは届きません。
この zip を RTX 5090 で確かめました。新しく入れる場合も 0.1.4 からの更新(モデルはそのまま)も selfcheck は 3/3 でした(2 モデルとも)。
ツール呼び出しは 8/8(2 モデルとも)、貪欲の生成は 1 モデル 12 本でトークンもパス数も 0.1.4 と同じでした。yasakani bench の差は 0.6% 以内でした(#21 を入れる前のファイルで測定。DLL は同じ)。
ほかの GPU と GPU 2 枚の PC では試していません。
Upgrading from 0.1.0, 0.1.1, 0.1.2, 0.1.3 or 0.1.4: unpack yasakani-quickstart-0.1.5.zip into the folder of your quickstart (replace the files) and double-click
START.cmd again. The engine and the Python package are replaced; the model you downloaded is kept.
Thanks
- @TKY-27: #12, three fixes of the Python package (tool calls, repeated images, library paths), merged with one
follow-up of ours. Thank you. - @GrEarl: #13, #14 and #15, three fixes of the engine. Thank you.
- @penguinHH: #17,
--max-ctxand the draft head, and the report #18 with its
measurements. Thank you. - @yoshi131: the report #20 with the two GPUs, their PCI order and the commands that showed the problem. Thank you.
- @AgenticStew: #21, Python's
True/False/Nonein tool-call arguments. Thank you.
謝辞: @TKY-27 さんの #12、@GrEarl さんの #13・#14・#15、@penguinHH さんの #17、@AgenticStew さんの #21 をこの版に取り込みました。@penguinHH さんの #18 と
@yoshi131 さんの #20 の報告で、FAQ と GPU の番号を直しました。ありがとうございます。
Downloads
| File | What it is | SHA-256 |
|---|---|---|
yasakani-quickstart-0.1.5.zip |
the quick way to try it: unpack it and double-click START.cmd |
f2d8599bbc9be984ab1158609f970b04213c031ccbac156d3076103e9670d8bb |
yasakani-harness-0.1.0.zip |
the agent screen, to use after the quickstart: unpack it and double-click START_HARNESS.cmd (the file of 0.1.0, unchanged; needs 24 GB or more) |
a0e1cc1a19be3c8523fd45a9b1a2e46d8007e3483e7061ec744c93c1ed1f54ca |
yasakani-0.1.5-win-x64.zip |
the engine: yskn.dll and the Python package |
5ff62acf46c0a7bd879cbe44ba768fb21ec6ff76e5b18bc82040e9c0aa86bf73 |
fast_live_uncut.mp4 |
the uncut screen recording described in docs/MEASUREMENTS.md (the file of 0.1.0, unchanged) | 035b60e0c33f22f1f71312e1a1aab3ab383fc0a229dca4af7ac23a91eb4b6339 |
SHA256SUMS.txt |
the checksums above as a file |
yskn.dll inside the zip has the SHA-256 918560d6ea16ad85bb48ede519535a19d4afa08538822468bbbdc248bfc93f7a (the build of 0.1.4 with the host-code fixes of #13, #14 and #15 compiled
in; the GPU code is that of 0.1.4; see BUILDING.md). The files are not code-signed, so Windows may
warn about them; compare the checksums before you run anything.
The models are on Hugging Face. You need only one of them:
- quality model (recommended, 24 GB or more): https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-quality
- fastest model: https://huggingface.co/yasakani-dev/Qwen3.8-27B-YASAKANI-speed
Start
The quick way. Unpack yasakani-quickstart-0.1.5.zip to a plain path such as C:\yasakani and double-click START.cmd. It checks the GPU and the
driver, downloads the engine and one model, runs the checks, and then lets you measure the speed, chat in your browser, or start the
server. Python 3.10 or newer is needed. What it does is in [quickstart/](https://github.com/yas...