|
3 | 3 | Installing Ray
|
4 | 4 | ==============
|
5 | 5 |
|
6 |
| -Ray currently supports Linux, MacOS and Windows. |
| 6 | +Ray currently officially supports x86_64 and Apple silicon (M1) hardware. |
7 | 7 | Ray on Windows is currently in beta.
|
8 | 8 |
|
9 | 9 | Official Releases
|
10 | 10 | -----------------
|
11 | 11 |
|
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: |
13 | 16 |
|
14 | 17 | .. code-block:: bash
|
15 | 18 |
|
@@ -249,30 +252,40 @@ on the AUR page of ``python-ray`` `here`_.
|
249 | 252 |
|
250 | 253 | .. _ray_anaconda:
|
251 | 254 |
|
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 |
256 | 258 |
|
257 | 259 | .. code-block:: bash
|
258 | 260 |
|
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 |
261 | 263 | 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 |
263 | 279 |
|
264 | 280 | 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 |
266 | 282 |
|
267 | 283 | .. note::
|
268 | 284 |
|
269 | 285 | Ray conda packages are maintained by the community, not the Ray team. While
|
270 | 286 | using a conda environment, it is recommended to install Ray from PyPi using
|
271 | 287 | `pip install ray` in the newly created environment.
|
272 | 288 |
|
273 |
| -.. _`Anaconda`: https://www.anaconda.com/ |
274 |
| -.. _`installation instructions`: https://docs.anaconda.com/anaconda/install/index.html |
275 |
| - |
276 | 289 | Building Ray from Source
|
277 | 290 | ------------------------
|
278 | 291 |
|
|
0 commit comments