AIAny
AI Model2026
Icon for item

Qwen-Image-2.1 Text Encoder (Heretic) — GGUF

GGUF-format, quantized (Q4_K_M) and refusal-ablated (Heretic) text encoder build for Qwen-Image-2.1, supplied with a separate f16 vision mmproj so the full multimodal pipeline runs on llama.cpp/ComfyUI (Mac/non-CUDA friendly); multiple formats and quantizations included.

Introduction

Why this matters

Running the full Qwen-Image-2.1 pipeline outside CUDA ecosystems has been frictioned by large bf16 checkpoints and incompatible loaders. This repo packages a refusal‑ablated text encoder in GGUF (Q4_K_M) together with a separate f16 vision mmproj so users can run the same multimodal text→image and edit flows on llama.cpp/ComfyUI (including Mac) with a much smaller disk and memory footprint.

What Sets It Apart
  • Refusal ablation (Heretic): directional ablation targets projection tensors to remove many refusal behaviors from the encoder family. Measured family stats: 5/100 refusals, KL divergence 0.0220; independent checks reported 0/20 refusals on held‑out harmful prompts while retaining benign answers.
  • GGUF + mmproj packaging for llama.cpp/ComfyUI: language tower quantized as Q4_K_M (≈5.0 GB) plus a separate f16 vision mmproj (≈1.2 GB) so the multimodal encoder is loadable and usable on non‑CUDA platforms via CLIPLoaderGGUF + a small ComfyUI patch node.
  • Multiple builds offered: FP8 (safetensors), NVFP4 / W4A8 (CUDA-optimized), bf16 (full precision) and GGUF mixed-precision quantizations, allowing trade-offs between VRAM, speed and fidelity.
  • Practical loader fixes: the companion ComfyUI-GGUF-Qwen3VL-TE add-on resolves common GGUF loading errors (shape mismatch and missing architecture metadata) so text-to-image and reference-image editing produce outputs consistent with the bf16 encoder up to quantization noise.
Who It's For and Trade-offs

Great fit if you want to run Qwen-Image-2.1 on non-CUDA hardware (Mac/llama.cpp) or in ComfyUI with reduced memory use and you accept quantization noise and a community-maintained fork. The build is useful for experiments, local image generation pipelines, and lower-VRAM GPUs.

Look elsewhere if you need the stock, unmodified safety/refusal behavior or require an officially supported release: this is a community derivative (not affiliated with the upstream Qwen release) with deliberate ablation of refusal behavior. Quantization and ablation both change model outputs slightly—choose bf16 or higher-precision builds when exact fidelity and original safety responses are required.

Practical notes: the smallest usable configuration is the Q4_K_M GGUF file paired with the mmproj vision file; ComfyUI requires two small add-on nodes to load GGUF Qwen3‑VL models reliably. The repo also documents recommended sampler/settings for Qwen-Image pipelines and provides alternative quantization formats for NVIDIA GPUs.

More Items

Hugging Face
AI Image2026

Turns text prompts or up to eight reference images into high-resolution images, with support for editing. An eight-step sampler and built-in prompt upsampler streamline generation, though bf16 inference requires substantial GPU memory.

Hugging Face
AI Video2026

Remakes existing footage from text instructions, changing characters, props, or scenes while preserving the original motion, camera, cuts, and sound. Use it in the Viggle app or run it on your own GPUs.

Hugging Face
AI Model2026

Fine-tunes Qwen3.8-27B to change how it answers politically sensitive questions, targeting both factual recall and framing. The training reinforces values selected by Nous Research; intended for users who want that viewpoint or study value alignment.