diff --git a/docs/source-app/installation.rst b/docs/source-app/installation.rst index 1828e30cb4..340fd86da8 100644 --- a/docs/source-app/installation.rst +++ b/docs/source-app/installation.rst @@ -13,7 +13,7 @@ Don't know what this is? Follow our `beginner guide here ` * Python 3.8.x or later (3.8.x, 3.9.x, 3.10.x) -Or read the `Windows installation article `_. +Or read the `Apple Silicon Macs installation article `_ or the `Windows installation article `_. ---- diff --git a/docs/source-app/installation_mac.rst b/docs/source-app/installation_mac.rst new file mode 100644 index 0000000000..180a3a8893 --- /dev/null +++ b/docs/source-app/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 diff --git a/docs/source-pytorch/starter/installation.rst b/docs/source-pytorch/starter/installation.rst index c5f7760945..6c9fa47c72 100644 --- a/docs/source-pytorch/starter/installation.rst +++ b/docs/source-pytorch/starter/installation.rst @@ -19,6 +19,8 @@ Now you can install using `pip `_ u pip install pytorch-lightning +Or read the `Apple Silicon Macs installation article `_. + -------------- ****************** diff --git a/docs/source-pytorch/starter/installation_mac.rst b/docs/source-pytorch/starter/installation_mac.rst new file mode 100644 index 0000000000..180a3a8893 --- /dev/null +++ b/docs/source-pytorch/starter/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