Run this model with HF Jobs
Run Roland2531/Qwen-Image-2.1-RDNA4-RX9070 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Roland2531/Qwen-Image-2.1-RDNA4-RX9070. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Roland2531/Qwen-Image-2.1-RDNA4-RX9070 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Roland2531/Qwen-Image-2.1-RDNA4-RX9070 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Roland2531/Qwen-Image-2.1-RDNA4-RX9070 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
File size: 5,421 Bytes
a123f35 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | ---
license: other
license_name: qwen-research
license_link: https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE
base_model:
- Qwen/Qwen-Image-2.1
- chatrlabs/Qwen-Image-2.1-Uncensored-Omni-Quantized
pipeline_tag: text-to-image
tags:
- comfyui
- qwen-image-2.1
- diffusion-single-file
- amd
- rdna4
- rocm
- rx-9070
- int8
- convrot
---
# Qwen-Image-2.1 Uncensored Omni — Rotated-Domain Fused INT8-ConvRot Weights for AMD RDNA 4 (RX 9070 16 GB)
Pre-fused, ready-to-run **INT8-ConvRot** DiT checkpoints for **[Qwen-Image-2.1](https://huggingface.co/Qwen/Qwen-Image-2.1)** ([ChatR Labs Uncensored Omni](https://huggingface.co/chatrlabs/Qwen-Image-2.1-Uncensored-Omni-Quantized)), designed to pair with our drop-in ComfyUI custom node:
👉 **ComfyUI Custom Node & Workflows:** **[ComfyUI-QwenImage21-RDNA4](https://github.com/ruina37520198-a11y/ComfyUI-QwenImage21-RDNA4)**
---
## Included Files & SHA256 Checksums
Place the `.safetensors` file(s) in `ComfyUI/models/diffusion_models/`:
| File | Variant | Size | Fidelity (Rotated FP32 Domain) | SHA256 |
|---|---|---:|---|---|
| `diffusion_models/qwen-image-2.1-omni-turbo8-int8-convrot-fused.safetensors` | **8-step Turbo (Recommended Default)** | `6.76 GiB` (`7,256,792,504 B`) | `cos = 0.999975`, `relL2 = 0.00700` | `a66c28ce6f8863290fdd3597609ed9093f828cf00a2d874b8d6fb52d10094961` |
| `diffusion_models/qwen-image-2.1-omni-turbo4-int8-convrot-fused.safetensors` | **4-step Turbo (Fast Drafting)** | `6.76 GiB` (`7,256,792,504 B`) | `cos = 0.999965`, `relL2 = 0.00833` | `8e77d36f2480fb5ddd134bf36ed676692366086bab7f956931fc0efd3975db46` |
### Why Rotated-Domain Fusion?
The upstream INT8-ConvRot base checkpoint stores weights in `comfy_kitchen`'s orthogonal block-diagonal Regular Hadamard basis ($W_0 = (S \cdot q_0) R^\top$, $R = R^\top = R^{-1}$, `group_size=256`). Instead of dequantizing the entire matrix through BF16 and re-rotating, these weights are fused via the exact algebraic identity:
$$(W_0 + c B A) R = S \cdot q_0 + c B (A R)$$
Only the tiny rank-64 LoRA $A$ factor is rotated, fusion is accumulated in pure FP32, untouched non-saturated INT8 rows are preserved verbatim, and a single row-wise INT8 requantization is performed — cutting quantization error by **-7.8%** (`relL2 = 0.00700` vs `0.00759` BF16 round-trip) while removing 100% of runtime LoRA overhead.
---
## Required Companion Official Weights
Download from **[Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1)**:
- **Text Encoder (`5.88 GiB`)**: [`text_encoders/qwen3vl_8b_w4a8.safetensors`](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_w4a8.safetensors) → `ComfyUI/models/text_encoders/`
- **VAE (`0.63 GiB`)**: [`vae/qwen_image_2.1_vae_bf16.safetensors`](https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors) → `ComfyUI/models/vae/`
---
## Verified Benchmarks (AMD Radeon RX 9070 16 GB + 32 GB RAM, Windows 11, ROCm 7.2)
Measured with **[ComfyUI-QwenImage21-RDNA4](https://github.com/ruina37520198-a11y/ComfyUI-QwenImage21-RDNA4)** installed and launch flags `--use-ck-attention --reserve-vram 4.0` (`QwenImage21Cache`: `device="cpu", dtype="default"`):
| Workload | Model | CLIP (+ViT/VAEe) | DiT Sampling | VAE Decode | Total E2E |
|---|---|---:|---:|---:|---:|
| **8-step `1024×1024` T2I (same prompt)** | `turbo8` fused | `0.00s` (cached) | `4.12s` | `1.26s` | **`5.39s`** |
| **8-step `1024×1024` T2I (new prompt)** | `turbo8` fused | `2.31s` | `5.79s` | `1.18s` | **`9.27s`** |
| **8-step `1024×1024` I2I Edit (full)** | `turbo8` fused + CPU cache | `3.37s` (`ViT 0.72s`, **102×**) | `10.47s` (`4.8s` pure) | `0.82s` | **`14.66s`** |
| **8-step `1536×1536` T2I (high-res)** | `turbo8` fused (`WAN_STRIP_ELEMS=2²²`) | `2.20s` | `11.92s` | `3.02s` | **`17.14s`** |
| **4-step `1024×1024` I2I Edit (fast)** | `turbo4` fused + CPU cache | `3.37s` | `7.22s` | `0.82s` | **`11.41s`** |
---
## Quick Setup
1. Install the custom node:
```bash
cd ComfyUI/custom_nodes
git clone https://github.com/ruina37520198-a11y/ComfyUI-QwenImage21-RDNA4.git
```
2. Launch ComfyUI on 16 GB AMD Windows GPUs with:
```bat
set TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --use-ck-attention --reserve-vram 4.0
```
3. Drag and drop any workflow from `ComfyUI-QwenImage21-RDNA4/workflows/` into ComfyUI (no LoRA loader node needed).
---
## Attribution & License
- **Upstream Base Model**: [Qwen/Qwen-Image-2.1](https://huggingface.co/Qwen/Qwen-Image-2.1) by the **Qwen Team**, governed by the **[Qwen Research License](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE)**.
- **Uncensored Omni INT8-ConvRot Base & Turbo LoRAs**: [chatrlabs/Qwen-Image-2.1-Uncensored-Omni-Quantized](https://huggingface.co/chatrlabs/Qwen-Image-2.1-Uncensored-Omni-Quantized) & [chatrlabs/Qwen-Image-2.1-Uncensored-Omni-LoRA-v0.1](https://huggingface.co/chatrlabs/Qwen-Image-2.1-Uncensored-Omni-LoRA-v0.1) by **ChatR Labs**.
- **ComfyUI Packaging**: [Comfy-Org/Qwen-Image-2.1](https://huggingface.co/Comfy-Org/Qwen-Image-2.1).
- **Fused Checkpoints & Reproducible Fusion Script**: Produced offline with `scripts/fuse_qwen21_int8.py` from [ComfyUI-QwenImage21-RDNA4](https://github.com/ruina37520198-a11y/ComfyUI-QwenImage21-RDNA4).
|