microsoft / DeepSpeed-MII

MII makes low-latency and high-throughput inference possible, powered by DeepSpeed.
Apache License 2.0
1.88k stars 176 forks source link

Stable Diffusion | Multi-Pipeline Support (i.e. img2img) #118

Open ghunkins opened 1 year ago

ghunkins commented 1 year ago

Hi, thank you for the incredible work done here.

Curious as to if img2img and inpainting are planned for release via MII for Stable Diffusion? Happy to potentially help add those features.

It would be ideal to be able to pass in any class that inherits from diffusers.pipeline_utils.DiffusionPipeline, and then just allow the passed kwargs to handle the various inputs. Doing this would allow both img2img, inpainting, and any other community pipelines that exist out there to take advantage of mii.

whcjb commented 2 months ago

any update? is there other way to inference img2img? thanks