Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image and text to text

Qwen3.5-4B-onwx

by Ryu Gyo ryugyosoft/Qwen3.5-4B-onwx

Qwen3.5-4B-onwx is an open-weight model for image and text to text from Ryu Gyo, released under Apache License 2.0. It has 262,144-token context. Its published files total 4.8 GB. It draws 23 downloads a month.

Alibaba の Qwen3.5-4B を、onwx 用に変換したものです。onwx は LLM を AMD Ryzen AI の NPU(XDNA2)だけで 動かすアプリで、このリポジトリにはモデルと、このモデル専用の NPU プログラムが入っています(アプリは別にインストールします)。 重みは int4(128 個ごとのスケールと最小値つき)で NPU に載せ、行列計算・DeltaNet・アテンション・LM ヘッドまで 1 トークンの計算をすべて NPU の 32 個の AI…

Parameters—
Context262,144
Weights684.2 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads23

Model Card

By Ryu Gyo, published under apache-2.0, revision 205fe73ff285.

Alibaba の Qwen3.5-4B を、onwx 用に変換したものです。onwx は LLM を AMD Ryzen AI の NPU(XDNA2)だけで 動かすアプリで、このリポジトリにはモデルと、このモデル専用の NPU プログラムが入っています(アプリは別にインストールします)。 重みは int4(128 個ごとのスケールと最小値つき)で NPU に載せ、行列計算・DeltaNet・アテンション・LM ヘッドまで 1 トークンの計算をすべて NPU の 32 個の AI エンジンで行います。画像のエンコーダー(ViT)は CPU で動きます。NPU 向けのプログラムはビルド済みなので、PC の上でコンパイルを待つことはありません。 (onwx 0.5.0、Ryzen AI Max+ 395(Windows)で NPU の電力モードを performance にして測定。Ryzen AI 300 シリーズ(HX 370 など)も NPU は同じ 32 個の AI エンジンで、同じ方式で動きます。標準の電力モードでは NPU のクロックが下がって 2 割ほど遅くなります。電力モードは管理者の PowerShell で C:\Windows\System32\AMD\xrt-smi.exe configure --pmode performance。Windows の Copilot+ の AI 機能が NPU を使っていると遅くなることがあります) AMD Ryzen AI の NPU で LLM を動かす代表的なアプリ FastFlowLM(FLM)1.0.8…

Read Ryu Gyo's full model card

Qwen3.5 4B for onwx — 画像も読める軽い 4B を AMD Ryzen AI の NPU で

日本語 | English

Alibaba の Qwen3.5-4B を、onwx 用に変換したものです。onwx は LLM を AMD Ryzen AI の NPU(XDNA2)だけで 動かすアプリで、このリポジトリにはモデルと、このモデル専用の NPU プログラムが入っています(アプリは別にインストールします)。

重みは int4(128 個ごとのスケールと最小値つき)で NPU に載せ、行列計算・DeltaNet・アテンション・LM ヘッドまで 1 トークンの計算をすべて NPU の 32 個の AI エンジンで行います。画像のエンコーダー(ViT)は CPU で動きます。NPU 向けのプログラムはビルド済みなので、PC の上でコンパイルを待つことはありません。

Ryzen AI Max+ 395(Windows)
プロンプトの読み込み 1,000 トークンで約 2.4 秒、4,000 トークンで約 7.2 秒、32,000 トークンで約 82 秒(約 380〜580 tok/s)
文章の生成 約 18 tok/s(32K の文脈で約 12 tok/s)
画像 1 枚のエンコード 約 6 秒(CPU、最大 512×512 ピクセル相当、初回は読み込みに約 2 秒)
ダウンロード 4.8 GB
使用メモリ 約 3.4 GB + 文脈 1k トークンあたり約 13 MB(画像を使うと+約 1.3 GB)

(onwx 0.5.0、Ryzen AI Max+ 395(Windows)で NPU の電力モードを performance にして測定。Ryzen AI 300 シリーズ(HX 370 など)も NPU は同じ 32 個の AI エンジンで、同じ方式で動きます。標準の電力モードでは NPU のクロックが下がって 2 割ほど遅くなります。電力モードは管理者の PowerShell で C:\Windows\System32\AMD\xrt-smi.exe configure --pmode performance。Windows の Copilot+ の AI 機能が NPU を使っていると遅くなることがあります)

FastFlowLM との比較

AMD Ryzen AI の NPU で LLM を動かす代表的なアプリ FastFlowLM(FLM)1.0.8 と、FLM 自身の flm bench と同じ測り方で比べました(同じ PC、NPU は performance モード、プロンプト 128〜32K トークン)。生成速度はどちらも 温度 0 で 1 トークンずつの値です(4B には MTP 層がないので、onwx も MTP なし)。

  • 生成はどの長さでも onwx が 2〜4 割速く、512 トークンの回答を書き終えるまでの実効速度は 8K までの文脈で onwx が上です。
  • プロンプトの読み込みは、4B では FLM のほうが速いです(1K で FLM 563 tok/s、onwx 416 tok/s。32K で FLM 53 秒、onwx 82 秒)。 そのため 16K 以上の長いプロンプトでは、回答を書き終えるまでの時間も FLM が短くなります。

