Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipe for img2img #8

Open
Hxd1995 opened this issue Aug 14, 2024 · 1 comment
Open

pipe for img2img #8

Hxd1995 opened this issue Aug 14, 2024 · 1 comment

Comments

@Hxd1995
Copy link

Hxd1995 commented Aug 14, 2024

Thank for your repo,Can this method be used on img2img, such like diffusers/stable-diffusion-xl-1.0-inpainting-0.1?Looking forward to your reply,thanks!

@czg1225
Copy link
Owner

czg1225 commented Aug 14, 2024

@Hxd1995 ,
Thanks for your interest. AsyncDiff can be used on img2img models. We have supported super-resolution (Stable Diffusion x4 Upscaler) and inpainting models (Stable Diffusion XL Inpainting).

You can try them using the following scripts.

Accelerate Stable Diffusion x4 Upscaler:

CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.run --nproc_per_node=2 --run-path examples/run_sd_upscaler.py

Accelerate SDXL Inpainting:

CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.run --nproc_per_node=2 --run-path examples/run_sdxl_inpaint.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants