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:
parent
2265bd85c9
commit
8ff2e01025
|
@ -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>`_.
|
||||
|
||||
----
|
||||
|
||||
|
|
|
@ -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
|
|
@ -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>`_.
|
||||
|
||||
--------------
|
||||
|
||||
******************
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue