Instructions to use mingyi456/Chroma1-Flash-DF11-ComfyUI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use mingyi456/Chroma1-Flash-DF11-ComfyUI with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,19 +31,23 @@ This is the `pattern_dict` for compressing Chroma-based models in ComfyUI:
|
|
| 31 |
|
| 32 |
```python
|
| 33 |
pattern_dict_comfyui = {
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
"
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
```
|
|
|
|
| 31 |
|
| 32 |
```python
|
| 33 |
pattern_dict_comfyui = {
|
| 34 |
+
r"distilled_guidance_layer\.layers\.\d+": (
|
| 35 |
+
"in_layer",
|
| 36 |
+
"out_layer"
|
| 37 |
+
),
|
| 38 |
+
r"double_blocks\.\d+": (
|
| 39 |
+
"img_attn.qkv",
|
| 40 |
+
"img_attn.proj",
|
| 41 |
+
"img_mlp.0",
|
| 42 |
+
"img_mlp.2",
|
| 43 |
+
"txt_attn.qkv",
|
| 44 |
+
"txt_attn.proj",
|
| 45 |
+
"txt_mlp.0",
|
| 46 |
+
"txt_mlp.2",
|
| 47 |
+
),
|
| 48 |
+
r"single_blocks\.\d+": (
|
| 49 |
+
"linear1",
|
| 50 |
+
"linear2",
|
| 51 |
+
),
|
| 52 |
+
}
|
| 53 |
```
|