ComfyUI-Flux1Quantize-MZ

ComfyUI-Flux1Quantize-MZ
★ 11

模型量化Flux1int4量化marlin依赖
Flux1 的非官方 int4 量化模型,基于 AutoAWQ 与 marlin,可在支持 sm_80(30 系列及以上)显卡上以更低显存运行生成模型。
💡 在 30 系列及以上 GPU 上低显存运行 Flux1
🍴 2 Forks💻 Python🔄 2024-08-14
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/8b0992d318c3
image
📄 README

Flux1的非官方量化模型

量化工具来自 https://github.com/casper-hansen/AutoAWQ 和 https://github.com/IST-DASLab/marlin

仅适用sm_80以上的显卡(30系列及以上)

需要先安装marlin依赖

pip install git+https://github.com/IST-DASLab/marlin

模型下载地址:

https://www.modelscope.cn/models/wailovet/flux1-quantize/resolve/master/flux1-dev-unet-marlin-int4.safetensors

在examples文件夹可以找到一个简单的使用示例

The unofficial quantized model of Flux1

The quantization tools come from https://github.com/casper-hansen/AutoAWQ and https://github.com/IST-DASLab/marlin

Only suitable for GPUs above sm_80 (30 series and above)

You need to install the marlin dependency first

pip install git+https://github.com/IST-DASLab/marlin

Model download link:

https://huggingface.co/MinusZoneAI/flux1-quantize/resolve/main/flux1-dev-unet-marlin-int4.safetensors

You can find a simple example in the examples folder