Downloads · 30 days
0
craftingmod/Qwen3-VL-8B-Heretic-INT8
Qwen3-VL-8B-Heretic-INT8 is a image-text-to-text model from craftingmod. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for comfyui. The card lists the license as apache-2.0.
This repository provides a ComfyUI-compatible mixed-precision INT8 ConvRot quantization of DreamFast/Qwen3-VL-8B-Heretic-1.3.0.
Downloads · 30 days
0
Access
Public
Updated Aug 9, 2026
Repo size
11 GB
Likes
21
Trending 1
Click a slice to open those files.
.safetensors11 GB · 100%
From the Hugging Face model README
This repository provides a ComfyUI-compatible mixed-precision INT8 ConvRot quantization of DreamFast/Qwen3-VL-8B-Heretic-1.3.0.
The complete vision encoder and selected quantization-sensitive layers remain in BF16. Large projection matrices in the intermediate language-transformer blocks are quantized to row-wise INT8 with ConvRot.
--simple was not used)No layers were removed and no architectural changes were made. This is a lossy post-training quantization of the original ComfyUI safetensors checkpoint.
The following components remain in BF16:
model.visual.*)model.embed_tokens.weight)lm_head.weight)model.norm.weight)model.layers.0.*)model.layers.35.*)The following projection matrices in language-transformer blocks 1–34 are stored as INT8 ConvRot:
self_attn.q_projself_attn.k_projself_attn.v_projself_attn.o_projmlp.gate_projmlp.up_projmlp.down_projThis results in 238 INT8 projection matrices:
34 transformer blocks × 7 projection matrices = 238
Each quantized layer contains embedded ComfyUI quantization metadata equivalent to:
{
"format": "int8_tensorwise",
"orig_dtype": "torch.bfloat16",
"convrot": true,
"convrot_groupsize": 256,
"per_row": true
}
Despite the internal int8_tensorwise format identifier, "per_row": true specifies row-wise scaling.
The model was converted with convert_to_quant:
ctq \
-i "qwen3-vl-8b-heretic-1.3.0.safetensors" \
-o "qwen3-vl-8b-heretic-1.3.0-int8convrot.safetensors" \
--int8 \
--scaling_mode row \
--convrot \
--convrot-group-size 256 \
--exclude-layers "(^lm_head\.weight$|^model\.embed_tokens\.weight$|^model\.norm\.weight$|^model\.layers\.(0|35)\.|_layernorm\.weight$|\.(q|k)_norm\.weight$|^model\.visual\.)" \
--comfy_quant \
--save-quant-metadata \
--low-memory
--simple was intentionally omitted, enabling SVD-based learned rounding.
The resulting safetensors file contains:
BF16 tensors: 512
INT8 tensors: 238
F32 scale tensors: 238
U8 quantization-metadata tensors: 238
All 238 quantized projection matrices report:
convrot: true
convrot_groupsize: 256
per_row: true
orig_dtype: torch.bfloat16
Approximate weight storage:
| Variant | Weight size |
|---|---|
| Original BF16 | 16.33 GiB |
| Mixed INT8 ConvRot | Approximately 10.2–10.4 GiB |
| Reduction | Approximately 6.0 GiB / 37% |
Actual runtime VRAM usage also depends on activation memory, input resolution, visual-token count, context length, ComfyUI model offloading, and other models loaded in the workflow.
Place the file in:
ComfyUI/models/text_encoders/
Load it with the same ComfyUI text-encoder workflow used for the original ComfyUI-format checkpoint.
A recent ComfyUI version with native INT8 ConvRot support is required. The file is intended for ComfyUI's native quantized safetensors runtime; it is not a GGUF model and should not be treated as a standard Transformers checkpoint.
Quantization is lossy, and outputs are not expected to be bit-identical to the BF16 source model.
The complete vision encoder and modality-merger path remain in BF16 to prioritize image-input fidelity. Image information is subsequently processed by the mixed-precision language transformer, so exact BF16 vision-language behavior is not guaranteed.
No formal benchmark comparing this quantization against the original BF16 checkpoint has been published for this repository.
This repository contains quantized weights derived from:
The upstream model is distributed under the Apache License 2.0, and this quantized derivative is redistributed under the same license.
See the included LICENSE file and the upstream model repository for the applicable terms, attribution, notices, and disclaimers.