lightning/examples
Adrian Wälchli eb82e307c8
Update import in bug report template (#16616)
2023-02-03 01:52:16 +01:00
..
app_argparse rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_boring rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_commands_and_api [pre-commit.ci] pre-commit suggestions (#16224) 2023-01-04 18:48:35 -05:00
app_components rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_dag [pre-commit.ci] pre-commit suggestions (#16224) 2023-01-04 18:48:35 -05:00
app_display_name [App] Add display name property to the work (#16095) 2022-12-18 12:54:15 +00:00
app_drive rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_hpo rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_installation_commands [App] Improve lightning connect experience (#16035) 2022-12-14 17:09:30 +00:00
app_interruptible [App] Add interruptible work (#16399) 2023-01-25 13:48:27 +00:00
app_justpy Add JustPy Frontend (#15002) 2022-10-27 11:48:26 -04:00
app_layout rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_mount ENG-627: Docs for CloudCompute Mount Argument (#15182) 2022-12-07 15:11:52 +00:00
app_multi_node Rename LiteMultiNode to FabricMultiNode (#16505) 2023-01-26 11:36:27 +00:00
app_payload rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_pickle_or_not rename flow _exit (#16378) 2023-01-17 11:06:50 +00:00
app_server Sample datatype for Serve Component (#15623) 2022-11-10 14:39:36 -05:00
app_server_with_auto_scaler [App] Scale out/in interval for autoscaler (#16093) 2022-12-19 13:49:00 +00:00
app_template_streamlit_ui [App] Remove `SingleProcessRuntime` (#15933) 2022-12-07 23:22:40 +00:00
app_v0 [App] Enable debugger with LightningApp (#15590) 2022-11-09 20:46:31 +00:00
app_works_on_default_machine [App] Enable debugger with LightningApp (#15590) 2022-11-09 20:46:31 +00:00
fabric Fabric RL example: add `torchmetrics` and minor fixes (#16543) 2023-01-30 09:11:43 -05:00
pl_basics Remove the deprecated `LightningCLI` arguments (#16380) 2023-01-19 18:39:36 +01:00
pl_bug_report Update import in bug report template (#16616) 2023-02-03 01:52:16 +01:00
pl_domain_templates Make manual optimization mandatory for multiple optimizers (#16539) 2023-02-01 16:21:01 +00:00
pl_hpu Remove the deprecated `pl.utilities.cli` module (#16116) 2022-12-19 23:24:25 +01:00
pl_ipu
pl_servable_module [pre-commit.ci] pre-commit suggestions (#16224) 2023-01-04 18:48:35 -05:00
README.md Loop flattening: remove `.replace()` (#16361) 2023-01-19 18:39:36 +01:00
run_fabric_examples.sh Restructure Lite examples and add GAN (#16240) 2023-01-05 14:07:43 +00:00
run_pl_examples.sh Remove DataLoader serialization (under fault tolerance) (#16533) 2023-01-30 16:12:01 +01: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.