Skip to content

Commit 1e11f67

Browse files
committed
PyTorch 2.8.0 반영 (pytorch/pytorch.github.io@b4c9a5b) 및 설치 문서 업데이트
- PyTorch 2.8.0으로 업데이트 - CUDA 및 ROCm 관련 설치 명령어 수정 - Anaconda 관련 내용 삭제 - 문서 내 Python 버전 요구 사항 수정 (3.9 이상) - README 및 설치 문서에서 Anaconda 관련 내용 제거
1 parent d15cb8e commit 1e11f67

File tree

7 files changed

+1437
-1266
lines changed

7 files changed

+1437
-1266
lines changed

_get_started/installation/linux.md

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,10 @@ If you decide to use APT, you can run the following command to install it:
4040
sudo apt install python
4141
```
4242

43-
> If you use [Anaconda](#anaconda) to install PyTorch, it will install a sandboxed version of Python that will be used for running PyTorch applications.
44-
4543
### Package Manager
4644
{: #linux-package-manager}
4745

48-
To install the PyTorch binaries, you will need to use one of two supported package managers: [Anaconda](https://www.anaconda.com/download/#linux) or [pip](https://pypi.org/project/pip/). Anaconda is the recommended package manager as it will provide you all of the PyTorch dependencies in one, sandboxed install, including Python.
49-
50-
#### Anaconda
51-
52-
To install Anaconda, you will use the [command-line installer](https://www.anaconda.com/download/#linux). Right-click on the 64-bit installer link, select `Copy Link Location`, and then use the following commands:
53-
54-
```bash
55-
# The version of Anaconda may be different depending on when you are installing`
56-
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
57-
sh Miniconda3-latest-Linux-x86_64.sh
58-
# and follow the prompts. The defaults are generally good.`
59-
```
60-
61-
> You may have to open a new terminal or re-source your `~/.bashrc `to get access to the `conda` command.
62-
46+
To install the PyTorch binaries, you will need to use the supported package manager: [pip](https://pypi.org/project/pip/).
6347
#### pip
6448

6549
*Python 3*
@@ -75,24 +59,6 @@ sudo apt install python3-pip
7559
## Installation
7660
{: #linux-installation}
7761

78-
### Anaconda
79-
{: #linux-anaconda}
80-
81-
#### No CUDA/ROCm
82-
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.
84-
Then, run the command that is presented to you.
85-
86-
#### With CUDA
87-
88-
To install PyTorch via Anaconda, and you do have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) system, in the above selector, choose OS: Linux, Package: Conda and the CUDA version suited to your machine. Often, the latest CUDA version is better.
89-
Then, run the command that is presented to you.
90-
91-
#### With ROCm
92-
93-
PyTorch via Anaconda is not supported on ROCm currently. Please use pip instead.
94-
95-
9662
### pip
9763
{: #linux-pip}
9864

@@ -148,10 +114,11 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
148114
### Prerequisites
149115
{: #linux-prerequisites-2}
150116

151-
1. Install [Anaconda](#anaconda) or [Pip](#pip)
117+
1. Install [Pip](#pip)
152118
2. If you need to build PyTorch with GPU support
153119
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).
154120
b. for AMD GPUs, install [ROCm](https://rocm.docs.amd.com/), if your machine has a [ROCm-enabled GPU](https://rocm.docs.amd.com/)
155121
3. Follow the steps described here: [https://github.com/pytorch/pytorch#from-source](https://github.com/pytorch/pytorch#from-source)
156122

157123
You can verify the installation as described [above](#linux-verification).
124+
원본 텍스트로 전환하려면 클릭하세요.페이지 번역하려면 클릭하세요.설정PDF 번역

_get_started/installation/mac.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,8 @@ Python 3.9 ~ 3.12 사이의 버전을 사용하기를 권장합니다. 해당
1818
### 패키지 관리자
1919
{: #mac-package-manager}
2020

21-
PyTorch 바이너리는 [pip](https://pypi.org/project/pip/) or [아나콘다(anaconda)](https://www.anaconda.com/download/#macos) 패키지 관리자를 통해 설치할 수 있습니다.
21+
PyTorch 바이너리는 [pip](https://pypi.org/project/pip/) 패키지 관리자를 통해 설치할 수 있습니다.
2222

23-
#### 아나콘다
24-
25-
아나콘다는 [그래픽 설치 인스톨러](https://www.anaconda.com/download/#macos) 또는 명령줄 인스톨러를 사용할 수 있습니다.
26-
명령줄 인스톨러를 사용하는 경우, installer link를 복사하여 붙여넣거나 애플 실리콘을 사용하는 macOS에서는 아래와 같이 실행할 수 있습니다.
27-
28-
```bash
29-
# 설치 시기에 따라 아나콘다 버전은 다를 수 있습니다.
30-
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
31-
sh Miniconda3-latest-MacOSX-arm64.sh
32-
# 프롬프트가 나오면 옵션을 선택합니다, 일반적으로 기본값을 사용합니다.
33-
```
3423

3524
#### pip
3625

@@ -44,15 +33,6 @@ Python 3.x 를 설치했다면, `pip3` 를 사용합니다.
4433
## 설치
4534
{: #mac-installation}
4635

47-
### 아나콘다
48-
{: #mac-anaconda}
49-
50-
아나콘다를 사용할 경우, 아래와 같이 PyTorch를 설치할 수 있습니다.
51-
52-
```bash
53-
conda install pytorch torchvision -c pytorch
54-
```
55-
5636
### pip
5737
{: #mac-anaconda}
5838

_get_started/installation/windows.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ As it is not installed by default on Windows, there are multiple ways to install
2424

2525
* [Chocolatey](https://chocolatey.org/)
2626
* [Python website](https://www.python.org/downloads/windows/)
27-
* [Anaconda](#anaconda)
28-
29-
> If you use Anaconda to install PyTorch, it will install a sandboxed version of Python that will be used for running PyTorch applications.
3027

3128
> If you decide to use Chocolatey, and haven't installed Chocolatey yet, ensure that you are running your command prompt as an administrator.
3229
@@ -39,35 +36,14 @@ choco install python
3936
### Package Manager
4037
{: #windows-package-manager}
4138

42-
To install the PyTorch binaries, you will need to use at least one of two supported package managers: [Anaconda](https://www.anaconda.com/download/#windows) and [pip](https://pypi.org/project/pip/). Anaconda is the recommended package manager as it will provide you all of the PyTorch dependencies in one, sandboxed install, including Python and `pip.`
43-
44-
#### Anaconda
45-
46-
To install Anaconda, you will use the [64-bit graphical installer](https://www.anaconda.com/download/#windows) for PyTorch 3.x. Click on the installer link and select `Run`. Anaconda will download and the installer prompt will be presented to you. The default options are generally sane.
47-
39+
To install the PyTorch binaries, you will need to use the supported package manager: [pip](https://pypi.org/project/pip/).
4840
#### pip
4941

5042
If you installed Python by any of the recommended ways [above](#windows-python), [pip](https://pypi.org/project/pip/) will have already been installed for you.
5143

5244
## Installation
5345
{: #windows-installation}
5446

55-
### Anaconda
56-
{: #windows-anaconda}
57-
58-
To install PyTorch with Anaconda, you will need to open an Anaconda prompt via `Start | Anaconda3 | Anaconda Prompt`.
59-
60-
#### No CUDA
61-
62-
To install PyTorch via Anaconda, and do not have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) system or do not require CUDA, in the above selector, choose OS: Windows, Package: Conda and CUDA: None.
63-
Then, run the command that is presented to you.
64-
65-
#### With CUDA
66-
67-
To install PyTorch via Anaconda, and you do have a [CUDA-capable](https://developer.nvidia.com/cuda-zone) system, in the above selector, choose OS: Windows, Package: Conda and the CUDA version suited to your machine. Often, the latest CUDA version is better.
68-
Then, run the command that is presented to you.
69-
70-
7147
### pip
7248
{: #windows-pip}
7349

@@ -126,7 +102,7 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
126102
### Prerequisites
127103
{: #windows-prerequisites-2}
128104

129-
1. Install [Anaconda](#anaconda)
105+
1. Install [pip](https://pypi.org/project/pip/)
130106
2. Install [CUDA](https://developer.nvidia.com/cuda-downloads), if your machine has a [CUDA-enabled GPU](https://developer.nvidia.com/cuda-gpus).
131107
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).
132108
4. Follow the steps described here: [https://github.com/pytorch/pytorch#from-source](https://github.com/pytorch/pytorch#from-source)

_includes/quick_start_local.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</p>
77
<p>
88
<b>참고:</b>
9-
최신 버전의 PyTorch를 사용하기 위해서는 Python 3.8 이상이 필요합니다. 자세한 내용은 <a href="{{ site.baseurl }}/get-started/locally/#mac-python">Python 섹션</a>을 참고해주세요.
9+
최신 버전의 PyTorch를 사용하기 위해서는 Python 3.9 이상이 필요합니다. 자세한 내용은 <a href="{{ site.baseurl }}/get-started/locally/#mac-python">Python 섹션</a>을 참고해주세요.
1010
</p>
1111
<div class="row">
1212
<div class="col-md-3 headings">
@@ -36,7 +36,7 @@
3636
<div class="option-text">PyTorch 빌드</div>
3737
</div>
3838
<div class="col-md-6 option block version selected" id="stable">
39-
<div class="option-text">Stable (1.13.1)</div>
39+
<div class="option-text">Stable (1.13.0)</div>
4040
</div>
4141
<div class="col-md-6 option block version" id="preview">
4242
<div class="option-text">Preview (Nightly)</div>
@@ -106,10 +106,10 @@
106106
</div>
107107
<div class="row">
108108
<div class="col-md-12 title-block command-mobile-heading">
109-
<div class="option-text"> 명령을 실행하세요:</div>
109+
<div class="option-text">다음 명령을 실행하세요:</div>
110110
</div>
111111
<div class="command-container">
112-
<div class="col-md-12" id="command">conda install pytorch torchvision -c pytorch</div>
112+
<div class="col-md-12" id="command">pip install pytorch torchvision</div>
113113
</div>
114114
</div>
115115
</div>

0 commit comments

Comments
 (0)