Closed Daniel-SicSo-Edinburgh closed 1 month ago
Added support to SD3 pipeline without T5, see sample here: https://github.com/xhinker/sd_embed/blob/main/samples/lpw_sd3_wo_t5.py
Update sd_embed to use it:
pip install -U git+https://github.com/xhinker/sd_embed.git@main
Describe the bug
get_weighted_text_embeddings_sd3(model, prompt=prompt, neg_prompt=neg_prompt, use_t5_encoder=False)
gives as output for prompt_embeds and negative_prompt_embeds a tensor of shape [1, X, 2048] when it should give [1, X, 4096]. I assume the difference will be just padding, but it needs to have the latter format to work with diffusers.Reproduction
Logs