Commit Graph

5539 Commits

Author SHA1 Message Date
Burhanuddin Rangwala ccc83e717c
Add doc strings to CSV logger (#9112)
Co-authored-by: tchaton <thomas@grid.ai>
2021-09-01 11:04:48 +00:00
Adrian Wälchli eacece1c3f
avoid suppressing exception in `FitLoop` (#9206) 2021-09-01 12:03:18 +02:00
B. Kerim Tshimanga 65b3dc4495
scheduled removal of DeepSpeedPlugin.cpu_offload* parameters (#9244) 2021-09-01 12:02:30 +02:00
Danielle Pintz b046bd0670
Add on_exception callback hook (#9183) 2021-09-01 10:49:00 +02:00
thomas chaton ff7305f74d
[bugfix] Prevent a DDP failure using copy (#9239) 2021-08-31 21:02:33 +00:00
Kaushik B 3e71046f49
Remove `shown_warnings` dead code from Trainer (#9230) 2021-08-31 16:59:59 +00:00
Kaushik B cf2a008f4f
Minor improvement to deepspeed utility comments (#9224) 2021-08-31 18:19:59 +02:00
Ethan Harris 5ccc50c319
Some fixes to the trainer docstring (#9227) 2021-08-31 17:56:22 +02:00
Kaushik B f21f1bedf2
Deprecate `process_position` from the Trainer constructor (#9222) 2021-08-31 15:14:23 +00:00
B. Kerim Tshimanga f6614b370c
scheduled removal of BaseProfiler.output_filename in favor of dirpath… (#9214) 2021-08-31 09:30:43 +00:00
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