lightning/tests/trainer
Ning f6ed0bd8ca
introduce has_len_all_ranks() to check the length of dataloader across ranks (#9827)
* introduce , udpate tests

* update CHANGELOG.md

* change staticmethod and hook attribute naming

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix typo

* remove non-essential comment

* fix merge error and comment format

* try to fix test_tpu.py failure

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update on comments

* chlog

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* chlog

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* try fix

* Revert back TPUSpawn changes

* Update test

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
2021-11-02 13:22:58 -04:00
..
connectors Deprecate `ProgressBar` and rename it to `TQDMProgressBar` (#10134) 2021-11-01 11:42:21 +00:00
dynamic_args Add `enable_model_summary` flag and deprecate `weights_summary` (#9699) 2021-10-13 17:20:54 +05:30
flags Change default value of the `max_steps` Trainer argument from `None` to `-1` (#9460) 2021-10-25 20:21:33 +00:00
logging_ Deprecate `ProgressBar` and rename it to `TQDMProgressBar` (#10134) 2021-11-01 11:42:21 +00:00
optimization Fix gradient norm tracking and gradient clipping (#9287) 2021-10-28 15:23:27 +00:00
properties (1/n) tests: Use strategy flag instead of accelerator for training strategies (#9931) 2021-10-16 20:40:25 +05:30
__init__.py
test_config_validator.py Raise `MisconfigurationException` if `trainer.eval` is missing required methods (#10016) 2021-10-25 23:12:08 -07:00
test_data_loading.py Mark accelerator connector as protected (#10032) 2021-10-25 19:24:54 +00:00
test_dataloaders.py introduce has_len_all_ranks() to check the length of dataloader across ranks (#9827) 2021-11-02 13:22:58 -04:00
test_progress.py Use `completed` over `processed` in `reset_on_restart` (#9656) 2021-09-23 16:11:55 +05:30
test_states.py CI: precommit - docformatter (#8584) 2021-09-06 12:49:09 +00:00
test_supporters.py (1/n) tests: Use strategy flag instead of accelerator for training strategies (#9931) 2021-10-16 20:40:25 +05:30
test_trainer.py Fix `distrib_type` not being set when Plugin instances being passed to Trainer (#10251) 2021-11-01 17:11:57 +05:30
test_trainer_cli.py Change default value of the `max_steps` Trainer argument from `None` to `-1` (#9460) 2021-10-25 20:21:33 +00:00
test_trainer_tricks.py Mark `trainer.data_connector` as protected (#10031) 2021-10-25 12:29:09 +01:00