Downloads · 30 days
47
20% of all-time downloads
mingyi456/Ovis-Image-7B-DF11-ComfyUI
Ovis-Image-7B-DF11-ComfyUI is a text-to-image model from mingyi456. Use it when you need an image from a text prompt. It is set up for diffusion-single-file. The card lists the license as apache-2.0.
For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11 and https://github.com/LeanModels/DFloat11
Downloads · 30 days
47
20% of all-time downloads
All-time downloads
238
Public
Repo size
20.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors20.6 GB · 100%
From the Hugging Face model README
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.
Install the ComfyUI DFloat11 Extended node via the ComfyUI manager. After installing, simply replace the "Load Diffusion Model" node of an existing workflow with the "Load Diffusion Model" node. If you run into any issues, feel free to leave a comment.
diffusersThis is the pattern_dict for compression:
pattern_dict_comfyui = {
r"double_blocks\.\d+": (
"img_mod.lin",
"img_attn.qkv",
"img_attn.proj",
"img_mlp.gate_proj",
"img_mlp.up_proj",
"img_mlp.down_proj",
"txt_mod.lin",
"txt_attn.qkv",
"txt_attn.proj",
"txt_mlp.gate_proj",
"txt_mlp.up_proj",
"txt_mlp.down_proj",
),
r"single_blocks\.\d+": (
"linear1",
"linear2",
"modulation.lin",
),
}