Merge pull request #2183 from graemeniedermayer/sd35_integration

sd3.5 integration (naive)
This commit is contained in:
lllyasviel
2024-10-28 21:54:10 -07:00
committed by GitHub
32 changed files with 332140 additions and 11 deletions

View File

@@ -139,7 +139,7 @@ class ClassicTextProcessingEngine:
if self.return_pooled:
pooled_output = outputs.pooler_output
if self.text_projection:
if self.text_projection and self.embedding_key is not 'clip_l':
pooled_output = self.text_encoder.transformer.text_projection(pooled_output)
z.pooled = pooled_output