@@ -60,6 +60,14 @@ sh Anaconda3-5.2.0-Linux-x86_64.sh
60
60
61
61
> You may have to open a new terminal or re-source your ` ~/.bashrc ` to get access to the ` conda ` command.
62
62
63
+ <div >
64
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-orange btn-demo show-screencast " >Show Demo</a >
65
+ <div class =" screencast " >
66
+ <script src="https://asciinema.org/a/SRbIn2nFnsUiYtlIcUsDVXN4n.js" id="asciicast-SRbIn2nFnsUiYtlIcUsDVXN4n" data-speed="3" async></script>
67
+ <a href="javascript:void(0);" class="btn btn-lg btn-orange btn-demo show-info">Hide Demo</a>
68
+ </div >
69
+ </div >
70
+
63
71
#### pip
64
72
65
73
* Python 3*
@@ -107,6 +115,14 @@ To install PyTorch via Anaconda, and do not have a [CUDA-capable](https://develo
107
115
conda install pytorch-cpu torchvision-cpu -c pytorch
108
116
```
109
117
118
+ <div >
119
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-orange btn-demo show-screencast " >Show Demo</a >
120
+ <div class =" screencast " >
121
+ <script src="https://asciinema.org/a/wtojk0bqpUDIb3yIHUsZqD9Ha.js" id="asciicast-wtojk0bqpUDIb3yIHUsZqD9Ha" data-speed="3" async></script>
122
+ <a href="javascript:void(0);" class="btn btn-lg btn-orange btn-demo show-info">Hide Demo</a>
123
+ </div >
124
+ </div >
125
+
110
126
#### CUDA 9.0
111
127
112
128
To install PyTorch via Anaconda, and you are using CUDA 9.0, use the following ` conda ` command:
@@ -115,6 +131,14 @@ To install PyTorch via Anaconda, and you are using CUDA 9.0, use the following `
115
131
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
116
132
```
117
133
134
+ <div >
135
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-orange btn-demo show-screencast " >Show Demo</a >
136
+ <div class =" screencast " >
137
+ <script src="https://asciinema.org/a/HaCIxmYVEd8xGRAKsDu9hv9up.js" id="asciicast-HaCIxmYVEd8xGRAKsDu9hv9up" data-speed="5" async></script>
138
+ <a href="javascript:void(0);" class="btn btn-lg btn-orange btn-demo show-info ">Hide Demo</a>
139
+ </div >
140
+ </div >
141
+
118
142
#### CUDA 8.x
119
143
120
144
``` bash
@@ -263,6 +287,14 @@ import torch
263
287
torch.cuda.is_available()
264
288
```
265
289
290
+ <div >
291
+ <a href =" javascript:void(0); " class =" btn btn-lg btn-orange btn-demo show-screencast " >Show Demo</a >
292
+ <div class =" screencast " >
293
+ <script src="https://asciinema.org/a/15dyZZvvakqbfKgfh2LByMkXz.js" id="asciicast-15dyZZvvakqbfKgfh2LByMkXz" data-speed="2" async></script>
294
+ <a href="javascript:void(0);" class="btn btn-lg btn-orange btn-demo show-info">Hide Demo</a>
295
+ </div >
296
+ </div >
297
+
266
298
## Building from source
267
299
{: #linux-from-source}
268
300
0 commit comments