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 Video2026

Transfers the visual style of an image or video reference to new video content, aiming to preserve the look rather than the reference subject. Trained and evaluated only for MiniMax H3 Ref2VA, it may still reproduce shapes or patterns from the reference.

Hugging Face
AI Model2026

Reduces repetitive reasoning by fine-tuning attention layers while aiming to preserve Inkling-2-Mini’s accuracy. Built for reasoning, coding, and tool use; lower effort can reduce accuracy on difficult math tasks.

Hugging Face
AI Model2026

Adds switchable recurrent passes to the frozen Qwen3.8-Flash-Next core without changing base weights. Its reported 64k paired evaluation shows a 0.96-point overall score gain and 34.2% fewer generated tokens, with results varying by benchmark.