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

use EulerAncestralDiscreteScheduler for instant_id and text_to_image #623

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

chengzeyi
Copy link
Contributor

onediff自带的EulerDiscreteScheduler存在不必要的cuda synchronize开销,且生成图像质量较低,换为EulerAncestralDiscreteScheduler后跑SDXL和instant id有2%的加速效果,且生成图像质量较高。加速效果已在4090和A100上验证

@hjchen2 hjchen2 merged commit 212b5f9 into main Feb 5, 2024
4 of 5 checks passed
@hjchen2 hjchen2 deleted the dev_optimize_scheduler branch February 5, 2024 02:41
@hjchen2
Copy link
Contributor

hjchen2 commented Feb 5, 2024

可以把 https://github.com/siliconflow/onediff/blob/main/setup.py#L26 这里的diffusers版本改一下,0.19.3版本自带的scheduler是比较慢的

@chengzeyi chengzeyi restored the dev_optimize_scheduler branch February 5, 2024 03:03
@chengzeyi
Copy link
Contributor Author

可以把 https://github.com/siliconflow/onediff/blob/main/setup.py#L26 这里的diffusers版本改一下,0.19.3版本自带的scheduler是比较慢的

正在研究不同版本diffusers之间的差异

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

Successfully merging this pull request may close these issues.

2 participants