Move text_projection to base clip model.

This commit is contained in:
comfyanonymous
2023-08-24 22:20:30 -04:00
parent 30eb92c3cb
commit ec96f6d03a
4 changed files with 8 additions and 11 deletions

View File

@@ -564,9 +564,6 @@ class CLIP:
n.layer_idx = self.layer_idx
return n
def load_from_state_dict(self, sd):
self.cond_stage_model.load_sd(sd)
def add_patches(self, patches, strength_patch=1.0, strength_model=1.0):
return self.patcher.add_patches(patches, strength_patch, strength_model)