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.
Roland2531's picture
Add Qwen-Image-2.1 RDNA 4 Model Card with SHA256 checksums and RX 9070 benchmarks
a123f35 verified
|
Raw History Blame Contribute Delete
5.42 kB
metadata
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 (ChatR Labs Uncensored Omni), designed to pair with our drop-in ComfyUI custom node:

👉 ComfyUI Custom Node & Workflows: 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:

(W0+cBA)R=Sâ‹…q0+cB(AR)(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:


Verified Benchmarks (AMD Radeon RX 9070 16 GB + 32 GB RAM, Windows 11, ROCm 7.2)

Measured with 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:
    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:
    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