From 6c9dbde7de5696fae18540ae68baaa1f990b9ba9 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sun, 3 Nov 2024 01:40:42 -0500 Subject: [PATCH] Fix mochi all in one checkpoint t5xxl key names. --- comfy/text_encoders/genmo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/text_encoders/genmo.py b/comfy/text_encoders/genmo.py index 5e96cea6..45987a48 100644 --- a/comfy/text_encoders/genmo.py +++ b/comfy/text_encoders/genmo.py @@ -12,7 +12,7 @@ class T5XXLModel(comfy.text_encoders.sd3_clip.T5XXLModel): class MochiT5XXL(sd1_clip.SD1ClipModel): def __init__(self, device="cpu", dtype=None, model_options={}): - super().__init__(device=device, dtype=dtype, clip_name="t5xxl", clip_model=T5XXLModel, model_options=model_options) + super().__init__(device=device, dtype=dtype, name="t5xxl", clip_model=T5XXLModel, model_options=model_options) class T5XXLTokenizer(sd1_clip.SDTokenizer):