Update for M1 Mac installations (#14350)

* Update for M1 Mac installations

* Apply suggestions from code review

* Update PL installation

* Update based on feedback

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
This commit is contained in:
Laverne Henderson 2022-08-23 10:31:18 -07:00 committed by GitHub
parent 2265bd85c9
commit 8ff2e01025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Don't know what this is? Follow our `beginner guide here <install_beginner.rst>`
* Python 3.8.x or later (3.8.x, 3.9.x, 3.10.x)
Or read the `Windows installation article <installation_win.rst>`_.
Or read the `Apple Silicon Macs installation article <installation_mac.rst>`_ or the `Windows installation article <installation_win.rst>`_.
----

View File

@ -0,0 +1,22 @@
:orphan:
##################################
Installation on Apple Silicon Macs
##################################
Apple Silicon (M1, M2, M3) Mac environments need a bit of tweaking before you install.
----
****************
Install with pip
****************
Install the ``lightning`` package
.. code:: bash
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
pip install lightning

View File

@ -19,6 +19,8 @@ Now you can install using `pip <https://pypi.org/project/pytorch-lightning/>`_ u
pip install pytorch-lightning
Or read the `Apple Silicon Macs installation article <installation_mac.rst>`_.
--------------
******************

View File

@ -0,0 +1,22 @@
:orphan:
##################################
Installation on Apple Silicon Macs
##################################
Apple Silicon (M1, M2, M3) Mac environments need a bit of tweaking before you install.
----
****************
Install with pip
****************
Install the ``lightning`` package
.. code:: bash
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
pip install lightning