Views
No views yet
model-00001-of-00002.safetensors
model-00002-of-00002.safetensors
config.json
tokenizer.json
tokenizer_config.jsoncomfyui/qwen3-4b-heretic.safetensors # bf16, 7.5GB
comfyui/qwen3-4b-heretic_fp8_e4m3fn.safetensors # fp8 row-wise, 4.2GB
comfyui/qwen3-4b-heretic_int8.safetensors # int8 ConvRot row-wise, 4.2GB
comfyui/qwen3-4b-heretic_int4.safetensors # int4 W4A4 ConvRot, 2.5GB
comfyui/qwen3-4b-heretic_nvfp4.safetensors # nvfp4, 2.7GB
comfyui/qwen3-4b-heretic_mxfp8.safetensors # mxfp8, 4.3GBQuality: All quantized variants use SVD-guided learned rounding (AdaRound via convert_to_quant), which optimizes each weight's rounding direction to minimize output reconstruction error — noticeably higher fidelity than naive round-to-nearest quantization.
| Quant | Size | Notes |
|---|---|---|
| F16 | ~7.5GB | Lossless reference |
| Q8_0 | ~4GB | Excellent quality |
| Q6_K | ~3GB | Very good quality |
| Q5_K_M | ~2.7GB | Good quality |
| Q4_K_M | ~2.3GB | Recommended balance |
| Q3_K_M | ~1.9GB | For low VRAM only |
comfy_quant metadata embedded in each file.| Format | Size | Bits | Notes |
|---|---|---|---|
| FP8 (E4M3, row-wise) | 4.2GB | 8 | Best speed/quality balance; works on Ada/Hopper+ |
| INT8 (ConvRot row-wise) | 4.2GB | 8 | Hadamard-rotated; broad GPU support |
| MXFP8 | 4.3GB | 8 | Microscaling FP8 (E8M0 block scales); Blackwell-accelerated |
| INT4 (W4A4 ConvRot) | 2.5GB | 4 | Smallest; Hadamard-rotated signed INT4 |
| NVFP4 (E2M1) | 2.7GB | 4 | NVIDIA FP4; Blackwell FP4 tensor cores for best perf |
convrot_w4a4 path.comfyui/qwen3-4b-heretic_fp8_e4m3fn.safetensors (4.2GB)comfyui/qwen3-4b-heretic_int4.safetensors (2.5GB)comfyui/qwen3-4b-heretic_nvfp4.safetensors (2.7GB)comfyui/qwen3-4b-heretic_int8.safetensors (4.2GB)comfyui/qwen3-4b-heretic_mxfp8.safetensors (4.3GB)comfyui/qwen3-4b-heretic.safetensors (7.5GB)ComfyUI/models/text_encoders/ClipLoader node and select the heretic file1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model = AutoModelForCausalLM.from_pretrained(
5 "DreamFast/qwen3-4b-heretic",
6 device_map="auto",
7 torch_dtype=torch.bfloat16
8)
9tokenizer = AutoTokenizer.from_pretrained("DreamFast/qwen3-4b-heretic")
10
11prompt = "Describe a dramatic sunset over a cyberpunk city"
12inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
13outputs = model.generate(**inputs, max_new_tokens=200)
14print(tokenizer.decode(outputs[0], skip_special_tokens=True))llama-server -m qwen3-4b-heretic-Q4_K_M.gguf? Which trial do you want to use?
> [Trial 96] Refusals: 3/100, KL divergence: 0.0000 <-- selected
[Trial 90] Refusals: 5/100, KL divergence: 0.0000
[Trial 95] Refusals: 9/100, KL divergence: 0.0000
[Trial 122] Refusals: 90/100, KL divergence: 0.0000
...