--- license: apache-2.0 language: - ja - en pipeline_tag: text-to-image library_name: gguf tags: - stable-diffusion.cpp - snapdragon - hexagon - npu - gguf - flux2-klein - z-image-turbo base_model: - black-forest-labs/FLUX.2-klein-4B - Tongyi-MAI/Z-Image-Turbo - Qwen/Qwen3-4B-Instruct-2507 --- # SIGN models [SIGN — Snapdragon-ImageGeneration-NPU](https://github.com/Zimo41650079726sub/SIGN-Snapdragon-ImageGeneration-NPU) で動作確認したモデル一式です。 Snapdragon X Elite(Hexagon NPU v73)で、stable-diffusion.cpp の画像生成モデル(DiT)を NPU で動かす手順が、このファイル構成のまま使えます。 Model files verified with [SIGN](https://github.com/Zimo41650079726sub/SIGN-Snapdragon-ImageGeneration-NPU) (stable-diffusion.cpp with the DiT on the Snapdragon X Elite Hexagon NPU). ## 入手方法 / Download 全ファイルを 1 つのフォルダに置けば、SIGN の `50-generate.ps1 -ModelDir <そのフォルダ>` がそのまま使えます。 ```powershell hf download Zimo4165/SIGN-models --local-dir C:\sd-models ``` klein だけ、Z-Image だけが必要な場合は、下の表で必要なファイルを選んでください。 ## ファイル / Files | ファイル | 用途 | 使うモデル | サイズ | |---|---|---|---| | `flux-2-klein-4b-Q4_0.gguf` | 画像生成モデル | FLUX.2 klein 4B | 2.26 GB | | `z-image-turbo-Q4_0.gguf` | 画像生成モデル | Z-Image-Turbo | 3.47 GB | | `Qwen3-4B-Instruct-2507-Q4_K_M.gguf` | テキストエンコーダ | klein・Z-Image 共通 | 2.50 GB | | `flux2-vae.safetensors` | VAE | FLUX.2 klein 4B | 0.34 GB | | `ae.safetensors` | VAE | Z-Image-Turbo(FLUX.1 の VAE) | 0.34 GB | ## 出どころと改変 / Provenance and modifications 画像生成モデル 2 つは、配布されている Q4_K_M を stable-diffusion.cpp で Q4_0 に変換したものです(`sd-cli -M convert --type q4_0`、2026-07-19)。 NPU(ggml-hexagon)の行列積は Q4_0 が前提のため、変換しています。それ以外のファイルは無改変です。 | ファイル | 元のファイル | 改変 | SHA256 | |---|---|---|---| | `flux-2-klein-4b-Q4_0.gguf` | [unsloth/FLUX.2-klein-4B-GGUF](https://huggingface.co/unsloth/FLUX.2-klein-4B-GGUF) `flux-2-klein-4b-Q4_K_M.gguf` | Q4_0 に変換 | `48519b1e907ff2b7b7f17316066faf836418da92158fac512e753937d7e738cd` | | `z-image-turbo-Q4_0.gguf` | [unsloth/Z-Image-Turbo-GGUF](https://huggingface.co/unsloth/Z-Image-Turbo-GGUF) `z-image-turbo-Q4_K_M.gguf`(リビジョン [`250dcc1`](https://huggingface.co/unsloth/Z-Image-Turbo-GGUF/tree/250dcc11757312c3722ef5d64a864f82ea3e5773)、2025-12 版) | Q4_0 に変換 | `e254877f3f5e0c1108c9077676b3f2aab177024df62ca56d108b4d9b27ab1954` | | `Qwen3-4B-Instruct-2507-Q4_K_M.gguf` | [unsloth/Qwen3-4B-Instruct-2507-GGUF](https://huggingface.co/unsloth/Qwen3-4B-Instruct-2507-GGUF) | なし | `3605803b982cb64aead44f6c1b2ae36e3acdb41d8e46c8a94c6533bc4c67e597` | | `flux2-vae.safetensors` | FLUX.2 VAE([Comfy-Org/flux2-dev](https://huggingface.co/Comfy-Org/flux2-dev) `split_files/vae/` と同一ファイル) | なし | `d64f3a68e1cc4f9f4e29b6e0da38a0204fe9a49f2d4053f0ec1fa1ca02f9c4b5` | | `ae.safetensors` | [black-forest-labs/FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell) | なし | `afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38` | - Z-Image の元ファイルは、unsloth が 2026-01-08 に新しい量子化へ差し替えています。現在の版から変換すると、このファイルとは中身が変わります。 - 今の stable-diffusion.cpp で同じ変換をすると、2 つの小さな F32 テンソル(`cap_pad_token` と `x_pad_token`)が F32 のまま残ります。このファイルは変換時点の版で作ったので、それらも Q4_0 です。 - The two diffusion models were converted from the linked Q4_K_M files to Q4_0 with `sd-cli -M convert --type q4_0`, because the ggml-hexagon matmul path expects Q4_0. All other files are unmodified. ## ライセンス / License すべて Apache License 2.0 です。全文は [`LICENSE`](LICENSE)、元の著作権表示は [`NOTICE`](NOTICE) にあります。 - FLUX.2 klein 4B: Apache-2.0([black-forest-labs/FLUX.2-klein-4B](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B)) - FLUX.2 VAE: Apache-2.0(Black Forest Labs が [VAE を Apache-2.0 で公開](https://bfl.ai/blog/flux-2)) - Z-Image-Turbo: Apache-2.0([Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo)) - FLUX.1 [schnell] VAE: Apache-2.0([black-forest-labs/FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell)) - Qwen3-4B-Instruct-2507: Apache-2.0([Qwen/Qwen3-4B-Instruct-2507](https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507)) このリポジトリは各開発元の公式配布ではありません。 / This is not an official release by any of the original model developers.