GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

pottokao/Ideogram-4-Text-Encoder-Heretic-DHQ-GGUF overview

Ideogram 4 Text Encoder Heretic Qwen3 VL 8B — DHQ GGUF DHQ = Dual Head Quant. The heretic abliterated Qwen3 VL 8B from Qwen Image 2.1 Text Encoder Heretic http…

ggufquantizedtext-encoderabliteratedideogrambase_model:pottokao/Qwen-Image-2.1-Text-Encoder-Hereticbase_model:quantized:pottokao/Qwen-Image-2.1-Text-Encoder-Hereticlicense:apache-2.0endpoints_compatibleregion:usimatrixconversational

Runs locally from ~1.08 GB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
1,668
Likes
0
Pipeline
—
Author

Repository Files & Downloads

9 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
ideogram4-te-heretic-dhq-IQ2_M.ggufGGUFIQ2_M2.84 GBDownload
ideogram4-te-heretic-dhq-IQ2_S.ggufGGUFIQ2_S2.67 GBDownload
ideogram4-te-heretic-dhq-IQ3_M.ggufGGUFIQ3_M3.63 GBDownload
ideogram4-te-heretic-dhq-IQ3_S.ggufGGUFIQ3_S3.53 GBDownload
ideogram4-te-heretic-dhq-IQ4_XS.ggufGGUFIQ4_XS4.25 GBDownload
ideogram4-te-heretic-dhq-Q2_K.ggufGGUFQ2_K3.06 GBDownload
ideogram4-te-heretic-dhq-Q3_K_M.ggufGGUFQ3_K_M3.84 GBDownload
ideogram4-te-heretic-dhq-Q4_K_M.ggufGGUFQ4_K_M4.68 GBDownload
mmproj-ideogram4-te-heretic-dhq-f16.ggufGGUFF161.08 GBDownload

Model Details

Model IDpottokao/Ideogram-4-Text-Encoder-Heretic-DHQ-GGUF
Authorpottokao
Pipeline—
Licenseapache-2.0
Base modelpottokao/Qwen-Image-2.1-Text-Encoder-Heretic
Last modified2026-10-17T05:51:16.000Z

Model README

---

license: apache-2.0

base_model:

  • pottokao/Qwen-Image-2.1-Text-Encoder-Heretic

tags:

  • gguf
  • quantized
  • text-encoder
  • abliterated
  • ideogram

---

Ideogram 4 Text Encoder (Heretic Qwen3-VL-8B) — DHQ GGUF

DHQ = Dual-Head Quant. The heretic (abliterated) Qwen3-VL-8B from

Qwen-Image-2.1-Text-Encoder-Heretic, quantized

so that every tensor gets the precision that matters to what the Ideogram 4 DiT actually reads (13 interleaved hidden layers + the final-norm output), measured per

tensor with gradients through the DiT's text input stage. Each file is **exactly the size of the standard llama.cpp

file of the same name**.

Tuned for Ideogram 4 only. For Qwen-Image-2.1 use

Qwen-Image-2.1-Text-Encoder-Heretic-DHQ-GGUF.

About the DHQ series

DHQ files are quantized for use as a diffusion model's text encoder: each tensor's precision is chosen by how

