The lightweight model folder of YASAKANI, an open-source (Apache License 2.0) local LLM engine for Windows and one NVIDIA RTX GPU (tested on the RTX 5090 only). These files are in YASAKANI's own file format. Only YASAKANI can load them; other engines (transformers, llama.cpp, vLLM, SGLang ...) cannot.
It is the same Qwen3.8-27B compressed to 8.42 GB (2.38 bpw mixed 2/3/4-bit body) so that 12 GB RTX cards can run a 27B model locally (requires YASAKANI 0.4.1 or newer for the automatic 12 GB profile). On the RTX 5090 it writes faster than the fastest model on standard non-thinking generation while keeping thinking-text KL (0.0741) below same-size 8.42 GB GGUF builds. For everyday use on 24 GB+ GPUs the quality model is still recommended; for 16 GB GPUs use the fastest model.
日本語:YASAKANI 専用の「軽量モデル」フォルダーです。同じ Qwen3.8-27B を 8.42 GB(2/3/4 bit 混合)まで圧縮し、VRAM 12 GB 帯の RTX カードでの動作を狙ったモデルです(12 GB 自動プロファイルには YASAKANI 0.4.1 以降が必要です)。使い方は GitHub の README.ja.md にあります。
This file uses 2-bit (K=4), 3-bit (K=6), and 4-bit (K=8) trellis codes. It needs YASAKANI 0.4.1 or newer (0.4.0 can also open the weights on 16 GB+ GPUs; 0.4.1 adds the automatic 12 GB VRAM profile and quickstart menu entry).
| File | What it is |
|---|---|
qwen38_27b_light.yskn |
Qwen3.8-27B, converted to the YASAKANI format and compressed to 8.42 GB (8,422,596,608 bytes) |
bdraft2_k8.yskn, bdraft2_k8.shead |
the small draft model that proposes next tokens, derived from the DFlash 2 draft model for Qwen3.8-27B (z-lab); on 12 GB GPUs bdraft2_k8.shead is skipped automatically to save 1.3 GiB VRAM |
kvq_u5.bin |
settings for the compressed key-value cache |
bits_light.json |
per-tensor bit-width allocation of the 402 matrices |
tokenizer.json, tokenizer_config.json, chat_template.jinja, config.json, generation_config.json |
the original Qwen3.8-27B files, unchanged |
selfcheck.json |
the reference output for yasakani selfcheck (made on the RTX 5090) |
yasakani.json |
the list of files with their SHA-256 checksums, used by yasakani verify |
LICENSE, NOTICE |
the Apache License 2.0, and who made what |
About 11.0 GB in total. Keep all files together in one folder.
| lightweight model | fastest model | quality model | max-quality model | |
|---|---|---|---|---|
| the 400 matrices of the body | 223 at 2b, 156 at 3b, 21 at 4b (2.38 bpw) |
400 at 3b | 288 at 4b, 112 at 3b | 288 at 5b, 112 at 4b |
| input embedding table | 3 bits | 3 bits | 3 bits | 4 bits |
| output matrix | 4 bits | 4 bits | 4 bits | 5 bits |
| weights file | 8.42 GB | 10.31 GB | 12.37 GB | 15.72 GB |
START.cmd --model light, and picks it automatically on 12 GB cards).D:\models\qwen38-light:hf download yasakani-dev/Qwen3.8-27B-YASAKANI-light --local-dir D:\models\qwen38-light
yasakani verify --model-dir D:\models\qwen38-light
yasakani selfcheck --model-dir D:\models\qwen38-light --dll D:\yasakani\yskn.dll
yasakani chat --model-dir D:\models\qwen38-light --dll D:\yasakani\yskn.dll
Measured on one RTX 5090 on November 28, 2026, with the method of tools/quality/ on GitHub: 20 thinking texts that were not used in the
conversion (20,460 positions), against the original BF16 model, with YASAKANI 0.4.0/0.4.1 (yskn.dll).
| Model / Engine | Weights file | KV cache | KL on thinking text (lower is closer) | Top-1 agreement | Perplexity |
|---|---|---|---|---|---|
| YASAKANI max-quality model | 15.72 GB | INT8 row-scaled | 0.0040 | 97.31% | 2.0663 |
| YASAKANI quality model | 12.37 GB | INT8 row-scaled | 0.0125 | 95.26% | 2.0685 |
| YASAKANI fastest model | 10.31 GB | INT8 row-scaled | 0.0307 | 93.06% | 2.0759 |
| YASAKANI lightweight model | 8.42 GB | INT8 row-scaled (KV5 packed) | 0.0741 (0.0739) | 89.88% (89.85%) | 2.1369 (2.1368) |
| llama.cpp, Unsloth UD-IQ2_S | 8.42 GB | FP16 (Q8_0) | 0.0833 (0.0832) | 89.12% (89.05%) | 2.1862 |
| llama.cpp, GSQ-RCO IQ2_XS | 8.42 GB | FP16 (Q8_0) | 0.1207 (0.1206) | 87.39% (87.30%) | 2.2288 |
This measures agreement with the original model on thinking text, not task accuracy. The model is not identical to the original Qwen3.8-27B.
Measured on one RTX 5090 (--max-ctx 32768, default ω mode ON, greedy, 3 runs median per task, November 28, 2026):
| Task | lightweight (8.42 GB) | fastest (10.31 GB) | quality (12.37 GB) | max-quality (15.72 GB) | llama.cpp + DFlash Q4_0 (Unsloth / GSQ-RCO 8.42 GB) |
|---|---|---|---|---|---|
yasakani bench, 4 tasks, thinking off (mean, tok/s) |
521.4 | 494.3 | 431.7 | 398.8 | 199.0 / 208.6 |
yasakani bench, 4 tasks, thinking on (mean, tok/s) |
387.9 | 426.3 | 353.6 | 315.2 | 179.4 / 170.5 |
| code edit (tok/s) | 1,881.5 | 1,969.8 | 1,926.2 | 1,899.1 | 215.1 / 219.5 |
| JSONL edit (tok/s) | 2,115.8 | 2,095.9 | 2,074.3 | 2,036.1 | 323.0 / 328.7 |
| long JSONL edit (tok/s) | 1,874.7 | 1,943.4 | 1,928.4 | 1,898.2 | 319.9 / 325.2 |
12,282 MiB) GPU check (16,384 context, KV5 packed, bdraft2_k8.shead skipped, peak VRAM delta 11,577 MiB = 11.31 GiB, selfcheck PASS), not on a physical 12 GB card.12,282 MiB), close other GPU-heavy apps so at least ~11.7 GiB is free for the default 16,384 context (or pass --max-ctx 8192 if desktop memory usage is higher).2.38 bpw) compression, accuracy is lower than the fastest/quality/max-quality models.The details are on the GitHub page. This repository is not an official release of Qwen, Alibaba Cloud, z-lab or Inco AI, and none of them endorses it.
Apache License 2.0 (LICENSE). Derived from Qwen3.8-27B by the Qwen team (Alibaba Cloud) and from the DFlash 2 draft model for
Qwen3.8-27B by z-lab (Inco AI); see NOTICE. The files qwen38_27b_light.yskn, bdraft2_k8.yskn and bdraft2_k8.shead are
not the original weights.