lightning/tests/trainer
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
..
__init__.py split trainer tests (#956) 2020-02-26 20:31:40 -05:00
test_checks.py replace Hparams by init args (#1896) 2020-05-24 18:59:08 -04:00
test_dataloaders.py Add missing test for "multiple dataloader + percent_check fix" (#2226) 2020-06-23 11:21:24 -04:00
test_lr_finder.py remove deprecated API for v0.8 (#2073) 2020-06-12 14:37:52 -04:00
test_optimizers.py replace train_percent_check with limit_train_batches (#2220) 2020-06-17 13:42:28 -04:00
test_trainer.py fix TPU parsing and TPU tests (#2094) 2020-06-23 12:06:57 -04:00
test_trainer_cli.py fix TPU parsing and TPU tests (#2094) 2020-06-23 12:06:57 -04:00
test_trainer_steps.py refactored training_batch + tests to verify correctness (#2328) 2020-06-23 11:17:10 -04:00
test_trainer_tricks.py replace train_percent_check with limit_train_batches (#2220) 2020-06-17 13:42:28 -04:00