Text-to-Image
Diffusion Single File
qwen-image
qwen-image-2.1
nvfp4
comfyui
quantized
image-editing
rtx-5090
Instructions to use BennyDaBall/Qwen-Image-2.1-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use BennyDaBall/Qwen-Image-2.1-NVFP4 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Link original Qwen model and finish naming updates
Browse files- PROMPTING.md +1 -1
- README.md +1 -1
- SHA256SUMS +3 -3
- tools/convert.py +1 -1
PROMPTING.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
# Prompting
|
| 2 |
|
| 3 |
Start with a concrete natural-language paragraph: medium, subject, action,
|
| 4 |
relationships, composition, lighting, materials, then exact lettering. Keep each
|
|
|
|
| 1 |
+
# Prompting Qwen Image 2.1 NVFP4
|
| 2 |
|
| 3 |
Start with a concrete natural-language paragraph: medium, subject, action,
|
| 4 |
relationships, composition, lighting, materials, then exact lettering. Keep each
|
README.md
CHANGED
|
@@ -18,7 +18,7 @@ tags:
|
|
| 18 |
|
| 19 |
# 🚀 Qwen Image 2.1 — NVFP4 for ComfyUI
|
| 20 |
|
| 21 |
-
**This is an independent NVFP4 quantization of Qwen Image 2.1
|
| 22 |
|
| 23 |
**The image model AND the text encoder. 12.42 GB for the complete package.**
|
| 24 |
|
|
|
|
| 18 |
|
| 19 |
# 🚀 Qwen Image 2.1 — NVFP4 for ComfyUI
|
| 20 |
|
| 21 |
+
**This is an independent NVFP4 quantization of [Qwen Image 2.1](https://huggingface.co/Qwen/Qwen-Image-2.1). The Qwen team created the original model.** The original model and architecture are Qwen's work. I converted the official [Comfy-Org/Qwen-Image-2.1 BF16 checkpoint package](https://huggingface.co/Comfy-Org/Qwen-Image-2.1) and packaged the quantized weights, workflows, and validation here. This is not a new base model or an official Qwen release.
|
| 22 |
|
| 23 |
**The image model AND the text encoder. 12.42 GB for the complete package.**
|
| 24 |
|
SHA256SUMS
CHANGED
|
@@ -98,14 +98,14 @@ fa6f566d4cf29b171bc996ad81857cf0dbdbb9cc5b8524297c1f1ca1738db99f gallery.html
|
|
| 98 |
936375ea3fb35c7c33dbe59c7090c35edf019e6119bc6b775f74f3d859b49a54 input/qwen_image_2.1_edit_reference.png
|
| 99 |
06b7d356cd8cb6b79aa2eef3f934d1e1e8e1c2aa1e85dcc23915dd9a68197249 LICENSE
|
| 100 |
0215c805cf5ee96af84731daffb90ba39942c33ef8159b897c754156ffbc95f6 NOTICE
|
| 101 |
-
|
| 102 |
-
|
| 103 |
230184f60bae2feaf244f10a8bac053c8ff33a183bcc365b4d8b876d2b7f4809 runtime/LICENSE-GPL-3.0
|
| 104 |
2c13ec9046ffa720484c569acce153f4759da47e9bc008af56d68d583854e2fa runtime/qwen21-nvfp4-conditioning.patch
|
| 105 |
787b656910e289283b0671311b479949b2496f9a233413fa71ce0f478866d9dc runtime/README.md
|
| 106 |
640b0140cb6cd3b93cfd4b7899f6bac48b0c596fc707e03c926fdc15aa57352e text_encoders/qwen3vl_8b_nvfp4.manifest.json
|
| 107 |
cdd9b85bcb60d5cb358ddecfd45a48fa15cb728b70d88bd2028840eaef095d16 text_encoders/qwen3vl_8b_nvfp4.safetensors
|
| 108 |
-
|
| 109 |
22f7cf73b46589cea8f8c78169f0f7c6a3a4c8ce98957ef9ab7cfdd6929e37ad tools/run_workflow.py
|
| 110 |
b99db3f33715e108ba69180b6afd61d237b4f588e5cb2af34c1a8cbe5e1285e5 tools/verify.py
|
| 111 |
bb21f7473051e1ac368515dd3f2e15cd44d7a11748ee8823e1ddca3e4876b7c9 vae/qwen_image_2.1_vae_bf16.safetensors
|
|
|
|
| 98 |
936375ea3fb35c7c33dbe59c7090c35edf019e6119bc6b775f74f3d859b49a54 input/qwen_image_2.1_edit_reference.png
|
| 99 |
06b7d356cd8cb6b79aa2eef3f934d1e1e8e1c2aa1e85dcc23915dd9a68197249 LICENSE
|
| 100 |
0215c805cf5ee96af84731daffb90ba39942c33ef8159b897c754156ffbc95f6 NOTICE
|
| 101 |
+
13a380a639c0e7a34c43f656ede817e179ea5e20e4b5a6b0a779c756fa3097db PROMPTING.md
|
| 102 |
+
d369c50eaf65a0fbe81c366930660544c153327802faabf89125af4d7b0ae0ae README.md
|
| 103 |
230184f60bae2feaf244f10a8bac053c8ff33a183bcc365b4d8b876d2b7f4809 runtime/LICENSE-GPL-3.0
|
| 104 |
2c13ec9046ffa720484c569acce153f4759da47e9bc008af56d68d583854e2fa runtime/qwen21-nvfp4-conditioning.patch
|
| 105 |
787b656910e289283b0671311b479949b2496f9a233413fa71ce0f478866d9dc runtime/README.md
|
| 106 |
640b0140cb6cd3b93cfd4b7899f6bac48b0c596fc707e03c926fdc15aa57352e text_encoders/qwen3vl_8b_nvfp4.manifest.json
|
| 107 |
cdd9b85bcb60d5cb358ddecfd45a48fa15cb728b70d88bd2028840eaef095d16 text_encoders/qwen3vl_8b_nvfp4.safetensors
|
| 108 |
+
2be2baabe8ae36585bada5c4ae33c7c73425940773ba42060c96247b0e778437 tools/convert.py
|
| 109 |
22f7cf73b46589cea8f8c78169f0f7c6a3a4c8ce98957ef9ab7cfdd6929e37ad tools/run_workflow.py
|
| 110 |
b99db3f33715e108ba69180b6afd61d237b4f588e5cb2af34c1a8cbe5e1285e5 tools/verify.py
|
| 111 |
bb21f7473051e1ac368515dd3f2e15cd44d7a11748ee8823e1ddca3e4876b7c9 vae/qwen_image_2.1_vae_bf16.safetensors
|
tools/convert.py
CHANGED
|
@@ -63,7 +63,7 @@ def main():
|
|
| 63 |
expected = 192 if args.component == "dit" else 252
|
| 64 |
if count != expected:
|
| 65 |
raise ValueError(f"Recipe matched {count} matrices, expected {expected}")
|
| 66 |
-
metadata.update(format="pt", conversion="
|
| 67 |
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 68 |
save_file(output, str(args.output), metadata=metadata)
|
| 69 |
report = {"source": args.source.name, "source_sha256": digest(args.source), "output": args.output.name,
|
|
|
|
| 63 |
expected = 192 if args.component == "dit" else 252
|
| 64 |
if count != expected:
|
| 65 |
raise ValueError(f"Recipe matched {count} matrices, expected {expected}")
|
| 66 |
+
metadata.update(format="pt", conversion="Qwen Image 2.1 native NVFP4; protected tensors unchanged; Built with Qwen")
|
| 67 |
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 68 |
save_file(output, str(args.output), metadata=metadata)
|
| 69 |
report = {"source": args.source.name, "source_sha256": digest(args.source), "output": args.output.name,
|