Skip to content

Commit ff99861

Browse files
Make clipsave work with more TE models. (Comfy-Org#7908)
1 parent 8d0661d commit ff99861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_extras/nodes_model_merging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def save(self, clip, filename_prefix, prompt=None, extra_pnginfo=None):
276276
comfy.model_management.load_models_gpu([clip.load_model()], force_patch_weights=True)
277277
clip_sd = clip.get_sd()
278278

279-
for prefix in ["clip_l.", "clip_g.", ""]:
279+
for prefix in ["clip_l.", "clip_g.", "clip_h.", "t5xxl.", "pile_t5xl.", "mt5xl.", "umt5xxl.", "t5base.", "gemma2_2b.", "llama.", "hydit_clip.", ""]:
280280
k = list(filter(lambda a: a.startswith(prefix), clip_sd.keys()))
281281
current_clip_sd = {}
282282
for x in k:

0 commit comments

Comments
 (0)