Commit Graph

5529 Commits

Author SHA1 Message Date
Soham Tiwari 861f8afeea
[bugfix] Changed CometLogger to stop modifying metrics in place (#9150)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-08-31 08:21:16 +00:00
B. Kerim Tshimanga 07ee8fc9a0
Remove deprecated property `ModelCheckpoint.period` in favor of `ModelCheckpoint.every_n_epochs` (#9213) 2021-08-31 10:04:29 +02:00
B. Kerim Tshimanga 34053ef85e
Remove deprecated `Trainer.running_sanity_check` (#9209) 2021-08-31 01:44:33 +02:00
Danielle Pintz 65be98b5e2
Add mocked function assert to test_error_handling_all_stages (#9182) 2021-08-30 22:58:48 +00:00
Adrian Wälchli f2b5f34592
Move `TrainingBatchLoop.build_kwargs` to utilities (#9198)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-08-30 17:00:26 +01:00
Carlos Mocholí 1117e17409
Fix callback instantiation with CLI subcommands (#9203) 2021-08-30 16:44:18 +01:00
Adrian Wälchli c0bd658354
Remove calls to internal dev debugger in training- and eval loop (#9188) 2021-08-30 17:16:59 +02:00
Adrian Wälchli 908b9eebc7
move `block_ddp_sync_behaviour` to utilities (#9192) 2021-08-30 14:56:16 +00:00
B. Kerim Tshimanga f79993a705
removing legacy profiler arg (#9178)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-08-30 09:37:09 +00:00
Daniel Stancl 46b00a7de4
Make device and dtype required (#9168) 2021-08-28 23:13:05 +00:00
Daniel Stancl 39dd3a6cbd
Fix a typo (#9169) 2021-08-28 22:56:06 +00:00
Ning 1657588f35
deprecate `on_{train/val/test/predict}_dataloader()` from DataHooks (#9098)
Co-authored-by: Sean Naren <sean@grid.ai>
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2021-08-28 17:27:56 +00:00
B. Kerim Tshimanga c993d0ce33
Make unimplemented dataloader hooks raise `NotImplementedError` (#9161) 2021-08-28 16:07:47 +00:00
Sean Naren 3fd77cbde6
[docs] Add activation checkpointing information (#9165) 2021-08-28 10:22:56 +00:00
Carlos Mocholí 0dfc6a18bd
Call any trainer function from the `LightningCLI` (#7508) 2021-08-28 04:43:14 +00:00
thomas chaton 045c879e08
Fix `self.log(sync_dist=True, reduce_fx={mean,max})` (#9142)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-08-27 15:40:51 +00:00
Ethan Harris b5fb49ac3b
Add tutorial extension to the docs (#9167) 2021-08-27 17:14:23 +02:00
ananthsub 86a0cb74a4
Check `max_time` when setting defaults for min/max epochs (#9072)
Co-authored-by: tchaton <thomas@grid.ai>
2021-08-27 15:01:12 +00:00
B. Kerim Tshimanga 811d37b756
Update removal version of argparse_utils.py from 1.4 to 2.0 for backwards compatibility (#9162) 2021-08-27 14:10:28 +02:00
Burhanuddin Rangwala e133061cd3
Add doc strings for Neptune logger (#9111)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-08-27 08:45:52 +00:00
ananthsub 6da3a6185f
Fix typo in API evolution (#9160) 2021-08-27 08:21:16 +00:00
thomas chaton fcbfc6b8ab
add note (#9141) 2021-08-27 09:59:15 +02:00
four4fish b497fb80e5
Remove reference to DistributedDataParallel from parallel plugin teardown (#8943) 2021-08-26 17:51:05 -07:00
Daniel Stancl 53885afc2e
Fix mypy typing for `utilities.apply_func` (#8781)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-08-26 16:36:22 +00:00
Eric Wiener dfffb94b3c
Move predictions to CPU before accumulating (#9085)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-08-26 16:02:42 +01:00
Burhanuddin Rangwala b576201a3d
Added doc strings to wandb logger (#9109) 2021-08-26 16:01:42 +01:00
Adrian Wälchli b13749b4ec
add fault-tolerance for global random state in map-style datasets (#8950)
Co-authored-by: tchaton <thomas@grid.ai>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-08-26 12:13:31 +00:00
Burhanuddin Rangwala 0752bcd0eb
Added doc strings for Comet logger (#9114) 2021-08-26 11:01:46 +00:00
Adrian Wälchli 8efdeb2c00
deprecate the TestTubeLogger (#9065)
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2021-08-26 10:28:14 +00:00
Kaushik B 5c2b7cadcd
Remove ci tpu test from github workflows (#8965)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2021-08-26 15:10:59 +05:30
Adrian Wälchli 02612e14ef
remove redundant iterator call to data fetcher in loops (#9117)
Co-authored-by: tchaton <thomas@grid.ai>
2021-08-26 11:36:29 +02:00
Adrian Wälchli 6592d0e454
generalize closure api in Lightning (#8642)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2021-08-26 08:36:21 +00:00
Adrian Wälchli 0abd6e94b5
[3 / 3] improvements to saving and loading callback state (#7161)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-08-26 10:02:49 +02:00
Yi Wang 366fb39d2e
Support post-localSGD in Lightning DDP plugin (#8967)
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-08-26 08:24:49 +01:00
Santiago Castro 69f66fd6bb
Fix typing in hparams methods (#9116)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-26 07:54:13 +02:00
Burhanuddin Rangwala 9d62f24847
Add docstrings to Test Tube logger (#9110) 2021-08-25 12:15:00 -07:00
four4fish f01a9a6cd2
Remove `BasePlugin` (#9066)
* Remove BasePlugin

Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-08-25 19:10:28 +00:00
Sean Naren 12d076f747
[docs] Add Mixed Precision detailed docs (#9104) 2021-08-25 14:44:29 +00:00
Adrian Wälchli 5ff89a7074
Rename test file from log_dir to test_log_dir (#9105) 2021-08-25 12:48:06 +00:00
Sean Naren bac8b1be81
Add support for CPU AMP autocast (#9084) 2021-08-25 12:18:00 +00:00
Burhanuddin Rangwala bf8c1fd766
Add doc strings to tensorboard logger class (#9093) 2021-08-25 09:41:18 +00:00
Ethan Harris de57feff44
Fix `old_loader` attribute in name `_PatchDataLoader.__init__` (#9087) 2021-08-24 21:46:32 +00:00
Sean Naren e9f4bffe0a
Add validate logic for precision (#9080) 2021-08-24 20:00:09 +00:00
Sean Naren 1bab0a17a9
Fix torch bfloat import version (#9089) 2021-08-24 19:18:12 +00:00
thomas chaton f959b13ab9
3/n inter batch parallelism (#9052)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-08-24 18:45:54 +00:00
Adrian Wälchli b9443a07b9
[2 / 3] improvements to saving and loading callback state (#7187)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-08-24 17:35:19 +00:00
ananthsub 376734a1e2
Fix `accumulated_grad_batches` typehint (#9071)
* Fix `accumulated_grad_batches` typehint
2021-08-24 17:12:36 +00:00
Kaushik B 1a2468f530
[Blocking CI] Fix pep8 error about unused imports (#9090) 2021-08-24 21:26:32 +05:30
Nicki Skafte 81145ca990
Fig logging with log_gpu_memory='min_max' (#9013) 2021-08-24 15:00:59 +02:00
Jirka Borovec 33ffd67a7c
Disable coverage annotations in GitHub (#9077) 2021-08-24 14:13:21 +02:00