mirror of
https://github.com/deepinsight/insightface.git
synced 2026-05-14 20:35:30 +00:00
28 lines
851 B
Markdown
28 lines
851 B
Markdown
# Installation
|
|
|
|
### [Torch v1.11.0](https://pytorch.org/get-started/previous-versions/#v1110)
|
|
#### Linux and Windows
|
|
- CUDA 11.3
|
|
```shell
|
|
|
|
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
|
|
```
|
|
|
|
- CUDA 10.2
|
|
```shell
|
|
pip install torch==1.11.0+cu102 torchvision==0.12.0+cu102 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu102
|
|
```
|
|
|
|
### [Torch v1.9.0](https://pytorch.org/get-started/previous-versions/#v190)
|
|
#### Linux and Windows
|
|
|
|
- CUDA 11.1
|
|
```shell
|
|
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
|
|
```
|
|
|
|
- CUDA 10.2
|
|
```shell
|
|
pip install torch==1.9.0+cu102 torchvision==0.10.0+cu102 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
|
|
```
|