欢迎光临散文网 会员登陆 & 注册

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

2023-04-07 22:47 作者:cellife  | 我要投稿

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

SD教程·显卡偷懒?教你3个操作大幅提升AI绘图速度的评论 (共 条)

分享到微博请遵守国家法律