Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Remove useless argument.

comfyanonymous7ae662672321
diff --git a/comfy/sd1_clip.py b/comfy/sd1_clip.py
index 9f0d95b0a..bb240526f 100644
--- a/comfy/sd1_clip.py
+++ b/comfy/sd1_clip.py
@@ -80,7 +80,7 @@ class SDClipModel(torch.nn.Module, ClipTokenWeightEncoder):
"pooled",
"hidden"
]
- def __init__(self, version="openai/clip-vit-large-patch14", device="cpu", max_length=77,
+ def __init__(self, device="cpu", max_length=77,
freeze=True, layer="last", layer_idx=None, textmodel_json_config=None, dtype=None, model_class=comfy.clip_model.CLIPTextModel,
special_tokens={"start": 49406, "end": 49407, "pad": 49407}, layer_norm_hidden_state=True, enable_attention_masks=False, zero_out_masked=False,
return_projected_pooled=True, return_attention_masks=False, model_options={}): # clip-vit-base-patch32