使い方

  1. onwx(アプリ、0.2.2 以降)を入れます。 Windows はスタートメニューで「PowerShell」を開き、次の 1 行を貼って Enter(Ubuntu は onwx の README の curl ... | bash)。

powershell irm https://huggingface.co/ryugyosoft/onwx/resolve/main/install.ps1 | iex

  1. タスクトレイの赤い onwx アイコンから開く onwx ウィンドウ の「モデル」タブで Qwen3.5 4B を選び、「ダウンロード」を押します(4.8 GB)。
  2. 「サーバー」タブで「ロード」を押します。
  3. 「チャット」ですぐ試せます(画像も貼れます)。他のアプリからは OpenAI 互換 API として使えます(base URL は http://127.0.0.1:8100/v1、画像は image_url の data URL で)。
from openai import OpenAI
c = OpenAI(base_url="http://127.0.0.1:8100/v1", api_key="none")
r = c.chat.completions.create(model="Qwen3.5-4B-onwx", messages=[{"role": "user", "content": "こんにちは"}])
print(r.choices[0].message.content)

動く PC

  • XDNA2 NPU の AMD Ryzen AI:Ryzen AI 300 シリーズ(Strix Point、例:Ryzen AI 9 HX 370)、Ryzen AI Max シリーズ(Strix Halo)
  • Windows 11 と AMD の NPU ドライバー(32.0.203 以降で確認)。Ubuntu は試験的(amdxdna ドライバーと XRT が必要)
  • メモリ 16 GB 以上

しくみ

  • 大きさ:隠れ層の幅 2560 を NPU 上では 3072 に広げて(増えた分は 0)計算します。LM ヘッドは元のモデルと同じく単語の埋め込みと共有の重みです(NPU 用に int4 にしたもの)。
  • 重み:線形層を int4(128 個ごとに bf16 のスケールと最小値)にしています。量子化の前に、入力側を 1024 個ずつアダマール行列とランダムな符号で回転した重み(W·D·H/32)にしてあり、NPU 上でも入力を同じように回転します。回転すると外れ値が散らばり、重みの int4 も、プロンプト処理の int8 の活性化も誤差が小さくなります。さらに GPTQ(較正データで int4 の丸めの誤差を後の列に振り分ける方法)で量子化しているので、形式は同じまま誤差が小さくなっています。
  • 生成(1 トークンずつ):16 個の AI エンジンが重みを読みながら行列×ベクトルを計算し(int4 を bf16 に直して積和)、8 個が DeltaNet、4 個がアテンションを受け持ちます。
  • プロンプトの読み込み:256 トークン以上は 1,024 / 2,048 トークンずつまとめ、NPU の 32 個の AI エンジン全部で 1 層ずつ処理します。行列計算は行列ユニットのブロック浮動小数点(bfp16)で、int4 の重みはその層を計算する直前に NPU 上で bfp16 に展開します(展開した重みは持ち続けないので、使用メモリの増加は約 0.5 GB)。DeltaNet はチャンク単位の並列形式、アテンションは int8 のキャッシュを読むフラッシュアテンションで、途中の値は層の間も NPU のメモリに置いたままです。短いプロンプトと端数は従来どおり 32 トークンずつの int8 の経路で読みます。1 トークンずつ読んだ場合との差は、出力の分布の KL で 0.002 程度です。
  • 画像:Qwen3.5 の ViT(24 層)を numpy で CPU 上で動かし、2×2 パッチごとに 1 トークンとして言語モデルに入れます(位置は MRoPE)。縦横比は保ったまま、最大で 512×512 ピクセル相当(256 トークン)に縮めます。
  • キャッシュ:アテンションのキーと値は、ヘッドごとにアダマール行列で回転してから int8 で持ちます(0.3.0 の bf16 の半分のメモリ。出力の分布への影響は KL 0.0003 程度)。
  • 文脈:最大 262144 トークン(モデルの上限)。
  • 思考モードとツール呼び出しに対応しています。動画は読めません。

ファイル

ファイル 中身
blobs/L*.wgt 各層の重み(int4、NPU が読む並び)
blobs/L*.st / L*.pf DeltaNet 層の状態の初期値・畳み込みの重み/プロンプト用の密行列
blobs/head.wgt LM ヘッド(単語の埋め込みと共有の重みを int4 にしたもの)
embed.bf16 単語の埋め込み(bf16、元のまま)
vision.npz 画像エンコーダーの重み(bf16、元のまま)
plans/ NPU プログラム(xclbin と命令列:生成用・プロンプト用(pfx/ が 1,024 / 2,048 トークンの新方式、32 トークン))
xdna.json、engine.json プログラムとモデルの設定
tokenizer.json ほか 元のモデルのトークナイザーとチャットテンプレート

ライセンス

元のモデルと同じ Apache-2.0 です(LICENSE)。モデルの重みは Qwen/Qwen3.5-4B に由来します。

Configuration

Architecture
Qwen3_5ForConditionalGeneration
Context length (tokens)
262,144
Layers
32
Hidden size
2,560
Feed-forward size
9,216
Attention heads
16
Key/value heads
4
Head dimension
256
Vocabulary size
248,320
Model type
qwen3_5

Identity and Version

Repository
ryugyosoft/Qwen3.5-4B-onwx
Publisher
Ryu Gyo
Task
Image and text to text
Modality
Image and text
Library
Not stated by the source
Parameters
Not stated by the source
Languages
ja, en
Revision
205fe73ff28565b886e854cbfe6c17fd1dba8c16
First published
2026-10-13
Last updated
2026-10-15

Files and Weights

373 files, 4.8 GB in total. The weights are 54 files totalling 684.2 MB in bin, npz.

Weights54 files · 684.2 MB
Configuration12 files · 18.0 KB
Tokenizer4 files · 22.9 MB
Documentation3 files · 26.9 KB
Other299 files · 4.1 GB
Repository1 file · 7.1 KB
Every file
FileTypeSizeSHA-256
plans/pfx/dqg_at/insts.binWeights219.3 KB 94b62199c9bc
plans/pfx/dqg_dn/insts.binWeights214.7 KB 9405dbcbe4b2
plans/pfx/m1024/act.binWeights11.7 KB 972a3cd32c3d
plans/pfx/m1024/d0.binWeights16.5 KB 5316b5c701d1
plans/pfx/m1024/d1.binWeights16.5 KB 298f85e56411
plans/pfx/m1024/d2.binWeights16.5 KB 6ce1627db2fd
plans/pfx/m1024/dnl.binWeights11.0 KB abdd1c84726b
plans/pfx/m1024/dno.binWeights25.2 KB 02c19ff26845
plans/pfx/m1024/dnr.binWeights20.1 KB 11f0b588de19
plans/pfx/m1024/gu.binWeights99.1 KB 9d737a529a83
plans/pfx/m1024/in13312.binWeights71.6 KB 161102bebc55
plans/pfx/m1024/n1.binWeights17.2 KB 52cf3ae6f9d3
plans/pfx/m1024/out.binWeights16.5 KB 7985c1c523d3
plans/pfx/m1024/pfa3/insts_0.binWeights233.9 KB f677d086309a
plans/pfx/m1024/pfa3/insts_1024.binWeights233.9 KB a9783f979062
plans/pfx/m1024/pfa3/insts_d.binWeights233.9 KB 78491a67cf6c
plans/pfx/m1024/pfa5r1/insts_0.binWeights53.6 KB 6392c6a0b231
plans/pfx/m1024/pfa5r1/insts_1024.binWeights53.6 KB d7a4826e4dac
plans/pfx/m1024/pfa5r1/insts_d.binWeights53.6 KB e0123d63806e
plans/pfx/m1024/pfa5r2/insts_0.binWeights180.2 KB 65eac02b39fe
plans/pfx/m1024/pfa5r2/insts_1024.binWeights180.2 KB 1fed103003e1
plans/pfx/m1024/pfa5r2/insts_d.binWeights180.2 KB 63dcd580baa5
plans/pfx/m1024/r1n.binWeights18.2 KB 501816182cbe
plans/pfx/m1024/r3.binWeights9.1 KB 485ddbdf199b
plans/pfx/m1024/r3n.binWeights18.2 KB 4c6b04333337
plans/pfx/m1024/rotp.binWeights17.5 KB a70917038218
plans/pfx/m1024/wq.binWeights55.1 KB c26e1f1d1c0a
plans/pfx/m2048/act.binWeights18.9 KB 89fd5c6f0a73
plans/pfx/m2048/d0.binWeights16.5 KB 200ca7e1eb73
plans/pfx/m2048/d1.binWeights16.5 KB 97a1f38cb5f4
plans/pfx/m2048/d2.binWeights16.5 KB b51651aeea6d
plans/pfx/m2048/dnl.binWeights11.0 KB 917b1cccc5a4
plans/pfx/m2048/dno.binWeights45.8 KB 2a4358ad0218
plans/pfx/m2048/dnr.binWeights20.1 KB 1dc2d387484d
plans/pfx/m2048/gu.binWeights99.1 KB 6585883e2121
plans/pfx/m2048/in13312.binWeights71.6 KB 69f568e3e026
plans/pfx/m2048/n1.binWeights26.3 KB 2184d33fde31
plans/pfx/m2048/out.binWeights16.5 KB 73304427051c
plans/pfx/m2048/pfa3/insts_0.binWeights465.8 KB d012df3bb8c2
plans/pfx/m2048/pfa3/insts_1024.binWeights465.8 KB e69a1a53f110
plans/pfx/m2048/pfa3/insts_d.binWeights465.8 KB 7657c1f8aa85
plans/pfx/m2048/pfa5r1/insts_0.binWeights105.4 KB f40094e80437
plans/pfx/m2048/pfa5r1/insts_1024.binWeights105.4 KB f4222a8451c4
plans/pfx/m2048/pfa5r1/insts_d.binWeights105.4 KB 6c60c5bd2438
plans/pfx/m2048/pfa5r2/insts_0.binWeights360.5 KB fa13ad1b562f
plans/pfx/m2048/pfa5r2/insts_1024.binWeights360.5 KB 16fe133c5dac
plans/pfx/m2048/pfa5r2/insts_d.binWeights360.5 KB 636eed12b9f7
plans/pfx/m2048/r1n.binWeights27.3 KB de38b1c11f8f
plans/pfx/m2048/r3.binWeights9.1 KB 19287b2af4f5
plans/pfx/m2048/r3n.binWeights27.3 KB ab88f01f0e5f
plans/pfx/m2048/rotp.binWeights30.4 KB 8faa0e70b67a
plans/pfx/m2048/wq.binWeights55.1 KB 05f49d1b6eb8
plans/pfx/small.npzWeights11.5 MB c099d9a55cc1
vision.npzWeights667.1 MB ca840f24f9a1
config.jsonConfiguration3.2 KB —
engine.jsonConfiguration2.4 KB —
plans/pfx/dqg_at/case.jsonConfiguration254 B —
plans/pfx/dqg_dn/case.jsonConfiguration258 B —
plans/pfx/m1024/pfa3/case.jsonConfiguration182 B —
plans/pfx/m1024/pfa5r1/case.jsonConfiguration220 B —
plans/pfx/m1024/pfa5r2/case.jsonConfiguration220 B —
plans/pfx/m2048/pfa3/case.jsonConfiguration185 B —
plans/pfx/m2048/pfa5r1/case.jsonConfiguration223 B —
plans/pfx/m2048/pfa5r2/case.jsonConfiguration223 B —
preprocessor_config.jsonConfiguration390 B —
xdna.jsonConfiguration10.4 KB —
LICENSEDocumentation11.5 KB —
README.mdDocumentation8.7 KB —
README_en.mdDocumentation6.7 KB —
blobs/L0.pfOther848.6 KB 316d66f46c45
blobs/L0.stOther2.6 MB 16a1365337e8
blobs/L0.wgtOther72.7 MB a471cde9c354
blobs/L1.pfOther848.6 KB 6f3cf6358248
blobs/L1.stOther2.6 MB aec432afdc21
blobs/L1.wgtOther72.7 MB 96e9a77b3697
blobs/L10.pfOther848.6 KB d51e03299216
blobs/L10.stOther2.6 MB 883dc8b81b57
blobs/L10.wgtOther72.7 MB 3f0f017f1846
blobs/L11.wgtOther68.9 MB 31be4df53faa
blobs/L12.pfOther848.6 KB 6f33545a2de3
blobs/L12.stOther2.6 MB d26d426b0b8b
blobs/L12.wgtOther72.7 MB a539258033c2
blobs/L13.pfOther848.6 KB 750030af2572
blobs/L13.stOther2.6 MB 5e46c788f553
blobs/L13.wgtOther72.7 MB 0e241ad9dec3
blobs/L14.pfOther848.6 KB b225d64d85c8
blobs/L14.stOther2.6 MB e72771a861fe
blobs/L14.wgtOther72.7 MB ddf1743f706c
blobs/L15.wgtOther68.9 MB 72fc8178434e
blobs/L16.pfOther848.6 KB 3c48e59ca7e3
blobs/L16.stOther2.6 MB af7dfc4702a2
blobs/L16.wgtOther72.7 MB 338bcb750190
blobs/L17.pfOther848.6 KB bfe9a1f227fd
blobs/L17.stOther2.6 MB 52c6ce031f43
blobs/L17.wgtOther72.7 MB 306ceeb6d03e
blobs/L18.pfOther848.6 KB 4109e750e72c
blobs/L18.stOther2.6 MB 7eb58521cd7a
blobs/L18.wgtOther72.7 MB 8795d4f8b821
blobs/L19.wgtOther68.9 MB 3dd2b3b6d8a4
blobs/L2.pfOther848.6 KB 2e3bbd285f0d
blobs/L2.stOther2.6 MB 2baa18f36ef8
blobs/L2.wgtOther72.7 MB 33d37356d949
blobs/L20.pfOther848.6 KB 771dc058a338
blobs/L20.stOther2.6 MB 2e4a815a3b03
blobs/L20.wgtOther72.7 MB f10d3e77af23
blobs/L21.pfOther848.6 KB a658b643a167
blobs/L21.stOther2.6 MB 8938ffbc5356
blobs/L21.wgtOther72.7 MB 01d778123e1b
blobs/L22.pfOther848.6 KB c76a57c648b3
blobs/L22.stOther2.6 MB f205925f88f0
blobs/L22.wgtOther72.7 MB fc7b1fafccdb
blobs/L23.wgtOther68.9 MB 5af1210cff70
blobs/L24.pfOther848.6 KB b278682e3d7a
blobs/L24.stOther2.6 MB de503944799b
blobs/L24.wgtOther72.7 MB e4b95166f0ce
blobs/L25.pfOther848.6 KB abe38f4cb30a
blobs/L25.stOther2.6 MB 0d51bb482b1d
blobs/L25.wgtOther72.7 MB aaa9a6a27343
blobs/L26.pfOther848.6 KB b1279783e1ec
blobs/L26.stOther2.6 MB 5ca96b386d41
blobs/L26.wgtOther72.7 MB 7a23a0f4ce46
blobs/L27.wgtOther68.9 MB f1f0d3842d45
blobs/L28.pfOther848.6 KB 01a0128a4620
blobs/L28.stOther2.6 MB 9247a72554ac
blobs/L28.wgtOther72.7 MB b13e14050756
blobs/L29.pfOther848.6 KB 0acda5b94a20
blobs/L29.stOther2.6 MB 5e145a030636
blobs/L29.wgtOther72.7 MB 7b5fc73894b7
blobs/L3.wgtOther68.9 MB e75a62dbe794
blobs/L30.pfOther848.6 KB 8da311a6bef4
blobs/L30.stOther2.6 MB 5cf80f5648e7
blobs/L30.wgtOther72.7 MB fe1f6d3cb1e4
blobs/L31.wgtOther68.9 MB df6c4b98d493
blobs/L4.pfOther848.6 KB 4df6695dbb49
blobs/L4.stOther2.6 MB 3ba778a96a4a
blobs/L4.wgtOther72.7 MB 0e2940ef769a
blobs/L5.pfOther848.6 KB 7ecb2712b4fc
blobs/L5.stOther2.6 MB aa269f474046
blobs/L5.wgtOther72.7 MB 4db4aa67d8c8
blobs/L6.pfOther848.6 KB ce6ab8ba6dee
blobs/L6.stOther2.6 MB 268d8e574273
blobs/L6.wgtOther72.7 MB eb4468ebd4a2
blobs/L7.wgtOther68.9 MB a0047e8a43d9
blobs/L8.pfOther848.6 KB 19aeedfcffb1
blobs/L8.stOther2.6 MB 391bf10cc16f
blobs/L8.wgtOther72.7 MB f4c2c9a298e1
blobs/L9.pfOther848.6 KB 0a464ec37cfb
blobs/L9.stOther2.6 MB b87a565250f8
blobs/L9.wgtOther72.7 MB 265bfe4affa1
blobs/act.initOther1.5 MB 78f60a41a193
blobs/actp.initOther7.3 MB 971fae967d91
blobs/head.wgtOther426.3 MB 3591c25d5dcf
chat_template.jinjaOther7.8 KB —
embed.bf16Other1.3 GB 2a68153b4985
images/4b_answer_speed_vs_flm.svgOther6.1 KB —
images/4b_decode_vs_flm.svgOther6.3 KB —
images/4b_prefill_vs_flm.svgOther6.5 KB —
plans/at1024.instsOther10.9 KB —
plans/at10240.instsOther10.9 KB —
plans/at121600.instsOther10.9 KB —
plans/at128.instsOther10.9 KB —
plans/at1280.instsOther10.9 KB —
plans/at12800.instsOther10.9 KB —
plans/at152064.instsOther10.9 KB —
plans/at1536.instsOther10.9 KB —
plans/at16128.instsOther10.9 KB —
plans/at1792.instsOther10.9 KB —
plans/at190208.instsOther10.9 KB —
plans/at192.instsOther10.9 KB —
plans/at20224.instsOther10.9 KB —
plans/at2048.instsOther10.9 KB —
plans/at2304.instsOther10.9 KB —
plans/at237824.instsOther10.9 KB —
plans/at25344.instsOther10.9 KB —
plans/at256.instsOther10.9 KB —
plans/at2560.instsOther10.9 KB —
plans/at262144.instsOther10.9 KB —
plans/at2816.instsOther10.9 KB —
plans/at3072.instsOther10.9 KB —
plans/at31744.instsOther10.9 KB —
plans/at320.instsOther10.9 KB —
plans/at3328.instsOther10.9 KB —
plans/at3584.instsOther10.9 KB —
plans/at384.instsOther10.9 KB —
plans/at3840.instsOther10.9 KB —
plans/at39680.instsOther10.9 KB —
plans/at4096.instsOther10.9 KB —
plans/at448.instsOther10.9 KB —
plans/at49664.instsOther10.9 KB —
plans/at512.instsOther10.9 KB —
plans/at5120.instsOther10.9 KB —
plans/at62208.instsOther10.9 KB —
plans/at64.instsOther10.9 KB —
plans/at6400.instsOther10.9 KB —
plans/at768.instsOther10.9 KB —
plans/at77824.instsOther10.9 KB —
plans/at8192.instsOther10.9 KB —
plans/at97280.instsOther10.9 KB —
plans/dn.instsOther13.0 KB —
plans/final.xclbinOther1.1 MB 3f6f7f8b8bdf
plans/head.instsOther4.1 KB —
plans/pf.xclbinOther1.5 MB b08652d27bb3
plans/pf_at10240_16.instsOther57.3 KB —
plans/pf_at10240_32.instsOther85.7 KB —
plans/pf_at1024_16.instsOther57.3 KB —
plans/pf_at1024_32.instsOther85.7 KB —
plans/pf_at121600_16.instsOther57.3 KB —
plans/pf_at121600_32.instsOther85.7 KB —
plans/pf_at12800_16.instsOther57.3 KB —
plans/pf_at12800_32.instsOther85.7 KB —
plans/pf_at1280_16.instsOther57.3 KB —
plans/pf_at1280_32.instsOther85.7 KB —
plans/pf_at128_16.instsOther57.3 KB —
plans/pf_at128_32.instsOther85.7 KB —
plans/pf_at152064_16.instsOther57.3 KB —
plans/pf_at152064_32.instsOther85.7 KB —
plans/pf_at1536_16.instsOther57.3 KB —
plans/pf_at1536_32.instsOther85.7 KB —
plans/pf_at16128_16.instsOther57.3 KB —
plans/pf_at16128_32.instsOther85.7 KB —
plans/pf_at1792_16.instsOther57.3 KB —
plans/pf_at1792_32.instsOther85.7 KB —
plans/pf_at190208_16.instsOther57.3 KB —
plans/pf_at190208_32.instsOther85.7 KB —
plans/pf_at192_16.instsOther57.3 KB —
plans/pf_at192_32.instsOther85.7 KB —
plans/pf_at20224_16.instsOther57.3 KB —
plans/pf_at20224_32.instsOther85.7 KB —
plans/pf_at2048_16.instsOther57.3 KB —
plans/pf_at2048_32.instsOther85.7 KB —
plans/pf_at2304_16.instsOther57.3 KB —
plans/pf_at2304_32.instsOther85.7 KB —
plans/pf_at237824_16.instsOther57.3 KB —
plans/pf_at237824_32.instsOther85.7 KB —
plans/pf_at25344_16.instsOther57.3 KB —
plans/pf_at25344_32.instsOther85.7 KB —
plans/pf_at2560_16.instsOther57.3 KB —
plans/pf_at2560_32.instsOther85.7 KB —
plans/pf_at256_16.instsOther57.3 KB —
plans/pf_at256_32.instsOther85.7 KB —
plans/pf_at262144_16.instsOther57.3 KB —
plans/pf_at262144_32.instsOther85.7 KB —
plans/pf_at2816_16.instsOther57.3 KB —
plans/pf_at2816_32.instsOther85.7 KB —
plans/pf_at3072_16.instsOther57.3 KB —
plans/pf_at3072_32.instsOther85.7 KB —
plans/pf_at31744_16.instsOther57.3 KB —
plans/pf_at31744_32.instsOther85.7 KB —
plans/pf_at320_16.instsOther57.3 KB —
plans/pf_at320_32.instsOther85.7 KB —
plans/pf_at3328_16.instsOther57.3 KB —
plans/pf_at3328_32.instsOther85.7 KB —
plans/pf_at3584_16.instsOther57.3 KB —
plans/pf_at3584_32.instsOther85.7 KB —
plans/pf_at3840_16.instsOther57.3 KB —
plans/pf_at3840_32.instsOther85.7 KB —
plans/pf_at384_16.instsOther57.3 KB —
plans/pf_at384_32.instsOther85.7 KB —
plans/pf_at39680_16.instsOther57.3 KB —
plans/pf_at39680_32.instsOther85.7 KB —
plans/pf_at4096_16.instsOther57.3 KB —
plans/pf_at4096_32.instsOther85.7 KB —
plans/pf_at448_16.instsOther57.3 KB —
plans/pf_at448_32.instsOther85.7 KB —
plans/pf_at49664_16.instsOther57.3 KB —
plans/pf_at49664_32.instsOther85.7 KB —
plans/pf_at5120_16.instsOther57.3 KB —
plans/pf_at5120_32.instsOther85.7 KB —
plans/pf_at512_16.instsOther57.3 KB —
plans/pf_at512_32.instsOther85.7 KB —
plans/pf_at62208_16.instsOther57.3 KB —
plans/pf_at62208_32.instsOther85.7 KB —
plans/pf_at6400_16.instsOther57.3 KB —
plans/pf_at6400_32.instsOther85.7 KB —
plans/pf_at64_16.instsOther57.3 KB —
plans/pf_at64_32.instsOther85.7 KB —
plans/pf_at768_16.instsOther57.3 KB —
plans/pf_at768_32.instsOther85.7 KB —
plans/pf_at77824_16.instsOther57.3 KB —
plans/pf_at77824_32.instsOther85.7 KB —
plans/pf_at8192_16.instsOther57.3 KB —
plans/pf_at8192_32.instsOther85.7 KB —
plans/pf_at97280_16.instsOther57.3 KB —
plans/pf_at97280_32.instsOther85.7 KB —
plans/pf_dn0_1.instsOther54.8 KB —
plans/pf_dn0_10.instsOther61.2 KB —
plans/pf_dn0_11.instsOther61.2 KB —
plans/pf_dn0_12.instsOther61.2 KB —
plans/pf_dn0_13.instsOther61.2 KB —
plans/pf_dn0_14.instsOther61.2 KB —
plans/pf_dn0_15.instsOther61.2 KB —
plans/pf_dn0_16.instsOther61.2 KB —
plans/pf_dn0_17.instsOther87.7 KB —
plans/pf_dn0_18.instsOther87.7 KB —
plans/pf_dn0_19.instsOther87.7 KB —
plans/pf_dn0_2.instsOther54.8 KB —
plans/pf_dn0_20.instsOther87.7 KB —
plans/pf_dn0_21.instsOther87.7 KB —
plans/pf_dn0_22.instsOther87.7 KB —
plans/pf_dn0_23.instsOther87.7 KB —
plans/pf_dn0_24.instsOther87.7 KB —
plans/pf_dn0_25.instsOther94.2 KB —
plans/pf_dn0_26.instsOther94.2 KB —
plans/pf_dn0_27.instsOther94.2 KB —
plans/pf_dn0_28.instsOther94.2 KB —
plans/pf_dn0_29.instsOther94.2 KB —
plans/pf_dn0_3.instsOther54.8 KB —
plans/pf_dn0_30.instsOther94.2 KB —
plans/pf_dn0_31.instsOther94.2 KB —
plans/pf_dn0_32.instsOther94.2 KB —
plans/pf_dn0_4.instsOther54.8 KB —
plans/pf_dn0_5.instsOther54.8 KB —
plans/pf_dn0_6.instsOther54.8 KB —
plans/pf_dn0_7.instsOther54.8 KB —
plans/pf_dn0_8.instsOther54.8 KB —
plans/pf_dn0_9.instsOther61.2 KB —
plans/pf_dn_1.instsOther56.4 KB —
plans/pf_dn_10.instsOther62.8 KB —
plans/pf_dn_11.instsOther62.8 KB —
plans/pf_dn_12.instsOther62.8 KB —
plans/pf_dn_13.instsOther62.8 KB —
plans/pf_dn_14.instsOther62.8 KB —
plans/pf_dn_15.instsOther62.8 KB —
plans/pf_dn_16.instsOther62.8 KB —
plans/pf_dn_17.instsOther90.9 KB —
plans/pf_dn_18.instsOther90.9 KB —
plans/pf_dn_19.instsOther90.9 KB —
plans/pf_dn_2.instsOther56.4 KB —
plans/pf_dn_20.instsOther90.9 KB —
plans/pf_dn_21.instsOther90.9 KB —
plans/pf_dn_22.instsOther90.9 KB —
plans/pf_dn_23.instsOther90.9 KB —
plans/pf_dn_24.instsOther90.9 KB —
plans/pf_dn_25.instsOther97.4 KB —
plans/pf_dn_26.instsOther97.4 KB —
plans/pf_dn_27.instsOther97.4 KB —
plans/pf_dn_28.instsOther97.4 KB —
plans/pf_dn_29.instsOther97.4 KB —
plans/pf_dn_3.instsOther56.4 KB —
plans/pf_dn_30.instsOther97.4 KB —
plans/pf_dn_31.instsOther97.4 KB —
plans/pf_dn_32.instsOther97.4 KB —
plans/pf_dn_4.instsOther56.4 KB —
plans/pf_dn_5.instsOther56.4 KB —
plans/pf_dn_6.instsOther56.4 KB —
plans/pf_dn_7.instsOther56.4 KB —
plans/pf_dn_8.instsOther56.4 KB —
plans/pf_dn_9.instsOther62.8 KB —
plans/pfx/dqg_at/final.xclbinOther141.6 KB 7f1b8c8c6100
plans/pfx/dqg_dn/final.xclbinOther142.1 KB f3faae09d3a3
plans/pfx/m1024/dnp.xclbinOther894.8 KB b917df920a2b
plans/pfx/m1024/dnr.xclbinOther1.5 MB 48e28c083d1e
plans/pfx/m1024/gemm.xclbinOther672.1 KB 36db3bba859d
plans/pfx/m1024/gemm4.xclbinOther676.7 KB ca77c5863b4a
plans/pfx/m1024/glue.xclbinOther849.6 KB 333e02b6a714
plans/pfx/m1024/pfa3/final.xclbinOther1.9 MB 1b524186af0e
plans/pfx/m1024/pfa5r1/final.xclbinOther500.6 KB 5e2658c4efa8
plans/pfx/m1024/pfa5r2/final.xclbinOther1.4 MB 0eef8888b121
plans/pfx/m1024/wq.xclbinOther688.0 KB 4237377ba811
plans/pfx/m2048/dnp.xclbinOther894.8 KB c91331000151
plans/pfx/m2048/dnr.xclbinOther1.5 MB d7ebd92466a5
plans/pfx/m2048/gemm.xclbinOther673.6 KB 5a0599968c3f
plans/pfx/m2048/gemm4.xclbinOther678.2 KB f3a9d86b621c
plans/pfx/m2048/glue.xclbinOther849.6 KB 44198a89d0ad
plans/pfx/m2048/pfa3/final.xclbinOther1.9 MB b011ebd91d3a
plans/pfx/m2048/pfa5r1/final.xclbinOther500.6 KB 0bd023f0b37d
plans/pfx/m2048/pfa5r2/final.xclbinOther1.4 MB 7d1568baba47
plans/pfx/m2048/wq.xclbinOther689.5 KB f6ed589c5762
.gitattributesRepository7.1 KB —
merges.txtTokenizer3.4 MB —
tokenizer.jsonTokenizer12.8 MB 5f9e4d4901a9
tokenizer_config.jsonTokenizer16.7 KB —
vocab.jsonTokenizer6.7 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
684.2 MB
Download from Ryu Gyo

Released by Ryu Gyo through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published684.2 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Qwen3.5-4B-onwx

Can I use Qwen3.5-4B-onwx commercially?

Yes. Qwen3.5-4B-onwx is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Qwen3.5-4B-onwx's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Non-uniform GGUF quantizations of a 512-expert MoE, produced with GSQ and RCO, with a vision projector for multimodal use. This repository provides GGUF quantizations of Qwen3.8-Flash-Next at four sizes, together with the model's vision projector (mmproj) for multimodal use. In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF and run unmodified in llama.cpp, Ollama, and LM Studio. A…

Open weights apache-2.0 gguf

Model · Image and text to text

Qwen3.8-27B-iMatrix-NVFP4-MTP-GGUF

Michał Piszczek

I built this quant because the ready-made FP4 file answered the wrong question. It was fast, but on my short WikiText-2 control it scored 6.4949 PPL. Plain Q40 scored 6.3798. The first higher-quality hybrid went too far the other way: good perplexity, 34.19 tok/s, and no comfortable room for 256K plus vision. This is the build that survived both gates. It is a 17.1 GB, 5.01 BPW mixed-precision GGUF of Qwen/Qwen3.8-27B. It keeps large, tolerant matrices in native NVFP4 and spends more bits on selected attention, Gated DeltaNet, and late FFN tensors. The trained MTP layer remains embedded in the same GGUF. This is not a fine-tune. I built the private calibration workload from 5,472 messages…

Open weights apache-2.0

Model · Image and text to text

Huihui-Qwen3.8-27B-abliterated-GGUF

Huihui.ai

This is an uncensored version of Qwen/Qwen3.8-27B created with abliteration (see remove-refusals-with-transformers to know more about it). This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens. The newly added Huihui-Qwen3.8-27B-abliterated-Underdog-Saluki series come from ConwayResearch/Underdog-Saluki-27B-1.0 and ukisai/Swift-1.5-Qwen3.8-27B-GSQ-RCO-GGUF. Only layers 22 to 52 (0-based indexing) have been ablated, while the other layers remain unablated. It may come with a small disclaimer warning. Due to ConwayResearch/Underdog-Saluki-27B-1.0 not providing an imatrix file, we will attempt to perform ablation by mixing the GGUF…

Open weights apache-2.0 transformers

Qwen3.8-27B uncensored by HauhauCS 0/465 Refusals. This is the Aggressive variant: direct answers, no refusal behavior, and minimal preamble on hard prompts. Every text GGUF preserves Qwen3.8's native NextN head, and this release adds HauhauCS FastMTP: a specific acceleration sidecar qualified across the complete quant lineup at maximum native context. Vision is included through the separate BF16 projector. No changes to datasets or intended capabilities. This release preserves Qwen3.8-27B's text, reasoning, agentic, image, and video capabilities while applying the HauhauCS Aggressive uncensoring profile. Pick Aggressive when you specifically want the model to get to the answer without…

Open weights apache-2.0

Model · Image and text to text

Qwen3.8-27B-GGUF

GGML Org

Run with https://llama.app - https://huggingface.co/Qwen/Qwen3.8-27B - https://huggingface.co/incoai/Qwen3.8-27B-DFlash2 - add info

Open weights apache-2.0

Model · Image and text to text

Tiel-Coder-35B-A3B-GGUF-MTP

Saga

Tiel is the fast coder of the arsenal. At 4-bit quantization and 23 GB it fixes real codebase issues at the rate (and speed, with the right GPU) of Opus 4.6 medium, while holding the best multi-turn conversation of any local model we have measured. It is also cheerfully bad at trivia. Pick it for work. Pick something else for exams. Where it sits against the other local builds Multi-turn conversation Reasoning and knowledge Where it stands. On 25 SWE-bench-Live problems Tiel fixes 12 — the same as Opus 4.6 (medium), four more than Ornith-1.5 itself, three more than Nail, and four more than Sonnet 5 (medium). Among models of its own class it is first; the ones ahead are dense 27Bs and Opus…

Open weights mit gguf