lightning/tests/trainer
Kaushik B 5dfd62c09e Disable training with zero num_training_batches when insufficient limit_train_batches (#5703)
* disable training when zero num_train_batches with limit_train_batches

* refactor train skip condition

* fix formatting issues

* fix formatting issues

* ref: test error msg

* fix tests for data loader calls

* fix train dataloader condition

* update limit_train_batches upper range in test comment

* remove model state check test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-05 21:40:42 +01:00
..
connectors Force ModelCheckpoint callback to run last (#5731) 2021-02-03 16:40:57 -05:00
data_flow simple tests restructure (#5452) 2021-01-15 20:58:20 -05:00
dynamic_args update tests with new auto_opt api (#5466) 2021-02-03 19:39:28 +01:00
flags Bugfix/5487 auto lr ordering (#5638) 2021-02-05 21:40:40 +01:00
legacy_deprecate_flow_log Refactor setup_training and remove test_mode (#5388) 2021-02-03 19:41:42 +01:00
logging_ move progress bar test to correct test folder (#5667) 2021-02-05 21:40:29 +01:00
optimization Fix logging on_train_batch_end in a callback with multiple optimizers (#5521) 2021-02-03 19:41:46 +01:00
properties Disable training with zero num_training_batches when insufficient limit_train_batches (#5703) 2021-02-05 21:40:42 +01:00
__init__.py split trainer tests (#956) 2020-02-26 20:31:40 -05:00
test_config_validator.py Fix pre-commit isort failure on tests/trainer/*.py (#5421) 2021-01-14 07:51:20 -05:00
test_correct_freq_accumulation.py prune deprecated EvalResult (#5633) 2021-01-26 03:09:39 -05:00
test_data_loading.py [Feat-BugFix] Resolve custom DataLoader (#5745) 2021-02-05 09:03:18 +00:00
test_dataloaders.py Bugfix/5487 auto lr ordering (#5638) 2021-02-05 21:40:40 +01:00
test_lr_finder.py Bugfix/5487 auto lr ordering (#5638) 2021-02-05 21:40:40 +01:00
test_states.py Fix pre-commit isort failure on tests/trainer/*.py (#5421) 2021-01-14 07:51:20 -05:00
test_supporters.py add possibility for nested loaders (#5404) 2021-01-24 07:32:02 -05:00
test_trainer.py Disable training with zero num_training_batches when insufficient limit_train_batches (#5703) 2021-02-05 21:40:42 +01:00
test_trainer_cli.py Unify names in Utils (#5199) 2020-12-22 00:23:33 +01:00
test_trainer_test_loop.py drop usage of deprecated distributed_backend (#5009) 2020-12-09 09:18:23 +01:00
test_trainer_tricks.py Fix pre-commit isort failure on tests/trainer/*.py (#5421) 2021-01-14 07:51:20 -05:00