base_model: Qwen/Qwen2.5-VL-7B-Instruct
language:
- en
license: apache-2.0
library_name: transformers
tags: - vision
- image-to-text
- text-generation
- multimodal
- abliterated
- fp16
- quantized
- int8
- convrot
- hswq
- comfyui
Qwen2.5-VL-7B-Instruct-abliterated (Merged FP16 + HSWQ ConvRot INT8)
This repository contains the merged FP16 weights of the abliterated version of Qwen2.5-VL-7B-Instruct, plus an HSWQ ConvRot INT8 quantized copy of the same weights (9289.6 MB, −41.3% disk vs the 15816.1 MB BF16 source).
I have simply merged the split files originally provided by ussoewwin into a unified model for easier handling and deployment.
Model Details
- Model Type: Vision-Language Model (Qwen2.5-VL)
- Base Model: Qwen/Qwen2.5-VL-7B-Instruct
- Modification: Abliterated (Safety mechanisms/refusals modified)
- Source of Split Files: ussoewwin/Qwen2.5-VL-7B-Instruct-abliterated
- Precision: FP16 (merged) / HSWQ ConvRot INT8 (quantized copy)
🌟 HSWQ ConvRot INT8 Version
- Technical Details & Quantization Framework: Hybrid-Sensitivity-Weighted-Quantization (HSWQ)
- ComfyUI Loader for ConvRot INT8: ComfyUI-HSWQ-Loader-and-Tools
Available Files
| Filename | Contents | Quantization | File Size | Baseline Size | Disk Savings | Status |
|---|---|---|---|---|---|---|
Qwen2.5-VL-7B-Instruct-abliterated_converted.safetensors |
The merged FP16/BF16 checkpoint | — (baseline) | ~15.82 GB | — | — | Available |
Qwen2.5-VL-7B-Instruct-abliterated_converted_hswq_convrot_int8.safetensors |
The same weights, quantized | HSWQ ConvRot INT8 (int8_tensorwise) |
~9.29 GB (9,289.6 MB) | ~15.82 GB (BF16) | ~41% Reduction | Available |
Quantization Breakdown (all numbers measured)
The checkpoint carries 360 two-dimensional Linear modules (the language tower
196 + the vision tower 162). The pack quantizes 320 of 360 in ConvRot INT8
(group size 256; 32 layers at group size 4 where the width demands it) and
keeps the 40 most sensitive language-tower layers in FP16. The FP16 kept
tensors are stored FP16 (the INT8 weight_scale stays FP32 by design for the
dequantization path).
| item | measured |
|---|---|
| source | 15,816.1 MB (BF16, 729 tensors) |
| pack | 9,289.6 MB (−41.3%) |
| SHA256 | 25D509531992846FF895BAF3C3E8AC6A5D182629130162880C6E2234664EF18C |
| quantized layers | 320 of 360 (language 157 / vision 162) |
| FP16-kept layers | 40 (the language tower's top sensitivity, chosen by the aggregate-contribution criterion) |
| quality gate | mean cos 0.999325 / min cos 0.997294 on the fixed 256-item set (seed 42), output finite |
What runs in ComfyUI
ComfyUI loads this checkpoint through the QWEN25_7B clip type (the
Qwen-Image text-encoder dispatch), which builds the language tower only
(Qwen25_7BVLIModel). The vision tower is shipped and quantized for model
content completeness, but no Qwen2.5-VL load path in ComfyUI reads it — the
observable quality metric is the language tower's hidden state.
Comparison against the previous all-INT8 pack (both measured on the same 256-item set)
| previous pack (360 INT8, no protection) | this pack (320 INT8 + 40 FP16) | |
|---|---|---|
| mean / min cos | 0.998241 / 0.994528 | 0.999325 / 0.997294 |
| size | 7,918.6 MB | 9,289.6 MB |
The 40 protected layers buy +1.1e-03 of the mean and +2.8e-03 of the minimum
for +1,371 MB. The minimum matters: the previous pack's worst item (0.9945)
sat close to the 0.99 gate.
🛠️ Usage in ComfyUI
Download Qwen2.5-VL-7B-Instruct-abliterated_converted_hswq_convrot_int8.safetensors into:
ComfyUI/models/clip/
Then load it with the standard CLIPLoader node in ComfyUI (qwen25_7b type detection via the Quantization Framework / HSWQ ComfyUI Nodes, Load Text Encoder). ComfyUI detects the comfy_quant header metadata and executes INT8 Tensor Core operations natively; no manual dequantization step is required.
📜 Credits & License
- Base Architecture & Model: Qwen/Qwen2.5-VL-7B-Instruct (Qwen Team, Apache 2.0)
- Abliteration: the abliterated variant of the above (merged from the split files)
- Quantization Framework: HSWQ / ConvRot INT8 Pipeline
- License: Apache 2.0 (inherited from the base model)