much its quantization error changes what the target DiT reads (measured through the DiT's own text-input stage),

not by next-token loss. They stay normal LLM GGUFs, so the same file can still write or rewrite prompts: where a

model is also used as a prompt enhancer (Z-Image-Engineer-V6, the heretic Qwen3-VL-8B), every file is also checked

for that (the PE column) and the tables show where it gets worse.

DHQ repos: Qwen-Image-2.1 ·

Ideogram 4 ·

Boogu ·

Z-Image-Engineer-V6 ·

Qwen3-4B (Z-Image / FLUX.2 klein 4B) ·

FLUX.3 Klein

We also built Dual-Head Dragon (ComfyUI-DualHead-Dragon), a ComfyUI node that runs one GGUF as both the text encoder and the prompt

enhancer (llama.cpp inside). It is public but still in testing, including its LoRA support

(separate LoRAs for the encoding and the rewriting head) and DFlash speculative decoding for faster rewriting.

The files here work without it (see How to load).

Results

Same heretic bf16 source, same size. Standard = llama.cpp default rules + the same imatrix.

TE = relative error of the text conditioning after Ideogram 4's own text input stage, on 36 held-out prompts never

used to build or pick anything (lower is better). PE = mean KL divergence of next-token predictions vs bf16 on

80 prompt-rewrite samples, i.e. how well the same file still works as a prompt enhancer (lower is better).

| File | Size | TE standard → DHQ | PE standard → DHQ |

|---|---:|---|---|

| ideogram4-te-heretic-dhq-Q4_K_M.gguf | 5.03 GB | 6.4% → 5.2% | 0.0153 → 0.0135 |

| ideogram4-te-heretic-dhq-IQ4_XS.gguf | 4.56 GB | 6.9% → 6.6% | 0.0185 → 0.0204 |

| ideogram4-te-heretic-dhq-Q3_K_M.gguf | 4.12 GB | 11.9% → 9.9% | 0.0559 → 0.0444 |

| ideogram4-te-heretic-dhq-IQ3_M.gguf | 3.90 GB | 13.8% → 9.8% | 0.0649 → 0.0534 |

| ideogram4-te-heretic-dhq-IQ3_S.gguf | 3.79 GB | 13.5% → 10.9% | 0.0604 → 0.0612 |

| ideogram4-te-heretic-dhq-Q2_K.gguf | 3.28 GB | 19.6% → 17.6% | 0.169 → 0.156 |

| ideogram4-te-heretic-dhq-IQ2_M.gguf | 3.05 GB | 22.8% → 18.3% | 0.169 → 0.165 |

| ideogram4-te-heretic-dhq-IQ2_S.gguf | 2.87 GB | 30.8% → 21.9% | 0.312 → 0.236 |

Ideogram 4 reads 13 interleaved middle layers, and the bits it needs are not the ones prompt writing needs: an

allocation driven by Ideogram 4 alone made prompt writing worse at several sizes. Q3_K_M, IQ3_M and IQ2_M are

therefore balanced with a second ruler for prompt writing (the model's own next-token predictions), so they beat the

standard file on both columns; the text-encoder error is only 0.1–0.6 points higher than the Ideogram-only

allocation. IQ3_S is a tie on PE. IQ4_XS is also balanced, but at that size no balance beat the standard file on both columns: the

text-encoder gain (6.9% → 6.6%) is within measurement noise (±0.5 points) and prompt writing is slightly worse

(0.0185 → 0.0204). It is here for completeness; the standard IQ4_XS is just as good a pick.

K or IQ?

Each size step comes in two series built the same way, with different llama.cpp formats:

  • K files (Q_K): simple block formats. Fast to decode everywhere — GPU, CPU, Metal, Vulkan — and on the GPU

in ComfyUI-GGUF.

  • IQ files (IQ*): codebook formats. For a similar error the file is smaller (compare the rows above), but

decoding is heavier: fine on llama.cpp GPU backends, slower on CPU, and **ComfyUI-GGUF decodes IQ3/IQ2 tensors on

the CPU** (tens of seconds per prompt). Our IQ4_XS files also contain some IQ3 (and in some repos IQ2) tensors,

so they are slow in ComfyUI-GGUF too.

**ComfyUI-GGUF → use a K file. llama.cpp (or Dual-Head Dragon) → either; IQ if you want the smallest file for a

given error.**

How to load

Dual-Head Dragon / llama.cpp: these are standard qwen3vl GGUFs; the scores above were measured this way.

ComfyUI: needs ComfyUI-GGUF and the add-on

ComfyUI-GGUF-Qwen3VL-TE (commit 1f52b00 or later).

Put the GGUF and mmproj-ideogram4-te-heretic-dhq-f16.gguf (this repo) in models/text_encoders/ without renaming

them (the mmproj is found by file-name prefix), then CLIPLoaderGGUF with type ideogram4.

> [!WARNING]

> Without the add-on (or with an older version) ComfyUI does not see the vision tower, treats the file as plain

> Qwen3-8B and builds the wrong text encoder without an error: ideogram4 falls back to its text-only encoder (per-token cos 0.84–0.87 vs bf16).

> With the add-on the conditioning matches the bf16 safetensors encoder (cos 0.9999, checked with a Q8_0 GGUF).

Reproducibility

recipes/ has one recipe per file: source repo and revision, llama.cpp commit, importance matrix (sha256), and the

type of every tensor as built. These files were built on aarch64 (GB10); rebuilding a recipe on aarch64 gives a

bit-identical file (checked for every uploaded file). On x86_64 llama.cpp rounds a few blocks differently.

License

Apache-2.0, same as the base weights (Qwen3-VL-8B-Instruct, Alibaba Cloud / Qwen). See LICENSE and NOTICE.

Run pottokao/Ideogram-4-Text-Encoder-Heretic-DHQ-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models