diffusers
8d30d05d - fix(qwen): fix CFG failing when passing neg prompt embeds with none mask (#13379)

Commit
23 days ago
fix(qwen): fix CFG failing when passing neg prompt embeds with none mask (#13379) * fix(qwen): fix CFG failing when passing neg prompt embeds with none mask * fix(qwen): safely handle missing embeds masks in edit and inpaint pipelines * test(qwen): add tests for true cfg scale without neg prompt mask * fix(qwen): correct comments for copied functions in controlnet and inpaint pipelines * fix(qwen): add warnings for missing prompt and negative prompt masks in pipelines * test(qwen): use torch_device and clarify dummy inputs in cfg mask tests * fix(qwen): address Claude PR review feedback * fix(qwen): fix warning message based on reviewer suggestion --------- Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Author
Parents
Loading