stable-diffusion 部署踩坑

问题一 RuntimeError: Couldn't install open_clip.

解决 https://github.com/CompVis/stable-diffusion/issues/661 原因: GFW防火墙

问题二 No matching distribution found for gradio==3.23

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8896 原因:国内源太老了, 还是得用国外源+翻墙

问题三 RuntimeError: self.size(-1) must be divisible by 4 to view Byte as Float (different element sizes), but got 16268507RuntimeError: self.size(-1) must be divisible by 4 to view Byte as Float (different element sizes), but got 16268507RuntimeError: self.size(-1) must be divisible by 4 to view Byte as Float (different element sizes), but got 16268507

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/8653 原因:下载时断流了, 程序侧没有设计断流重连, 因此二进制包损坏

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2019-2024 kier Val
  • Visitors: | Views: