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

推荐订阅源

C
CERT Recently Published Vulnerability Notes
F
Fortinet All Blogs
有赞技术团队
有赞技术团队
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
量子位
博客园 - 聂微东
S
SegmentFault 最新的问题
月光博客
月光博客
爱范儿
爱范儿
罗磊的独立博客
博客园_首页
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
The Hacker News
The Hacker News
G
GRAHAM CLULEY
大猫的无限游戏
大猫的无限游戏
K
Kaspersky official blog
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
T
Threatpost
美团技术团队
T
The Blog of Author Tim Ferriss
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
C
Cyber Attacks, Cyber Crime and Cyber Security
酷 壳 – CoolShell
酷 壳 – CoolShell
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
Cisco Blogs
P
Proofpoint News Feed
PCI Perspectives
PCI Perspectives
Know Your Adversary
Know Your Adversary
aimingoo的专栏
aimingoo的专栏
博客园 - 司徒正美
T
Tor Project blog
S
Security Affairs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Vercel News
Vercel News
博客园 - Franky
IT之家
IT之家
Security Archives - TechRepublic
Security Archives - TechRepublic
AI
AI
O
OpenAI News
N
News and Events Feed by Topic
Y
Y Combinator Blog
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog

博客园 - 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