juaner0211
commited on
Commit
•
095f152
1
Parent(s):
1d115d2
Upload autodl升级pytorch.txt
Browse files- autodl升级pytorch.txt +14 -0
autodl升级pytorch.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
打开终端
|
2 |
+
输入
|
3 |
+
pip show torch
|
4 |
+
|
5 |
+
卸载pytorch
|
6 |
+
pip uninstall torch
|
7 |
+
|
8 |
+
安装2.4版本
|
9 |
+
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
|
10 |
+
|
11 |
+
确认版本
|
12 |
+
pip show torch
|
13 |
+
|
14 |
+
flux模型网址:https://www.codewithgpu.com/m/Flux
|