lightning/tests/models
Lezwon Castelino 9446390779
fix TPU parsing and TPU tests (#2094)
* added tpu params test

* added tests

* removed xla imports

* added test cases for TPU

* fix pep 8 issues

* refactorings and comments

* add message to MisconfigurationException

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* test if device is set correctly

* added TPU device check
removed mark.spawn

* removed device selection

* remove xla_device call

* readded spawn due to test failures

* add TODO for tpu check

* Apply suggestions from code review

* Apply suggestions from code review

* flake8

* added tpu args to cli tests

* added support for tpu_core selection via cli

* fixed flake formatting

* replaced default_save_path with default_root_dir

* added check for data type for tpu_cores

* fixed flake indent

* protected

* protected

* added tpu params test

* added tests

* removed xla imports

* test if device is set correctly

* added support for tpu_core selection via cli

* replaced default_save_path with default_root_dir

* added check for data type for tpu_cores

* chlog

* fixed tpu cores error

* rebased with latest changes

* flake fix

* Update pytorch_lightning/trainer/distrib_parts.py

added suggesstion

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-06-23 12:06:57 -04:00
..
data/horovod RC & Docs/changelog (#1776) 2020-05-11 21:57:53 -04:00
__init__.py CI: split tests-examples (#990) 2020-03-25 07:46:27 -04:00
test_amp.py Attempt to add broken test to mimic transformers use case (#2272) 2020-06-19 14:43:07 -04:00
test_cpu.py replace train_percent_check with limit_train_batches (#2220) 2020-06-17 13:42:28 -04:00
test_gpu.py fix TPU parsing and TPU tests (#2094) 2020-06-23 12:06:57 -04:00
test_grad_norm.py cleaning tests (#2201) 2020-06-15 22:03:40 -04:00
test_hooks.py Revert/Fix: epoch indexing from 1, to be from 0 (#2289) 2020-06-19 23:39:53 -04:00
test_horovod.py replace train_percent_check with limit_train_batches (#2220) 2020-06-17 13:42:28 -04:00
test_hparams.py remove frame inspection on self.hparams (#2253) 2020-06-18 23:08:25 -04:00
test_restore.py Revert/Fix: epoch indexing from 1, to be from 0 (#2289) 2020-06-19 23:39:53 -04:00
test_tpu.py fix TPU parsing and TPU tests (#2094) 2020-06-23 12:06:57 -04:00