Skip to content
ModelListedExternal
Download

Lens DF11

For more information (including how to compress models yourself), check out and

KindUNetBase modelmicrosoft/LensVersionBF16Bgrade

Model source

Kind
UNet
File size
5.37 GB
Base model
microsoft/Lens
Version
vBF16
Updated
Oct 27, 2026
Downloads
10
Source
Hugging Face

Source description

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.

How to Use

ComfyUI

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.

diffusers

Currently, this model is not supported in diffusers.

Compression Details

This is the pattern_dict for compression:

pattern_dict_comfyui = {
    r"txt_in": [],
    r"transformer_blocks\.\d+": (
        "attn.img_qkv",
        "attn.txt_qkv",
        "attn.to_out.0",
        "img_mod.1",
        "img_mlp.w1",
        "img_mlp.w2",
        "img_mlp.w3",
        "txt_mod.1",
        "txt_mlp.w1",
        "txt_mlp.w2",
        "txt_mlp.w3",
    ),
}

Sources

1 source
Hugging FacePrimaryVersion 54ceebd8ec65082b4da4255442f8bac9d3be990c
huggingface.co/mingyi456/Lens-DF11-ComfyUI/tree/54ceebd8ec65082b4da4255442f8bac9d3be990c

Verified Oct 27

Model artifacts

1 artifact

lens_bf16-DF11.safetensors

safetensors · BF16 (unverified) · 5.37 GB · SHA-256 b9f32361eb80…4ce9 · Hugging Face

Download file

Source excerpts

3 excerpts

--- license: mit language: - en pipeline_tag: text-to-image tags: - comfyui - diffusion-single-file base_model: - microsoft/Lens base_model_relation: quantized --- 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. ### How to Use #### ComfyUI 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. #### `diffusers` Currently, this model is not supported in `diffusers`. ### Compression Details This is the `pattern_dict` for compression: ```python pattern_dict_comfyui = { r"txt_in": [], r"transformer_blocks\.\d+": ( "attn.img_qkv", "attn.txt_qkv", "attn.to_out.0", "img_mod.1", "img_mlp.w1", "img_mlp.w2", "img_mlp.w3", "txt_mod.1", "txt_mlp.w1", "txt_mlp.w2", "txt_mlp.w3", ), } ```

Source context: 10 downloads · 0 likes · Pipeline text-to-image · Library diffusion-single-file · Repo mingyi456/Lens-DF11-ComfyUI

Source context: 11 downloads · 0 likes · Pipeline text-to-image · Library diffusion-single-file · Repo mingyi456/Lens-DF11-ComfyUI