惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
爱范儿
爱范儿
Attack and Defense Labs
Attack and Defense Labs
量子位
The GitHub Blog
The GitHub Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Scott Helme
Scott Helme
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 叶小钗
C
Cybersecurity and Infrastructure Security Agency CISA
S
Securelist
S
Schneier on Security
C
Cisco Blogs
B
Blog RSS Feed
Cisco Talos Blog
Cisco Talos Blog
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
Y
Y Combinator Blog
Latest news
Latest news
T
Tailwind CSS Blog
Jina AI
Jina AI
宝玉的分享
宝玉的分享
人人都是产品经理
人人都是产品经理
C
CERT Recently Published Vulnerability Notes
D
Darknet – Hacking Tools, Hacker News & Cyber Security
L
Lohrmann on Cybersecurity
The Cloudflare Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog
H
Help Net Security
P
Palo Alto Networks Blog
V
V2EX
博客园_首页
D
Docker
T
Threat Research - Cisco Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Vulnerabilities – Threatpost
月光博客
月光博客
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Know Your Adversary
Know Your Adversary
L
LangChain Blog
The Hacker News
The Hacker News
K
Kaspersky official blog
The Register - Security
The Register - Security
NISL@THU
NISL@THU

博客园 - Eric-Liu

Docker Desktop for Windows ChatGLM本地部署 Llama本地部署 Python-CUDA-cuDNN安装 Python实现视频桌面 基于BERT进行文本分类 Python实现Windows下的视频壁纸 启用VTX技术支持启动android的虚拟机 - 报错 新机上岗 Core i7-4790 @ 3.60GHz 四核 / 16 GB ( 金士顿 DDR3 1866MHz ) / GeForce GTX 970 ( 4 GB / 七彩虹 ) VBS发送邮件-1 Oracle数据库编译存储过程挂死问题解决办法 Windows 7丢失用户、密码解决办法-我体验了! 批处理实现从Excel导入Oracle Windows Gadget开发之运行外部程序 - Eric-Liu - 博客园 VirtualBox自动重启之谜 拆分五笔字库,提高导入到google拼音的速度 写个设置命令的VBS脚本工具。 - Eric-Liu - 博客园 CMD下一个命令遍历目录删除相同垃圾文件 SQL注入之脚本篇-FOR ACCESS数据库
StableDiffusion本地部署
Eric-Liu · 2023-08-27 · via 博客园 - Eric-Liu

## StableDiffusion本地部署
安装git

stablediffusion
https://huggingface.co/runwayml/stable-diffusion-v1-5

webui stablediffusion
https://github.com/AUTOMATIC1111/stable-diffusion-webui

webui汉化
https://github.com/VinsonLaro/stable-diffusion-webui-chinese

## 插件安装
github上下载,点击右侧的绿色按钮,下载安装包,然后解压到*\stable-diffusion-webui\extensions\sd-webui-controlnet目录下即可。


### 问题
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
set COMMANDLINE_ARGS=--skip-torch-cuda-test 忽略cuda版本检查

zip下载失败问题
gfpgan
https://codeload.github.com/TencentARC/GFPGAN/zip/8d2447a2d918f8eba5a4a01463fd48e45126a379
open_clip
https://codeload.github.com/openai/CLIP/zip/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1

tb-nightly安装失败
pip install tb-nightly -i https://mirrors.aliyun.com/pypi/simple


git clone https://github.com/Stability-AI/stablediffusion.git失败
手动下载 https://github.com/Stability-AI/stablediffusion.git


根据PyTorch官网匹配关系https://pytorch.org/, PyTorch版本不支持CUDA12.2, 需要降级为CUDA11.8
CUDA11.8下载地址:
https://developer.nvidia.cn/cuda-11-8-0-download-archive
重新安装CUDA版本和Cudnn后,安装PyTorch
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 -i https://mirrors.aliyun.com/pypi/simple