Skip to content

Commit 79d12c0

Browse files
authored
DOC: mention conda-forge ray packages and x86_64 support (#30237)
Recently ray has grown support on conda for 2.0.1 and 2.1.0 is close to release. Mention it in the documentation. Signed-off-by: mattip <[email protected]>
1 parent 87b821c commit 79d12c0

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

doc/source/ray-overview/installation.rst

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
Installing Ray
44
==============
55

6-
Ray currently supports Linux, MacOS and Windows.
6+
Ray currently officially supports x86_64 and Apple silicon (M1) hardware.
77
Ray on Windows is currently in beta.
88

99
Official Releases
1010
-----------------
1111

12-
You can install the latest official version of Ray as follows.
12+
From Wheels
13+
~~~~~~~~~~~
14+
You can install the latest official version of Ray from PyPI on linux, windows
15+
and macos as follows:
1316

1417
.. code-block:: bash
1518
@@ -249,30 +252,40 @@ on the AUR page of ``python-ray`` `here`_.
249252

250253
.. _ray_anaconda:
251254

252-
Installing Ray with Anaconda
253-
----------------------------
254-
255-
If you use `Anaconda`_ (`installation instructions`_) and want to use Ray in a defined environment, e.g, ``ray``, use these commands:
255+
Installing From conda-forge
256+
---------------------------
257+
Ray can also be installed as a conda package on linux and windows
256258

257259
.. code-block:: bash
258260
259-
conda config --env --add channels conda-forge
260-
conda create -n ray # works with mamba too
261+
# also works with mamba
262+
conda create -c conda-forge python=3.9 -n ray
261263
conda activate ray
262-
pip install ray # or `conda install ray-core`
264+
265+
# Install Ray with support for the dashboard + cluster launcher
266+
conda install -c conda-forge "ray-default"
267+
268+
# Install Ray with minimal dependencies
269+
# conda install -c conda-forge ray
270+
271+
To install Ray libraries, you can use ``pip`` as above or ``conda``/``mamba``
272+
273+
.. code-block:: bash
274+
275+
conda install -c conda-forge "ray-air" # installs Ray + dependencies for Ray AI Runtime
276+
conda install -c conda-forge "ray-tune" # installs Ray + dependencies for Ray Tune
277+
conda install -c conda-forge "ray-rllib" # installs Ray + dependencies for Ray RLlib
278+
conda install -c conda-forge "ray-serve" # installs Ray + dependencies for Ray Serve
263279
264280
For a complete list of available ``ray`` libraries on Conda-forge, have a look
265-
at: https://github.com/conda-forge/ray-packages-feedstock
281+
at https://anaconda.org/conda-forge/ray-default
266282

267283
.. note::
268284

269285
Ray conda packages are maintained by the community, not the Ray team. While
270286
using a conda environment, it is recommended to install Ray from PyPi using
271287
`pip install ray` in the newly created environment.
272288

273-
.. _`Anaconda`: https://www.anaconda.com/
274-
.. _`installation instructions`: https://docs.anaconda.com/anaconda/install/index.html
275-
276289
Building Ray from Source
277290
------------------------
278291

0 commit comments

Comments
 (0)