lightning/tests/accelerators
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
..
__init__.py Automatically find and run special tests (#6669) 2021-03-26 17:04:59 +00:00
ddp_model.py Set `DistributedSampler` seed if `seed_everything` was called (#7024) 2021-04-19 14:50:31 +01:00
test_accelerator_connector.py refactor optimizer loop logic for manual and automatic optimization (#7526) 2021-05-17 14:42:01 +02:00
test_common.py Remove `trainer.fit` return value [2/n] (#7237) 2021-04-28 19:11:32 +01:00
test_cpu.py [IPU] Add reset dataloader hooks to training type plugin 3/n (#7861) 2021-06-07 10:37:09 +00:00
test_ddp.py Fix double precision + ddp_spawn (#6924) 2021-06-01 15:21:17 +00:00
test_ddp_spawn.py `TrainerState` refactor [5/5] (#7173) 2021-05-04 12:50:56 +02:00
test_dp.py Disable batch transfer in DP mode (#6098) 2021-03-11 10:51:10 -05:00
test_ipu.py IPU Integration 5/5 (#7867) 2021-06-11 15:07:04 +00:00
test_multi_nodes_gpu.py Use typing forward references (#7770) 2021-05-31 09:54:28 +02:00
test_tpu_backend.py Move parameter validation specific to TPU Training plugins (#7415) 2021-05-24 16:02:01 +00:00