From b066a920a131a6d9f1ee6deac12164601d8c115b Mon Sep 17 00:00:00 2001 From: JWLHS <847135749@qq.com> Date: Fri, 10 Jul 2026 10:46:43 +0800 Subject: [PATCH] =?UTF-8?q?Add=20TINT4=20=E2=80=94=20torchao=20INT4=20weig?= =?UTF-8?q?ht-only=20quantization=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom-node-list.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/custom-node-list.json b/custom-node-list.json index dac15fe6..1fa32a0f 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -54236,6 +54236,18 @@ ], "install_type": "git-clone", "description": "Block Swap (RAM Offload) node for native ComfyUI MODEL - run DiT models larger than VRAM by streaming transformer blocks from system RAM." + }, + { + "author": "JWLHS", + "title": "TINT4 — INT4 Weight-Only Quantization via torchao", + "id": "tint4_xpu", + "reference": "https://github.com/JWLHS/ComfyUI-TINT4-XPU", + "files": [ + "https://github.com/JWLHS/ComfyUI-TINT4-XPU" + ], + "install_type": "git-clone", + "description": "INT4 weight-only quantization (W4A16) for diffusion models via torchao. Activations remain FP16 — zero quantization quality loss. Full LoRA support: standard + LoKr format compatible, multi-LoRA stack (≤5), IS_CHANGED fingerprint skip (0s repeat generation), SHA256 JSON disk cache (<1s hit), GPU pre-hook bake-in. Supports Intel Arc XPU, NVIDIA CUDA, AMD ROCm. Verified on Krea2 Turbo, Flux2 Klein 9B, Z-Image, Boogu. Includes model analysis CLI. Requires: pip install torchao>=0.17.0" } ] } +