lightning/examples
liambsmith 709a2a9d3b
Updated Fabric trainer example to not call `self.trainer.model` during validation (#19993)
2024-06-21 10:43:30 -04:00
..
app precommit: ruff-format (#19434) 2024-02-15 13:39:17 -05:00
fabric Updated Fabric trainer example to not call `self.trainer.model` during validation (#19993) 2024-06-21 10:43:30 -04:00
pytorch Removing numpy requirement from all files in examples/pytorch/domain_templates (#19947) 2024-06-06 11:02:01 -04:00
README.md replace bolts url on example's readme (#19677) 2024-03-20 10:23:12 -04: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

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.