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 compressing models that do not use the Flux architecture might be slightly tricky for me.
Install my own fork of the DF11 ComfyUI custom node: https://github.com/mingyi456/ComfyUI-DFloat11-Extended. After installing the DF11 custom node, use the provided workflow json, or simply replace the "Load Diffusion Model" node of an existing Chroma workflow with the "DFloat11 Model Loader" node. If you run into any issues, feel free to leave a comment. The workflow is also embedded in the below png image.
diffusersAs far as I know, this model architecture is currently not yet supported in diffusers.
This is the pattern_dict for compressing Chroma-based models in ComfyUI:
pattern_dict_comfyui = {
r"distilled_guidance_layer\.layers\.\d+": (
"in_layer",
"out_layer"
),
r"double_blocks\.\d+": (
"img_attn.qkv",
"img_attn.proj",
"img_mlp.0",
"img_mlp.2",
"txt_attn.qkv",
"txt_attn.proj",
"txt_mlp.0",
"txt_mlp.2",
),
r"single_blocks\.\d+": (
"linear1",
"linear2",
),
r"nerf_blocks\.\d+": (
"param_generator",
)
}
Chroma1-Radiance-v0.4-DF11-old-expanded.safetensors 13 GBChroma1-Radiance-latest_x0_x32_proto-DF11-b42640e5c326bdf1e40ac18c8c1729181745e8a385c9b365344a1a44177fe05f.safetensors 13 GBChroma1-Radiance-latest_x0_x32_dino_distance-DF11-72e6814c11eac581b1579d125f2e7b685509cfbb23a2a668b99c3621e569872a.safetensors 13 GBChroma1-Radiance-latest_x0_x32_proto-DF11-12c62335d6feb760660c7c2056aea86bbd2fdd124d6bf280f477fd0d7a66a3ee.safetensors 13 GBChroma1-Radiance-latest_x0_x32_proto-DF11-old-12c62335d6feb760660c7c2056aea86bbd2fdd124d6bf280f477fd0d7a66a3ee.safetensors 13 GBChroma1-Radiance-latest_x0-DF11-54840d542dd6242a8263fc684a57c64a195d6d9c870bc0375a7478a8b7098744.safetensors 13 GBChroma1-Radiance-latest_x0-DF11-db0e59ade15a3bb962997ee488c093a36cd488ec3dd40e474035c72e421aa534.safetensors 13 GBChroma1-Radiance-latest_x0-DF11-old-db0e59ade15a3bb962997ee488c093a36cd488ec3dd40e474035c72e421aa534.safetensors 13 GBChroma1-Radiance-latest_x0_full_20M_dataset_run-DF11-02bdbe45527a844eb9538bea1100009b43a7f38dd6f1114bfa9800babc3e972d.safetensors 13 GBChroma1-Radiance-latest_x0_full_20M_dataset_run-DF11-caf76a26f9402eb6d0f863429171730fb403f9c32e047067cbd6654637f8f903.safetensors 13 GBChroma1-Radiance-latest_x0_full_20M_dataset_run-DF11-c576ca40f41e57557cbe326b08a5e800908355baed750549d8a74b443484d7da.safetensors 13 GBChroma1-Radiance-latest_x0_full_20M_dataset_run_1024-DF11-0c4d9e62865771e44e99921415e87c4874103a0bc5c761d4e644d2785fa664da.safetensors 13 GBChroma1-Radiance-latest_x0_full_20M_dataset_run_1024-DF11-0125260b725331b6dbca1b8c14b0ce432827e16fa2097505e1339756891e0c41.safetensors 13 GBChroma1-Radiance-v0.4-DF11.safetensors 13 GBChroma1-Radiance-v0.4-DF11-old.safetensors 13 GBHave the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo mingyi456/Chroma1-Radiance-DF11-ComfyUI ./model-folderlodestones/Chroma1-Radiance