Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "[Docs] More detailed M1 Mac installation instructions" #20547

Merged
merged 1 commit into from
Nov 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,32 +159,14 @@ The latest Ray Java snapshot can be found in `sonatype repository <https://oss.s

.. _apple-silcon-supprt:

M1 Mac (Apple Silicon) Support
Apple Silicon Support
---------------------

Ray has experimental support for machines running Apple Silicon (such as M1 macs). To get started:

#. Install `miniforge <https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh>`_.

* ``wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh``

* ``bash Miniforge3-MacOSX-arm64.sh``

* ``rm https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh # Cleanup.``

#. Ensure you're using the miniforge environment (you should see (base) in your terminal).

* ``source ~/.bash_profile``

* ``conda activate``

#. Ensure that the ``grpcio`` package is installed via forge and **not pypi**. Grpcio currently requires special compilation flags, which pypi will _not_ correctly build with. Miniforge provides a prebuilt version of grpcio for M1 macs.

* ``pip uninstall grpcio; conda install grpcio``.

#. Install Ray as you normally would.

* ``pip install ray``
1. Install `miniforge <https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh>`_.
2. Ensure that the ``grpcio`` package is installed via forge and **not pypi**: ``pip uninstall grpcio; conda install grpcio``.
3. Install Ray as you normally would: ``pip install ray``.

.. note::

Expand Down