Replies: 1 comment
-
Yes, this makes sense. Is there any performance impact? I'm working on refactoring the high-level abstraction of LatentDiffusion to make it a chain. One key aspect of this refactoring is to account for different types of "sampling," like unconditional sampling, CFG sampling, SAG sampling, etc... Currently, everything is "hard-coded" for CFG sampling. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Refiners,
In stable diffusion, the stable diffusion model is called like :
Where
I'd like to suggest to rename
clip_text_embedding
tocfg_clip_text_embedding
and reshape it as(1, 2, 77, 768)
in a(batch, cond, tokens, embedding)
shape.It will give the ability to increase the batch_size, without mixing batch_size with cond dimension.
What do you think ?
Beta Was this translation helpful? Give feedback.
All reactions