Skip to content

Commit 5779c90

Browse files
Camyllsvekars
andauthored
remove conda references from markdown for install UI (#2010)
* remove conda references * try and generate preview with change * remove space now that preview is working * change pip language to match # of commands * Update _get_started/installation/mac.md Co-authored-by: Svetlana Karslioglu <[email protected]> * Update _get_started/installation/mac.md Co-authored-by: Svetlana Karslioglu <[email protected]> --------- Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent e4b2c3d commit 5779c90

File tree

3 files changed

+9
-87
lines changed

3 files changed

+9
-87
lines changed

_get_started/installation/linux.md

+2-36
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,7 +114,7 @@ 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/)

_get_started/installation/mac.md

+5-25
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Installing on macOS
22
{:.no_toc}
33

4-
PyTorch can be installed and used on macOS. Depending on your system and GPU capabilities, your experience with PyTorch on a Mac may vary in terms of processing time.
4+
PyTorch can be installed and used on macOS. Depending on your system and GPU capabilities, your experience with PyTorch on macOS may vary in terms of processing time.
55

66
## Prerequisites
77
{: #mac-prerequisites}
@@ -14,24 +14,13 @@ PyTorch is supported on macOS 10.15 (Catalina) or above.
1414
{: #mac-python}
1515

1616
It is recommended that you use Python 3.9 - 3.12.
17-
You can install Python either through the Anaconda
18-
package manager (see [below](#anaconda)), [Homebrew](https://brew.sh/), or
17+
You can install Python either through [Homebrew](https://brew.sh/) or
1918
the [Python website](https://www.python.org/downloads/mac-osx/).
2019

2120
### Package Manager
2221
{: #mac-package-manager}
2322

24-
To install the PyTorch binaries, you will need to use one of two supported package managers: [pip](https://pypi.org/project/pip/) or [Anaconda](https://www.anaconda.com/download/#macos).
25-
#### Anaconda
26-
27-
To install Anaconda, you can [download graphical installer](https://www.anaconda.com/download/#macos) or use the command-line installer. If you use the command-line installer, you can right-click on the installer link, select `Copy Link Address`, or use the following commands on Mac computer with Apple silicon:
28-
29-
```bash
30-
# The version of Anaconda may be different depending on when you are installing`
31-
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
32-
sh Miniconda3-latest-MacOSX-arm64.sh
33-
# and follow the prompts. The defaults are generally good.`
34-
```
23+
To install the PyTorch binaries, you will need to use the supported package manager: [pip](https://pypi.org/project/pip/).
3524
#### pip
3625

3726
*Python 3*
@@ -43,19 +32,10 @@ If you installed Python via Homebrew or the Python website, `pip` was installed
4332
## Installation
4433
{: #mac-installation}
4534

46-
### Anaconda
47-
{: #mac-anaconda}
48-
49-
To install PyTorch via Anaconda, use the following conda command:
50-
51-
```bash
52-
conda install pytorch torchvision -c pytorch
53-
```
54-
5535
### pip
5636
{: #mac-pip}
5737

58-
To install PyTorch via pip, use one of the following two commands, depending on your Python version:
38+
To install PyTorch via pip, use the following command, depending on your Python version:
5939

6040
```bash
6141
# Python 3.x
@@ -91,7 +71,7 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
9171
### Prerequisites
9272
{: #mac-prerequisites-2}
9373

94-
1. [Optional] Install [Anaconda](#anaconda)
74+
1. [Optional] Install [pip](https://pypi.org/project/pip/)
9575
2. Follow the steps described here: [https://github.com/pytorch/pytorch#from-source](https://github.com/pytorch/pytorch#from-source)
9676

9777
You can verify the installation as described [above](#mac-verification).

_get_started/installation/windows.md

+2-26
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)

0 commit comments

Comments
 (0)