Skip to content

Commit

Permalink
Rename PL installation to pip install lightning (#17074)
Browse files Browse the repository at this point in the history
* rename PL installation

* update

* Apply suggestions from code review

* Update docs/source-pytorch/starter/installation.rst

Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>

* Update docs/source-pytorch/starter/installation.rst

---------

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 14, 2023
1 parent 281efc6 commit 5d58736
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ ______________________________________________________________________
Simple installation from PyPI

```bash
pip install pytorch-lightning
pip install lightning
```

<!-- following section will be skipped from PyPI description -->
Expand All @@ -125,7 +125,7 @@ pip install pytorch-lightning
#### Install with optional dependencies

```bash
pip install pytorch-lightning['extra']
pip install lightning['extra']
```

#### Conda
Expand Down
2 changes: 1 addition & 1 deletion docs/source-pytorch/accelerators/gpu_intermediate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ We STRONGLY discourage this use because it has limitations (due to Python and Py
author="",
author_email="",
url="https://github.com/YourSeed", # REPLACE WITH YOUR OWN GITHUB PROJECT LINK
install_requires=["pytorch-lightning"],
install_requires=["lightning"],
packages=find_packages(),
)
Expand Down
2 changes: 1 addition & 1 deletion docs/source-pytorch/accelerators/tpu_basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ To get a TPU on colab, follow these steps:

.. code-block::
!pip install pytorch-lightning
!pip install lightning
6. Then set up your LightningModule as normal.

Expand Down
2 changes: 1 addition & 1 deletion docs/source-pytorch/extensions/entry_points.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Here is a minimal example of the `setup.py` file for the package `my-package`:
setup(
name="my-package",
version="0.0.1",
install_requires=["pytorch-lightning"],
install_requires=["lightning"],
entry_points={
"lightning.pytorch.callbacks_factory": [
# The format here must be [any name]=[module path]:[function name]
Expand Down
2 changes: 1 addition & 1 deletion docs/source-pytorch/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Pip users

.. code-block:: bash
pip install pytorch-lightning
pip install 'lightning'
.. raw:: html

Expand Down
4 changes: 1 addition & 3 deletions docs/source-pytorch/starter/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
Installation
############

.. warning:: pip install pytorch-lightning has been deprecated and will stop being updated June 2023. Use pip install lightning instead.

----

*****************************
Apple Silicon (M1/M2/M3) Macs
Expand Down Expand Up @@ -84,7 +82,7 @@ If you are deploying models built with Lightning in production and require few d

.. code-block:: bash
pip install pytorch-lightning
pip install lightning
^^^^^^^^^^^^^^^^^^^^^^
Custom PyTorch Version
Expand Down
2 changes: 1 addition & 1 deletion docs/source-pytorch/starter/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ For `pip <https://pypi.org/project/pytorch-lightning/>`_ users

.. code-block:: bash
pip install pytorch-lightning
pip install lightning
.. raw:: html

Expand Down

0 comments on commit 5d58736

Please sign in to comment.