mindspore-lab / mindone

one for all, Optimal generator with No Exception
https://mindspore-lab.github.io/mindone/
Apache License 2.0
337 stars 63 forks source link

[sdxl] concated multi-samples via one prompt #323

Closed townwish4git closed 5 months ago

townwish4git commented 5 months ago

Support generating multiple samples via one prompt and concatenating them into a single image.

P.S. In the new version of MindSpore 2.2.10 (released after 2023-12-12), enlarging the batch size for batch generation may lead to unknown result. Therefore, we have implemented this feature using a for loop.