stable diffusion windows本地搭建的坑

刚刚2小时前,我搭好了,欣喜若狂,开放端口,同事也尝试了。我的配置

16G内存,AMD卡,有gpu但是没有用。这里不说具体步骤,只说坑点。

首先就是安装gfpgan、clip、openclip问题,我参考了两篇文章,很重要

https://zhuanlan.zhihu.com/p/639458883?utm_id=0

Stable diffusion本地部署时遇到的问题(pip更新、gfpgan、clip等安装失败) - 哔哩哔哩

结合这两篇,先下载解压放入E:\sd\stable-diffusion-webui\venv\Scripts,你看你的位置。

https://ghproxy.com/https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip

https://ghproxy.com/https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip"

https://ghproxy.com/https://github.com/TencentARC/GFPGAN/archive/8d2447a2d918f8eba5a4a01463fd48e45126a379.zip

然后执行命令,命令要结合上面两篇博文。第二篇相对全一点。反正不重复都得执行

然后执行第二篇博文的第五部,把那个5个文件下了,放到repositories目录下。

修改webui-user.bat,我这是无GPU的。而且你要想在公司内网让其他同事访问到,就加--listen。

set COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test --listen

保存,运行webui-user。你的电脑cmd ipconfig,ipv4那几个地址分别让同事试试, ip:7860,总有一个可以。

其中还有一些坑,比如说让网上说的执行 run : python.exe pip -update什么的那个,具体的我忘了,还有一些nomoudle named 'ftfy',Nomoudle named 'tourch' 我查了很多博客,都没有解决,最后安装这篇装了一个minicoda,在这里面运行,就直接过了。

从零开始,手把手教你本地部署Stable Diffusion Webui AI绘画(非最新版) - 知乎

还有啥坑,欢迎留言,本人每天都会回复。

相关推荐
这是一个懒人1 天前
Stable Diffusion WebUI 插件大全:功能详解与下载地址
stable diffusion
浪淘沙jkp1 天前
AI大模型学习十八、利用Dify+deepseekR1 +本地部署Stable Diffusion搭建 AI 图片生成应用
人工智能·stable diffusion·agent·dify·ollama·deepseek
Icoolkj2 天前
深入了解 Stable Diffusion:AI 图像生成的奥秘
人工智能·stable diffusion
这是一个懒人3 天前
mac 快速安装stable diffusion webui
macos·stable diffusion
璇转的鱼3 天前
Stable Diffusion进阶之Controlnet插件使用
人工智能·ai作画·stable diffusion·aigc·ai绘画
AloneCat20124 天前
stable Diffusion模型结构
stable diffusion
西西弗Sisyphus4 天前
Stable Diffusion XL 文生图
stable diffusion
霍志杰6 天前
stable-diffusion windows本地部署
windows·stable diffusion
昨日之日20066 天前
ACE-Step - 20秒生成4分钟完整歌曲,音乐界的Stable Diffusion,支持50系显卡 本地一键整合包下载
计算机视觉·stable diffusion·音视频
白熊1886 天前
【图像大模型】Stable Diffusion Web UI:深度解析与实战指南
ui·stable diffusion