ComfyUI Extension: ComfyUI-Flux1Quantize-MZ

Authored by MinusZoneAI

Created

Updated

11 stars

Quantization tools are from a/https://github.com/casper-hansen/AutoAWQ and a/https://github.com/IST-DASLab/marlin Only applicable to graphics cards with sm_80 and above (30 series and above) Need to install marlin dependencies first

README

image

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