You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
Copy file name to clipboardExpand all lines: _get_started/installation/linux.md
+2-36
Original file line number
Diff line number
Diff line change
@@ -40,26 +40,10 @@ If you decide to use APT, you can run the following command to install it:
40
40
sudo apt install python
41
41
```
42
42
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
-
45
43
### Package Manager
46
44
{: #linux-package-manager}
47
45
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`
# 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/).
63
47
#### pip
64
48
65
49
*Python 3*
@@ -75,24 +59,6 @@ sudo apt install python3-pip
75
59
## Installation
76
60
{: #linux-installation}
77
61
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
-
96
62
### pip
97
63
{: #linux-pip}
98
64
@@ -148,7 +114,7 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
148
114
### Prerequisites
149
115
{: #linux-prerequisites-2}
150
116
151
-
1. Install [Anaconda](#anaconda) or [Pip](#pip)
117
+
1. Install [Pip](#pip)
152
118
2. If you need to build PyTorch with GPU support
153
119
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
120
b. for AMD GPUs, install [ROCm](https://rocm.docs.amd.com/), if your machine has a [ROCm-enabled GPU](https://rocm.docs.amd.com/)
Copy file name to clipboardExpand all lines: _get_started/installation/mac.md
+5-25
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Installing on macOS
2
2
{:.no_toc}
3
3
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.
5
5
6
6
## Prerequisites
7
7
{: #mac-prerequisites}
@@ -14,24 +14,13 @@ PyTorch is supported on macOS 10.15 (Catalina) or above.
14
14
{: #mac-python}
15
15
16
16
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
19
18
the [Python website](https://www.python.org/downloads/mac-osx/).
20
19
21
20
### Package Manager
22
21
{: #mac-package-manager}
23
22
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`
> If you use Anaconda to install PyTorch, it will install a sandboxed version of Python that will be used for running PyTorch applications.
30
27
31
28
> If you decide to use Chocolatey, and haven't installed Chocolatey yet, ensure that you are running your command prompt as an administrator.
32
29
@@ -39,35 +36,14 @@ choco install python
39
36
### Package Manager
40
37
{: #windows-package-manager}
41
38
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/).
48
40
#### pip
49
41
50
42
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.
51
43
52
44
## Installation
53
45
{: #windows-installation}
54
46
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
-
71
47
### pip
72
48
{: #windows-pip}
73
49
@@ -126,7 +102,7 @@ For the majority of PyTorch users, installing from a pre-built binary via a pack
126
102
### Prerequisites
127
103
{: #windows-prerequisites-2}
128
104
129
-
1. Install [Anaconda](#anaconda)
105
+
1. Install [pip](https://pypi.org/project/pip/)
130
106
2. Install [CUDA](https://developer.nvidia.com/cuda-downloads), if your machine has a [CUDA-enabled GPU](https://developer.nvidia.com/cuda-gpus).
131
107
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).
132
108
4. Follow the steps described here: [https://github.com/pytorch/pytorch#from-source](https://github.com/pytorch/pytorch#from-source)
0 commit comments