Install Lightning

Fabric is part of the Lightning package. Here is how you get it!

Pip users

pip install lightning

Conda users

conda install lightning -c conda-forge

If you don’t already have it, this command will also install the latest stable PyTorch version.

You can find the list of supported PyTorch versions in our compatibility matrix.

Next steps

With the installation done, let’s get your PyTorch code to the next level.