stable diffusion加速图片生成速度

 admin   2024-06-25 13:31   252 人阅读  0 条评论

1.添加参数启动

--no-half-vae --xformers

2.安装cuda,设置使用显卡

set CUDA_LAUNCH_BLOCKING=1

这样生成速度提升就很快了,2080ti基本上都能几秒出

cuda链接

https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local

本文地址:https://liuchunjie.top/?id=734
版权声明:本文为原创文章,版权归 admin 所有,欢迎分享本文,转载请保留出处!

评论已关闭!