For more information (including how to compress models yourself), check out
https://huggingface.co/DFloat11 and
https://github.com/LeanModels/DFloat11
Feel free to request for other models for compression as well, although models whose architecture I am unfamiliar with might be slightly tricky for me.
The original BF16 weights used for the compression were obtained from
https://civitai.com/models/2086389/uncanny-photorealism-chroma
Follow the instructions here:
https://github.com/LeanModels/ComfyUI-DFloat11. Alternatively, you can install my own fork of the DF11 ComfyUI custom node:
https://github.com/mingyi456/ComfyUI-DFloat11-Extended instead. After installing the DF11 custom node, simply replace the "Load Diffusion Model" node of an existing workflow with the "DFloat11 Model Loader" node. If you run into any issues, feel free to leave a comment.
1pattern_dict_comfyui = {
2 r"distilled_guidance_layer\.layers\.\d+": (
3 "in_layer",
4 "out_layer"
5 ),
6 r"double_blocks\.\d+": (
7 "img_attn.qkv",
8 "img_attn.proj",
9 "img_mlp.0",
10 "img_mlp.2",
11 "txt_attn.qkv",
12 "txt_attn.proj",
13 "txt_mlp.0",
14 "txt_mlp.2",
15 ),
16 r"single_blocks\.\d+": (
17 "linear1",
18 "linear2",
19 ),
20}