Skip to content

Commit 16f6df1

Browse files
committed
Add CLIP text encoders to hf packages
1 parent 119adf0 commit 16f6df1

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

StabilityMatrix.Avalonia/Assets/hf-packages.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,5 +922,32 @@
922922
],
923923
"Subfolder": "segm",
924924
"LicenseType": "Apache 2.0"
925+
},
926+
{
927+
"ModelCategory": "Clip",
928+
"ModelName": "CLIP L",
929+
"RepositoryPath": "comfyanonymous/flux_text_encoders",
930+
"Files": [
931+
"clip_l.safetensors"
932+
],
933+
"LicenseType": "MIT"
934+
},
935+
{
936+
"ModelCategory": "Clip",
937+
"ModelName": "T5XXL FP16",
938+
"RepositoryPath": "comfyanonymous/flux_text_encoders",
939+
"Files": [
940+
"t5xxl_fp16.safetensors"
941+
],
942+
"LicenseType": "Apache 2.0"
943+
},
944+
{
945+
"ModelCategory": "Clip",
946+
"ModelName": "T5XXL FP8 E4M3FN",
947+
"RepositoryPath": "comfyanonymous/flux_text_encoders",
948+
"Files": [
949+
"t5xxl_fp8_e4m3fn.safetensors"
950+
],
951+
"LicenseType": "Apache 2.0"
925952
}
926953
]

StabilityMatrix.Avalonia/Models/HuggingFace/HuggingFaceModelType.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ public enum HuggingFaceModelType
1212
[ConvertTo<SharedFolderType>(SharedFolderType.StableDiffusion)]
1313
BaseModel,
1414

15+
[Description("CLIP / Text Encoders")]
16+
[ConvertTo<SharedFolderType>(SharedFolderType.CLIP)]
17+
Clip,
18+
1519
[Description("ControlNets (SD1.5)")]
1620
[ConvertTo<SharedFolderType>(SharedFolderType.ControlNet)]
1721
ControlNet,

0 commit comments

Comments
 (0)