File size: 1,068 Bytes
3336fec
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
license: apache-2.0
base_model:
  - Cloudflare/clef-flash
library_name: diffusion-single-file
tags:
  - comfyui
---

# Clef (ComfyUI)

[Cloudflare/clef-flash](https://huggingface.co/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](https://github.com/nomadoor/ComfyUI-TypedDecision): pick `clef` as the adapter and the file as the backbone.