clef / README.md
nomadoor's picture
Add README
3336fec verified
|
Raw History Blame Contribute Delete
1.07 kB
metadata
license: apache-2.0
base_model:
  - Cloudflare/clef-flash
library_name: diffusion-single-file
tags:
  - comfyui

Clef (ComfyUI)

Cloudflare/clef-flash as a single file for ComfyUI. The weights are unchanged except for the format.

File Format
clef_flash_bf16 bf16, as released
clef_flash_int8_convrot int8 ConvRot

Each file carries the joint schema head (clef_head.*, bf16) and joint_head_config.json (metadata clef_head_config), unchanged from the original repository. The backbone keys are the released ones, merged from the shards. In the int8 file, only the language-model linear layers are quantized, in ComfyUI's comfy_quant format (ConvRot group 256 with per-row scales). Embeddings, lm_head (the head reads its rows), norms and the vision encoder stay bf16.

Put one file in ComfyUI/models/text_encoders and use it with ComfyUI-TypedDecision: pick clef as the adapter and the file as the backbone.