Commit Graph

7749 Commits

Author SHA1 Message Date
Adrian Wälchli ea5e817973
Better error message when trying to re-initialize CUDA in forked subprocess (#14709)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-28 05:07:33 -04:00
Carlos Mocholí 9fc4ff3278
Move logic to error out on deprecation warnings into conftest (#14902) 2022-09-27 17:49:25 +02:00
Rohit Gupta d1a3a3ebf5
Add BatchSizeFinder callback (#11089)
* add BatchSizeFinderCallback callback

* temp rm from init

* skip with lr_finder tests

* restore loops and intergrate early exit

* enable fast_dev_run test

* add docs and tests

* keep tune and remove early_exit

* add more tests

* patch lr finder

* disable skip

* force_save and fix test

* mypy and circular import fix

* fix mypy

* fix

* updates

* rebase

* address reviews

* add more exceptions for unsupported functionalities

* move exception to setup

* chlog

* unit test

* address reviews

* Apply suggestions from code review

* update

* update

* mypy

* fix

* use it as a util func

* license

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

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

* mypy

* mypy

* review

* fix

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

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

* fix

* updates

* updates

* fix import

* Protect callback attrs

* don't reset val dataloader

* update test

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-27 08:54:37 -04:00
Adrian Wälchli d572a7e2ec
Fix double precision support in Lite (#14827) 2022-09-27 08:38:20 +00:00
Mansy b0bd949d58
Enable quick-start-app-e2e (#14542)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-27 08:16:46 +01:00
Raphael Randschau 6edf5c5cc2
fix connect/ disconnect without arguments (#14877) 2022-09-27 03:43:36 +00:00
Kishan Savant 9fd951b45c
Remove the deprecated `trainer.*_ckpt_path` (#14897) 2022-09-27 02:00:33 +02:00
Adrian Wälchli d7404c775a
Integration tests for Precision in Lite (#14815)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-09-26 18:50:11 +00:00
Kishan Savant 8c01e82e26
Remove deprecated trainer_optimizer_mixin (#14887)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-26 15:32:02 +00:00
Kishan Savant dce5644101
Removed deprecated trainer_lightning_optimizers (#14889) 2022-09-26 14:08:27 +00:00
Andres Algaba 4fc8275cc3
Remove the deprecated `trainer.call_hook` (#14869) 2022-09-26 15:56:44 +02:00
Kishan Savant 35419b5bf9
Removed the deprecated trainer_data_loading_mixin (#14888) 2022-09-26 10:58:19 +00:00
Adrian Wälchli 2ef1f0ab96
Update root Makefile to run all test projects (#14881) 2022-09-26 10:27:46 +00:00
Kishan Savant e7ad151c31
Remove the deprecated `trainer.verbose_evaluate` (#14884)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-24 19:20:31 +00:00
Andres Algaba a6489347ca
Remove the deprecated run_stage (#14870) 2022-09-24 17:22:09 +00:00
Kishan Savant 5ec12f849e
Remove deprecated trainer.should_rank_save_checkpoint (#14885)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-09-24 18:40:11 +02:00
Krishna Kalyan d38633592d
Remove the deprecated `profile_iterable` (#14864)
* remove profile_iterable
* remove imports
* remove depricated api
* update changelog

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-24 12:01:18 +00:00
jsr-p abb6049fa3
Update documentation for the basic skills tutorial level 2 on how to validate and test a model (#14874) 2022-09-24 10:34:06 +00:00
dconathan 633d14e67a
fixed comet -> mlflow typo in visualize/experiment_managers docs (#14843)
fixed comet -> mlflow typo

Co-authored-by: Devin Conathan <devin.conathan@libertymutual.com>
2022-09-24 00:13:28 +02:00
Jirka Borovec b1b50450ac
Cleaning requirement + git fix (#14863)
* drop duplicate docs requirements
* skip empty dir
* mypy for #14861
2022-09-23 16:44:28 +01:00
William Falcon 047d7088f4
Make Trainer readable and debuggable (3/n) (#14871)
* clean trainer 3/n

* clean trainer 3/n

* clean trainer 3/n

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

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

* clean trainer 3/n

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-23 11:10:42 -04:00
William Falcon fbfcc3d871
Make Trainer readable and debuggable (2/n) (#14862)
* clean trainer 2/n

* clean trainer 2/n

* clean trainer 2/n

* clean trainer 2/n

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

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

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-23 08:05:29 -04:00
William Falcon c77d4a8394
Make Trainer Debuggable and understandable again (1/n) (#14861)
* clean trainer 1/n

* clean trainer 1/n

* clean trainer 1/n

* clean trainer 1/n

* clean trainer 1/n

* clean trainer 1/n

* clean trainer 1/n

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

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

* clean trainer 1/n

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

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

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-23 01:15:59 -04:00
Jirka Borovec a325839141
update changelog after App 0.6.2 (#14853) 2022-09-22 23:08:53 +05:30
Kushashwa Ravi Shrimali 13b864fe15
App: Update changelog post release (0.6.1) (#14844) 2022-09-22 17:38:42 +01:00
Kaushik B c3713166db
Update Changelog post v1.7.7 (#14851) 2022-09-22 16:24:15 +00:00
Justin Goodwin 45ca78167e
Improving Hydra+DDP support (#11617)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-09-22 16:03:13 +00:00
Adrian Wälchli dd2a1c5d29
Integrate Lite Precision into PL (#14798)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-22 14:51:04 +00:00
Krishna Kalyan 6df6deac8f
Remove the deprecated `agg_and_log_metrics` (#14840)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-22 09:59:06 -04:00
Adrian Wälchli 9505e62350
Remove deprecated precision plugin checkpoint hooks (#14833)
* Remove deprecated precision plugin checkpoint hooks
* chlog
2022-09-22 11:19:14 +00:00
Adrian Wälchli 1d3e971903
Remove deprecated device attributes from Trainer (#14829)
* Remove deprecated device attributes from Trainer
* changelog

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-22 10:17:41 +00:00
Adrian Wälchli dc1dc0df36
Attempt to query device count via NVML (#14631)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-22 09:57:13 +00:00
Laverne Henderson d1303cf628
Updated the structure and applied feedback (#14734) 2022-09-22 11:40:12 +02:00
Adrian Wälchli 31788db337
Fix attribute error in SWA when running with Tuner (#14836)
* Fix attribute error in SWA when running with Tuner
* changelog
* add better test

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-22 07:09:59 +00:00
Adrian Wälchli dd393951a2
Remove deprecated use_amp attributes (#14832)
* Remove deprecated use_amp attributes
* chlog
2022-09-22 09:07:53 +02:00
otaj 5ee2b86c44
Tests for fixed TypeError (#14821)
* tests for 14809
* Apply suggestions from code review

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-22 09:04:27 +02:00
Carlos Mocholí 7e803ba53e
Clean-up dtype management (#14823)
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-09-22 00:07:36 +00:00
Jules Gagnon-Marchand 364dcba382
Correct false error message relating to Trainer(precision) (#14828)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-21 23:33:03 +00:00
Laverne Henderson da0ccb11a6
Updates links to components in the Gallery (#14807) 2022-09-21 22:22:05 +00:00
Adrian Wälchli 3f0fec591d
Update device attribute in Lite's module wrapper (#14822)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-21 19:06:10 +00:00
Carlos Mocholí abc805f9ef
Remove the model argument from Lite's `optimizer_step` via structural typing (#14810)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-09-21 19:28:45 +02:00
Carlos Mocholí dbb4482ecc
Set path filters in favor of the required-job action (#14294)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-09-21 15:28:35 +01:00
Raphael Randschau a3c8671304
change cluster creation log message (#14672)
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
2022-09-21 07:01:08 -07:00
Jirka Borovec 5dc370f456
pkg, strict version (#14814) 2022-09-21 11:44:53 +00:00
Christopher Nguyen 0841f23bdf
Fix icon encoding in PL App pretty-print (#14795)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-09-20 16:39:11 -04:00
otaj ac5e0b3bd9
Fixed `TypeError` on 1.7.6 when `torch.distributed` unavailable (#14809)
* Fixed TypeError on 1.7.6 when distributed unavailable
* changelog
2022-09-20 20:35:40 +00:00
Raphael Randschau a7f2d119c5
[mypy] start introducing mypy on lightning_app (#14267)
* fix mypy lightning_cli errors
2022-09-20 10:23:48 -07:00
dependabot[bot] 326e5afafd
Update pandas requirement from <=1.4.3,>1.0 to >1.0,<1.5.1 in /requirements (#14787)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-20 16:08:41 +02:00
ritsuki1227 6855f653bb
Set `MLFlowLogger` status to FAILED when training raises an error (#12292)
Co-authored-by: Ritsuki Yamada <ritsuki.yamada@uzabase.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-20 07:43:32 -04:00
awaelchli c0ff7a1b77 Add backward-compatibility for LightningLite in PL (#14735) 2022-09-20 13:31:56 +02:00