lightning/examples
Jirka Borovec 5f5d99eae6
Relax app dependencies for `lightning` | breaking imports from `L` (#18386)
* make App conditional import

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci: min req.

* data + store

* typo

* module_available

* extra

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* envs

* doctest

* more

* docs

* **

* rm

* -f

* Apply suggestions from code review

* docs

* Revert "docs"

This reverts commit 20e8e6be98.

* Apply suggestions from code review

* warnings

* breaking

* ...

* fixing source

* fixing examples

* fixing tests

* fixing docs

* fixing source

* fix mock

* fix trainer

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-28 11:28:58 -04:00
..
app Relax app dependencies for `lightning` | breaking imports from `L` (#18386) 2023-08-28 11:28:58 -04:00
data/image Relax app dependencies for `lightning` | breaking imports from `L` (#18386) 2023-08-28 11:28:58 -04:00
fabric docformatter: config with black (#18064) 2023-08-09 10:44:20 -04:00
pytorch docformatter: config with black (#18064) 2023-08-09 10:44:20 -04:00
README.md docs: update broken links & latest/stable (#16994) 2023-03-15 20:19:41 +01:00
run_fabric_examples.sh copyright Lightning AI team (#16647) 2023-02-06 15:26:51 +01:00
run_pl_examples.sh Refactor PL examples to `examples/pytorch/` (#16925) 2023-03-07 11:24:46 -05:00

README.md

Examples

Our most robust examples showing all sorts of implementations can be found in our sister library Lightning Bolts.


Note that some examples may rely on new features that are only available in the development branch and may be incompatible with any releases. If you see any errors, you might want to consider switching to a version tag you would like to run examples with. For example, if you're using pytorch-lightning==1.6.4 in your environment and seeing issues, run examples of the tag 1.6.4.


Lightning Fabric Examples

We show how to accelerate your PyTorch code with Lightning Fabric with minimal code changes. You stay in full control of the training loop.


Lightning Trainer Examples

In this folder, we have 2 simple examples that showcase the power of the Lightning Trainer.


Domain Examples

This folder contains older examples. You should instead use the examples in Lightning Bolts for advanced use cases.