Skip to content

Commit 7ae6626

Browse files
Remove useless argument.
1 parent 6632365 commit 7ae6626

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

comfy/sd1_clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class SDClipModel(torch.nn.Module, ClipTokenWeightEncoder):
8080
"pooled",
8181
"hidden"
8282
]
83-
def __init__(self, version="openai/clip-vit-large-patch14", device="cpu", max_length=77,
83+
def __init__(self, device="cpu", max_length=77,
8484
freeze=True, layer="last", layer_idx=None, textmodel_json_config=None, dtype=None, model_class=comfy.clip_model.CLIPTextModel,
8585
special_tokens={"start": 49406, "end": 49407, "pad": 49407}, layer_norm_hidden_state=True, enable_attention_masks=False, zero_out_masked=False,
8686
return_projected_pooled=True, return_attention_masks=False, model_options={}): # clip-vit-base-patch32

0 commit comments

Comments
 (0)