lightning/pl_examples
Sean Naren 96433d03ea
IPU Integration 5/5 (#7867)
* Initial changes

* Add broken example for now

* Fix reference

* Fix format

* Code runs

* Fixes

* Clear up files

* Add tests, helpers, fixes

* Small cleanups

* Refactors based on review

* Swap to special tests

* Add special tests

* Add source

* Cleanups

* Add logic to attach/detach model from devices

* Fixes for tests

* Fixes for tests

* Move earlier

* Cleanups

* Add check for nvcc

* Add tests, cleanups

* Fix errors

* fix

* Try condition

* Add missing annotation

* Clearer

* Clearer message

* Fix variable

* Cleanups

* Add comment

* CHANGELOG.md

* Add simple selection test

* Remove special=True to see what happens

* Fix test

* Update tests/accelerators/test_ipu.py

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>

* Convert ipu_cores -> ipus

* Add typing, fail earlier

* simplify precision

* Add test, add helper

* fix accum

* Update pytorch_lightning/plugins/training_type/ipu.py

Co-authored-by: thomas chaton <thomas@grid.ai>

* Use stages

* Make sure warning message returned

* thorw error

* Add more tests, use fs

* add comment

* Clean

* Address feedback, add IPU tests

* Fixes

* Fix signature

* Add types

* Remove autoround

* Add docstring

* ipu_cores -> ipus

* Add test, remove unnecessary precision set

* Add optimizer test

* Add precision back with test

* Address code review

* Change to probs

* Move some of the asserts earlier

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2021-06-11 15:07:04 +00:00
..
basic_examples CI code cleaning (#7615) 2021-05-21 11:35:12 +00:00
domain_templates Call `super().__init__()` in `MilestonesFinetuning` example (#7398) 2021-05-06 21:11:36 +05:30
ipu_examples IPU Integration 5/5 (#7867) 2021-06-11 15:07:04 +00:00
README.md docs: lightning-bolts (#6967) 2021-04-13 18:49:48 +00:00
__init__.py Reuse _TORCHVISION_AVAILABLE (#6976) 2021-04-13 18:33:32 +02:00
bug_report_model.py release 1.3.0 (#7404) 2021-05-06 15:05:35 -04:00
run_ddp-examples.sh Changed basic_examples to use `LightningCLI` (#6862) 2021-04-15 15:01:16 +00:00
run_examples-args.sh remake nvidia docker (#6686) 2021-03-29 09:39:06 +01:00
test_examples.py Changed basic_examples to use `LightningCLI` (#6862) 2021-04-15 15:01:16 +00:00

README.md

Examples

Our most robust examples showing all sorts of implementations can be found in our sister library lightning-bolts.


Basic examples

In this folder we add 3 simple examples:


Domain examples

This folder contains older examples. You should instead use the examples in lightning-bolts for advanced use cases.