ComfyUI_bnb_nf4_fp4_Loaders

ComfyUI_bnb_nf4_fp4_Loaders
★ 44

模型加载bitsandbytes量化(NF4/FP4)开发中/兼容性限制
加载以 bitsandbytes NF4/FP4 量化的 Checkpoint 与 UNET/扩散模型,减少显存占用并加速加载与推理,仍在开发中,使用 LoRA 可能受限。
💡 在ComfyUI中以NF4/FP4量化格式加载Checkpoints和UNET以节省显存并提速。
🍴 10 Forks💻 Python🔄 2025-11-26
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/af9fbf81e746
📦 requirements.txt
bitsandbytes>=0.43.0
📄 README

~~NOTE: This is very likely Deprecated in favor of GGUF which seems to give better results~~

Some users can experience speedup by combining loading UNET as NF4 using the loader from this repo and load T5XXL as GGUF using the repo from https://github.com/city96/ComfyUI-GGUF

Now on the manager for easy installation. Make sure to select Channel:dev in the ComfyUI manager menu or install via git url.

You can find the checkpoints and UNET in the linked repositories on huggingface or by searching for NF4 on Civitai

CivitAI search link

nf4 flux unet only

nf4 flux dev checkpoint

nf4 flux schnell checkpoint

Requires installing bitsandbytes.

Make sure your ComfyUI is updated.

The nodes are:

“CheckpointLoaderNF4”: “Load NF4 Flux Checkpoint”

“UNETLoaderNF4”: “Load NF4 Flux UNET”

just plug it in your flux workflow instead of the regular ones.

Code adapted from the implementation by Illyasviel at Forge.