Skip to content

Commit be2fca3

Browse files
committed
1 parent c5c3ead commit be2fca3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

_get_started/installation/linux.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Installing on Linux
22
{:.no_toc}
33

4-
PyTorch can be installed and used on various Linux distributions. Depending on your system and compute requirements, your experience with PyTorch on Linux may vary in terms of processing time. It is recommended, but not required, that your Linux system has an NVIDIA or AMD GPU in order to harness the full power of PyTorch's [CUDA](https://developer.nvidia.com/cuda-zone) [support](https://pytorch.org/tutorials/beginner/blitz/tensor_tutorial.html?highlight=cuda#cuda-tensors) or [ROCm](https://docs.amd.com) support.
4+
PyTorch can be installed and used on various Linux distributions. Depending on your system and compute requirements, your experience with PyTorch on Linux may vary in terms of processing time. It is recommended, but not required, that your Linux system has an NVIDIA or AMD GPU in order to harness the full power of PyTorch's [CUDA](https://developer.nvidia.com/cuda-zone) [support](https://pytorch.org/tutorials/beginner/blitz/tensor_tutorial.html?highlight=cuda#cuda-tensors) or [ROCm](https://rocm.docs.amd.com/) support.
55

66
## Prerequisites
77
{: #linux-prerequisites}
@@ -25,7 +25,7 @@ PyTorch is supported on Linux distributions that use [glibc](https://www.gnu.org
2525
### Python
2626
{: #linux-python}
2727

28-
Python 3.8-3.11 is generally installed by default on any of our supported Linux distributions, which meets our recommendation.
28+
Python 3.9-3.12 is generally installed by default on any of our supported Linux distributions, which meets our recommendation.
2929

3030
> Tip: By default, you will have to use the command `python3` to run Python. If you want to use just the command `python`, instead of `python3`, you can symlink `python` to the `python3` binary.
3131
@@ -80,7 +80,7 @@ sudo apt install python3-pip
8080

8181
#### No CUDA/ROCm
8282

83-
To install PyTorch via Anaconda, and do not have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) or [ROCm-capable](https://docs.amd.com) system or do not require CUDA/ROCm (i.e. GPU support), in the above selector, choose OS: Linux, Package: Conda, Language: Python and Compute Platform: CPU.
83+
To install PyTorch via Anaconda, and do not have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) or [ROCm-capable](https://rocm.docs.amd.com/) system or do not require CUDA/ROCm (i.e. GPU support), in the above selector, choose OS: Linux, Package: Conda, Language: Python and Compute Platform: CPU.
8484
Then, run the command that is presented to you.
8585

8686
#### With CUDA
@@ -98,7 +98,7 @@ PyTorch via Anaconda is not supported on ROCm currently. Please use pip instead.
9898

9999
#### No CUDA
100100

101-
To install PyTorch via pip, and do not have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) or [ROCm-capable](https://docs.amd.com) system or do not require CUDA/ROCm (i.e. GPU support), in the above selector, choose OS: Linux, Package: Pip, Language: Python and Compute Platform: CPU.
101+
To install PyTorch via pip, and do not have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) or [ROCm-capable](https://rocm.docs.amd.com/) system or do not require CUDA/ROCm (i.e. GPU support), in the above selector, choose OS: Linux, Package: Pip, Language: Python and Compute Platform: CPU.
102102
Then, run the command that is presented to you.
103103

104104
#### With CUDA
@@ -108,7 +108,7 @@ Then, run the command that is presented to you.
108108

109109
#### With ROCm
110110

111-
To install PyTorch via pip, and do have a [ROCm-capable](https://docs.amd.com) system, in the above selector, choose OS: Linux, Package: Pip, Language: Python and the ROCm version supported.
111+
To install PyTorch via pip, and do have a [ROCm-capable](https://rocm.docs.amd.com/) system, in the above selector, choose OS: Linux, Package: Pip, Language: Python and the ROCm version supported.
112112
Then, run the command that is presented to you.
113113

114114
## Verification
@@ -133,7 +133,7 @@ tensor([[0.3380, 0.3845, 0.3217],
133133
[0.4675, 0.3947, 0.1426]])
134134
```
135135

136-
Additionally, to check if your GPU driver and CUDA/ROCm is enabled and accessible by PyTorch, run the following commands to return whether or not the GPU driver is enabled (the ROCm build of PyTorch uses the same semantics at the python API level (https://github.com/pytorch/pytorch/blob/master/docs/source/notes/hip.rst#hip-interfaces-reuse-the-cuda-interfaces), so the below commands should also work for ROCm):
136+
Additionally, to check if your GPU driver and CUDA/ROCm is enabled and accessible by PyTorch, run the following commands to return whether or not the GPU driver is enabled (the ROCm build of PyTorch uses the same semantics at the python API level [link](https://github.com/pytorch/pytorch/blob/master/docs/source/notes/hip.rst#hip-interfaces-reuse-the-cuda-interfaces), so the below commands should also work for ROCm):
137137

138138
```python
139139
import torch
@@ -151,7 +151,7 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
151151
1. Install [Anaconda](#anaconda) or [Pip](#pip)
152152
2. If you need to build PyTorch with GPU support
153153
a. for NVIDIA GPUs, install [CUDA](https://developer.nvidia.com/cuda-downloads), if your machine has a [CUDA-enabled GPU](https://developer.nvidia.com/cuda-gpus).
154-
b. for AMD GPUs, install [ROCm](https://docs.amd.com), if your machine has a [ROCm-enabled GPU](https://docs.amd.com)
154+
b. for AMD GPUs, install [ROCm](https://rocm.docs.amd.com/), if your machine has a [ROCm-enabled GPU](https://rocm.docs.amd.com/)
155155
3. Follow the steps described here: [https://github.com/pytorch/pytorch#from-source](https://github.com/pytorch/pytorch#from-source)
156156

157-
You can verify the installation as described [above](#linux-verification).
157+
You can verify the installation as described [above](#linux-verification).

_get_started/installation/mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PyTorch는 macOS 10.15 (Catalina) 이후 macOS에서 설치할 수 있습니다.
1313
### Python
1414
{: #mac-python}
1515

16-
Python 3.8 ~ 3.11 사이의 버전을 사용하기를 권장합니다. 해당 버전은 아나콘다 패키지 관리자 (아래 [참조](#아나콘다)), [HomeBrew](https://brew.sh), [Python 웹사이트](https://www.python.org/downloads/mac-osx/) 에서 설치할 수 있습니다.
16+
Python 3.9 ~ 3.12 사이의 버전을 사용하기를 권장합니다. 해당 버전은 아나콘다 패키지 관리자 (아래 [참조](#아나콘다)), [HomeBrew](https://brew.sh), [Python 웹사이트](https://www.python.org/downloads/mac-osx/) 에서 설치할 수 있습니다.
1717

1818
### 패키지 관리자
1919
{: #mac-package-manager}

_get_started/installation/windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyTorch is supported on the following Windows distributions:
1818
### Python
1919
{: #windows-python}
2020

21-
Currently, PyTorch on Windows only supports Python 3.8-3.10; Python 2.x is not supported.
21+
Currently, PyTorch on Windows only supports Python 3.9-3.12; Python 2.x is not supported.
2222

2323
As it is not installed by default on Windows, there are multiple ways to install Python:
2424

@@ -131,4 +131,4 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
131131
3. If you want to build on Windows, Visual Studio with MSVC toolset, and NVTX are also needed. The exact requirements of those dependencies could be found out [here](https://github.com/pytorch/pytorch#from-source).
132132
4. Follow the steps described here: [https://github.com/pytorch/pytorch#from-source](https://github.com/pytorch/pytorch#from-source)
133133

134-
You can verify the installation as described [above](#windows-verification).
134+
You can verify the installation as described [above](#windows-verification).

0 commit comments

Comments
 (0)