Update README.md
Browse files
README.md
CHANGED
@@ -10,6 +10,8 @@ then download all files on datasecurity and store in folder cuda-12.3
|
|
10 |
unzip archives.zip
|
11 |
|
12 |
unzip cuda-repo-ubuntu2004-12-3-local.zip
|
|
|
|
|
13 |
```
|
14 |
|
15 |
## Remove all previous cuda version
|
@@ -36,6 +38,8 @@ sudo dpkg -i *.deb
|
|
36 |
cd ../cuda-repo-ubuntu2004-12-3-local
|
37 |
|
38 |
sudo dpkg -i *.deb
|
|
|
|
|
39 |
```
|
40 |
|
41 |
## Perform post-installation actions
|
@@ -49,6 +53,13 @@ export LD_LIBRARY_PATH=/usr/local/cuda-12.3/lib64\
|
|
49 |
sudo reboot
|
50 |
```
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
-------------------------
|
53 |
|
54 |
# Install with Internet
|
@@ -86,6 +97,11 @@ apt deb package : /var/cache/apt/archives
|
|
86 |
|
87 |
Cài xong trong thư mục /var/cuda-repo-ubuntu2004-12-3-local sẽ có hết file deb còn lại
|
88 |
```
|
|
|
|
|
|
|
|
|
|
|
89 |
-----------------------------------------------------
|
90 |
## LOG
|
91 |
## Install cuda toolkit 12-3
|
|
|
10 |
unzip archives.zip
|
11 |
|
12 |
unzip cuda-repo-ubuntu2004-12-3-local.zip
|
13 |
+
|
14 |
+
unzip torch_2.2.1.zip
|
15 |
```
|
16 |
|
17 |
## Remove all previous cuda version
|
|
|
38 |
cd ../cuda-repo-ubuntu2004-12-3-local
|
39 |
|
40 |
sudo dpkg -i *.deb
|
41 |
+
|
42 |
+
cd ..
|
43 |
```
|
44 |
|
45 |
## Perform post-installation actions
|
|
|
53 |
sudo reboot
|
54 |
```
|
55 |
|
56 |
+
## Install torch 2.2.1
|
57 |
+
```
|
58 |
+
cd torch_2.2.1
|
59 |
+
|
60 |
+
pip install * --no-dependencies
|
61 |
+
```
|
62 |
+
|
63 |
-------------------------
|
64 |
|
65 |
# Install with Internet
|
|
|
97 |
|
98 |
Cài xong trong thư mục /var/cuda-repo-ubuntu2004-12-3-local sẽ có hết file deb còn lại
|
99 |
```
|
100 |
+
|
101 |
+
## Install torch 2.2.1
|
102 |
+
```
|
103 |
+
pip install torch torchvision torchaudio
|
104 |
+
```
|
105 |
-----------------------------------------------------
|
106 |
## LOG
|
107 |
## Install cuda toolkit 12-3
|