abenzerps commited on
Commit
1206d38
Β·
0 Parent(s):

Initial release: Qwen-Image-Uncensored-2.1 GGUF

Browse files
.gitattributes ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ assets/Qwen-Image-2.1-Benchmark.png filter=lfs diff=lfs merge=lfs -text
37
+ qwen-image-2.1-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
38
+ qwen-image-2.1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ qwen-image-2.1-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ qwen-image-2.1-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
41
+ qwen-image-2.1-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
42
+ qwen-image-2.1-UC-BF16.gguf filter=lfs diff=lfs merge=lfs -text
43
+ qwen-image-2.1-UC-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ qwen-image-2.1-UC-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ qwen-image-2.1-UC-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ qwen-image-2.1-UC-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ qwen-image-2.1-UC-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: qwen-research
4
+ base_model:
5
+ - Qwen/Qwen-Image-2.1
6
+ base_model_relation: quantized
7
+ pipeline_tag: text-to-image
8
+ library_name: gguf
9
+ tags:
10
+ - gguf
11
+ - qwen
12
+ - image-generation
13
+ - comfyui
14
+ - comfyui-gguf
15
+ ---
16
+
17
+ > [!IMPORTANT]
18
+ > The uncensored GGUFs are now available!
19
+ > If you encounter any issues or would like to share your generated images, feel free to post them in the Community section.
20
+
21
+ # Qwen-Image-2.1 Uncensored GGUF
22
+
23
+ GGUF quantizations of [Qwen/Qwen-Image-2.1](https://huggingface.co/Qwen/Qwen-Image-2.1) for local image generation using the original upstream base weights.
24
+
25
+ ## Benchmark
26
+
27
+ ![Qwen-Image-2.1 benchmark](assets/Qwen-Image-2.1-Benchmark.png)
28
+
29
+ ## Uncensored GGUF Files
30
+
31
+ | **Quantization** | **File** | **Size** |
32
+ | --- | --- | ---: |
33
+ | BF16 | [**qwen-image-2.1-UC-BF16.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/qwen-image-2.1-UC-BF16.gguf) | 14.23 GB |
34
+ | Q8_0 | [**qwen-image-2.1-UC-Q8_0.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/qwen-image-2.1-UC-Q8_0.gguf) | 7.59 GB |
35
+ | Q6_K | [**qwen-image-2.1-UC-Q6_K.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/qwen-image-2.1-UC-Q6_K.gguf) | 5.88 GB |
36
+ | Q5_K_M | [**qwen-image-2.1-UC-Q5_K_M.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/qwen-image-2.1-UC-Q5_K_M.gguf) | 5.22 GB |
37
+ | Q4_K_M | [**qwen-image-2.1-UC-Q4_K_M.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/qwen-image-2.1-UC-Q4_K_M.gguf) | 4.60 GB |
38
+ | Q4_0 | [**qwen-image-2.1-UC-Q4_0.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/qwen-image-2.1-UC-Q4_0.gguf) | 4.15 GB |
39
+
40
+ **Q4_K_M** is recommended for the best balance of size and quality.
41
+
42
+ ## GGUF files
43
+
44
+ | **Quantization** | **File** | **Size** |
45
+ | --- | --- | ---: |
46
+ | Q8_0 | [**qwen-image-2.1-Q8_0.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/base/qwen-image-2.1-Q8_0.gguf) | 7.59 GB |
47
+ | Q6_K | [**qwen-image-2.1-Q6_K.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/base/qwen-image-2.1-Q6_K.gguf) | 5.88 GB |
48
+ | Q5_K_M | [**qwen-image-2.1-Q5_K_M.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/base/qwen-image-2.1-Q5_K_M.gguf) | 5.22 GB |
49
+ | Q4_K_M | [**qwen-image-2.1-Q4_K_M.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/base/qwen-image-2.1-Q4_K_M.gguf) | 4.60 GB |
50
+ | Q4_0 | [**qwen-image-2.1-Q4_0.gguf**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/base/qwen-image-2.1-Q4_0.gguf) | 4.05 GB |
51
+
52
+
53
+ ## Text Encoders & VAE
54
+
55
+ Companion model files packaged for ComfyUI:
56
+
57
+ | **Type** | **File** | **Precision** | **Size** |
58
+ | --- | --- | --- | ---: |
59
+ | Text Encoder | [**text_encoders/qwen3vl_8b_bf16.safetensors**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/text_encoders/qwen3vl_8b_bf16.safetensors) | BF16 | 17.53 GB |
60
+ | Text Encoder | [**text_encoders/qwen3vl_8b_int8_convrot.safetensors**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors) | Int8 | 9.35 GB |
61
+ | VAE | [**vae/qwen_image_2.1_vae_bf16.safetensors**](https://huggingface.co/abenzerps/Qwen-Image-2.1-Uncensored-GGUF/blob/main/vae/qwen_image_2.1_vae_bf16.safetensors) | BF16 | 676 MB |
62
+
63
+ ## Usage
64
+
65
+ Use the model with [ComfyUI](https://github.com/comfyanonymous/ComfyUI) and [ComfyUI-GGUF](https://github.com/leejet/ComfyUI-GGUF).
66
+
67
+ All required companion files (GGUF transformer, text encoder, and VAE) are hosted directly in this repository.
68
+
69
+ ### 1. Download & File Placement
70
+
71
+ Download the files and place them in their respective ComfyUI directories:
72
+
73
+ ```text
74
+ ComfyUI/
75
+ └── models/
76
+ β”œβ”€β”€ diffusion_models/
77
+ β”‚ └── qwen-image-2.1-UC-Q4_K_M.gguf # Choose one GGUF quantization (Q4_K_M recommended)
78
+ β”œβ”€β”€ text_encoders/
79
+ β”‚ └── qwen3vl_8b_bf16.safetensors # Or qwen3vl_8b_int8_convrot.safetensors (recommended for lower memory)
80
+ └── vae/
81
+ └── qwen_image_2.1_vae_bf16.safetensors
82
+ ```
83
+
84
+ ### 2. ComfyUI Setup
85
+
86
+ 1. **Install ComfyUI-GGUF**: Use the maintained fork with native Qwen-Image 2.1 support by cloning [leejet/ComfyUI-GGUF](https://github.com/leejet/ComfyUI-GGUF) into your custom nodes:
87
+ ```bash
88
+ cd ComfyUI/custom_nodes
89
+ git clone https://github.com/leejet/ComfyUI-GGUF
90
+ ```
91
+ *(Note: If you have the older `city96/ComfyUI-GGUF` installed and encounter an `Unknown model architecture!` error, update to the `leejet` fork above or add `ModelQwenImage` to `tools/convert.py`).*
92
+ 2. **Node Configuration**:
93
+ - **Diffusion Model**: Add the **`Unet Loader (GGUF)`** node and select your downloaded `.gguf` file.
94
+ - **Text Encoder**: Add the standard **`CLIPLoader`** node, select `qwen3vl_8b_bf16.safetensors` (or `int8`), and set **`type`** to **`qwen_image`**.
95
+ - **VAE**: Add the standard **`VAELoader`** node and select `qwen_image_2.1_vae_bf16.safetensors`.
96
+ 3. **Official Workflows**:
97
+ - You can use the official Comfy-Org workflow templates: [Text-to-Image](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_t2i.json) or [Image Edit](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_qwen_image_2_1_image_edit.json).
98
+ - In the workflow, simply replace the default `UNETLoader` node with **`Unet Loader (GGUF)`**.
99
+
100
+ ### Memory & Performance Notes
101
+
102
+ - **Optimal Setup (GPU + RAM)**: Keep the **GGUF diffusion model in GPU VRAM** (where speed is crucial during sampling) and let the **text encoder run in / offload to System RAM (CPU)**. Because text encoding only runs once per prompt, this saves 9–17 GB of VRAM with virtually zero impact on generation speed.
103
+ - **Recommended Configuration**:
104
+ - **Diffusion**: `qwen-image-2.1-UC-Q4_K_M.gguf` (~4.6 GB in VRAM)
105
+ - **Text Encoder**: `qwen3vl_8b_int8_convrot.safetensors` (~9.35 GB in RAM)
106
+ - **Low VRAM Mode**: If you experience VRAM out-of-memory errors, start ComfyUI with the `--lowvram` argument.
107
+
108
+ ## Uncensored
109
+
110
+ This GGUF release has no built-in safety checker or content filter. It generates adult, NSFW, and sensitive imagery directly without prompt refusals or blacked-out images. Output behavior depends solely on the input prompts and the environment in which the model is executed.
111
+
112
+ ## Source and build
113
+
114
+ - **Source model:** [Qwen/Qwen-Image-2.1](https://huggingface.co/Qwen/Qwen-Image-2.1)
115
+ - **Text encoder & VAE source:** [Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1)
116
+ - **Source revision:** `b3179ad355be050328e483a9dfdd9e60cd62adfa`
117
+ - **Conversion:** [stable-diffusion.cpp](https://github.com/leejet/stable-diffusion.cpp) commit `1330cebae8f2ba99249df846cc0c9444fcbd4308`
118
+ - **License:** Qwen Research License
119
+ - **Checksums:** [SHA256SUMS](./SHA256SUMS)
SHA256SUMS ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 8efd261419f4d60bf0eda8ae86a656e229ed440a248a22e20bf1f1f9606f6124 qwen-image-2.1-Q4_0.gguf
2
+ 833439e91bc1152d28f37aa198c7f6f4218b7de95754c2f7a318a2422ab4b2f8 qwen-image-2.1-Q4_K_M.gguf
3
+ 88ce8e90e5b959cce5e248f697d7f6c9c7ca5696c1eac64a10dadb041dd7fd07 qwen-image-2.1-Q5_K_M.gguf
4
+ a3a0d39bb03cda26302fc048b49d019baaea1c381cbda3994f6f2a7826344fb9 qwen-image-2.1-Q6_K.gguf
5
+ 9a7ec02f4c9d5cf5b78e8efa6ccd81ec0c35a898defbf8e77ac7c02a32fe0d7e qwen-image-2.1-Q8_0.gguf
6
+ f151c683a8aed4b310777017ebbbe3f2180f1180f7867115171adb7d50b0762a qwen-image-2.1-UC-BF16.gguf
7
+ 13f59f20656efc0aa385d03c1fcac1a9dc2ad6e5ccc0ea9bfe1d6ac636f2c5b9 qwen-image-2.1-UC-Q4_0.gguf
8
+ e79c8a009f2ecbdb6c70fd663d9aea9ee304a0d91f347e4169a756b8ad141b41 qwen-image-2.1-UC-Q4_K_M.gguf
9
+ af0bf278cf16d204fb31c384dc82fd41dca82d976b15fe9305a60c726fd6f821 qwen-image-2.1-UC-Q5_K_M.gguf
10
+ e14bb312109333b3d73b92ad9b9ac8b29b51f2edca1e7b86d1af1981bf1c4ee3 qwen-image-2.1-UC-Q6_K.gguf
11
+ cde456c72ea3ecebfc1be783300e972711d875e0c5f1bed33d42b66b156affa8 qwen-image-2.1-UC-Q8_0.gguf
12
+ 68bdc82bc1b66851162ae656225e7e2068166b603db19bd5d5a3b90eb12669a9 text_encoders/qwen3vl_8b_bf16.safetensors
13
+ 8bfd0f6e12abf2d2d697ecc888e5e90b0d6741d6708f05799f53afa560452e8f text_encoders/qwen3vl_8b_int8_convrot.safetensors
14
+ bb21f7473051e1ac368515dd3f2e15cd44d7a11748ee8823e1ddca3e4876b7c9 vae/qwen_image_2.1_vae_bf16.safetensors
assets/Qwen-Image-2.1-Benchmark.png ADDED

Git LFS Details

  • SHA256: 66a1481f7e03491f42ecc0dc2380afdb97e6144759900317be857696e7038ac5
  • Pointer size: 131 Bytes
  • Size of remote file: 270 kB
qwen-image-2.1-UC-BF16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f151c683a8aed4b310777017ebbbe3f2180f1180f7867115171adb7d50b0762a
3
+ size 14230272800
qwen-image-2.1-UC-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13f59f20656efc0aa385d03c1fcac1a9dc2ad6e5ccc0ea9bfe1d6ac636f2c5b9
3
+ size 4151573280
qwen-image-2.1-UC-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e79c8a009f2ecbdb6c70fd663d9aea9ee304a0d91f347e4169a756b8ad141b41
3
+ size 4604558112
qwen-image-2.1-UC-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af0bf278cf16d204fb31c384dc82fd41dca82d976b15fe9305a60c726fd6f821
3
+ size 5221284640
qwen-image-2.1-UC-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e14bb312109333b3d73b92ad9b9ac8b29b51f2edca1e7b86d1af1981bf1c4ee3
3
+ size 5876556576
qwen-image-2.1-UC-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cde456c72ea3ecebfc1be783300e972711d875e0c5f1bed33d42b66b156affa8
3
+ size 7591557920
text_encoders/qwen3vl_8b_bf16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68bdc82bc1b66851162ae656225e7e2068166b603db19bd5d5a3b90eb12669a9
3
+ size 17534334616
text_encoders/qwen3vl_8b_int8_convrot.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bfd0f6e12abf2d2d697ecc888e5e90b0d6741d6708f05799f53afa560452e8f
3
+ size 9350798360
vae/qwen_image_2.1_vae_bf16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb21f7473051e1ac368515dd3f2e15cd44d7a11748ee8823e1ddca3e4876b7c9
3
+ size 675509688