SD教程·显卡偷懒?教你3个操作大幅提升AI绘图速度


1、显卡驱动531.41,cuda 12.1,cuda里包含驱动与geforce ex...软件与physX。
2、装cuda tookit还需要vs desktop c++的相关支持。
3、Pytorch 2.0可以去官网查一下代码下载安装:
========= PyTorch + Xformers =========
PyTorch2.0 + cu118 + Xformers0017 + cuDNN
++++++++++++++++++++++++++++++++++
CUDA-Tookit:
https://developer.nvidia.com/cuda-toolkit-archive
PyTorch:
https://pytorch.org/get-started/locally
VS2022:
https://visualstudio.microsoft.com/zh-hans/downloads/选择第一个community(个人免费版)
//-------------------------------------------------------//
(稳定版Pytorch 2.0)
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
(测试版Pytorch)
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118
pip install xformers==0.0.17