Commit Graph

440 Commits

Author SHA1 Message Date
Seppo Enarvi 9346151359
Two fixes for handling edge cases in MLflow logging (#16451)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-01-23 14:29:58 +01:00
Adrian Wälchli 9faa25f86f
Test that connector defaults match the ones in Trainer/Fabric (#16463) 2023-01-23 05:09:45 -05:00
Peutlefaire 6fd914f40b
Solved minor bug with MLFlow logger (#16418)
Resolves https://github.com/Lightning-AI/lightning/issues/16411
2023-01-20 00:15:32 +00:00
Carlos Mocholí d3de5c64d7
Remove the deprecated code in `pl.utilities.data` (#16440) 2023-01-20 01:03:55 +01:00
Carlos Mocholí 8f736372ed Loop flattening: reduce base interface (#16429)
* Loop flattening: remove the default `.run()` implementation

* None return

* mypy

* Loop flattening: reduce base interface

* Fix

* DOcs

* Bad merge

* Fix

* Fix
2023-01-19 18:39:36 +01:00
Carlos Mocholí da82d490f3 Remove the deprecated code in `pl.utilities.optimizer` (#16439) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 0cf0e90e4a Remove the deprecated code in `pl.utilities.cloud_io` (#16438) 2023-01-19 18:39:36 +01:00
Carlos Mocholí d7760819dc Remove the deprecated `Accelerator.setup_environment` method (#16436) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 48a407cc86 Remove the deprecated `pl.strategies.utils.on_colab_kaggle` function (#16437) 2023-01-19 18:39:36 +01:00
Carlos Mocholí df795b45c0 Remove the deprecated code in `pl.utilities.seed` (#16422) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 37f672d968 Remove the deprecated code in `pl.core.mixins` (#16424) 2023-01-19 18:39:36 +01:00
Carlos Mocholí fd9a3803b8 Loop flattening: remove the default `.run()` implementation (#16427) 2023-01-19 18:39:36 +01:00
Carlos Mocholí f031f1e453 Remove the `HivemindStrategy` (#16407)
Remove the collaborative strategy
2023-01-19 18:39:36 +01:00
Carlos Mocholí 04b929c2af Remove the deprecated code in `pl.utilities.apply_func` (#16413) 2023-01-19 18:39:36 +01:00
Adrian Wälchli da675d69bf Remove deadlock detection / process reconciliation logic (#16204)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Carlos Mocholí 172be3653f Remove the deprecated code in `pl.utilities.device_parser` (#16412) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 003937246a Remove the deprecated code in `pl.utilities.xla_device` (#16404) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 256199ff7c Remove support for logging multiple metrics together (#16389) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 47c38c75ba Remove deprecated code in `pl.utilities.distributed` (#16390) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 886ad49a55 Mark forward_module as required (#16386) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 46246c3336 Loop flattening: remove `.connect()` (#16384) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 3cc376e240 Remove the deprecated tuning property and enums (#16379) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 67eb931cdf Remove the deprecated `LightningCLI` arguments (#16380) 2023-01-19 18:39:36 +01:00
Carlos Mocholí bf75a1758c Remove support for `PL_INTER_BATCH_PARALLELISM` (#16355) 2023-01-19 18:39:36 +01:00
Carlos Mocholí e9a5c7489a Loop flattening: remove `.replace()` (#16361) 2023-01-19 18:39:36 +01:00
Carlos Mocholí caa82d8600 Remove `Trainer(move_metrics_to_cpu=True)` (#16358) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 14933592f4 Remove the deprecated `pytorch_lightning.profiler` module (#16359) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 5d648e4d77 Remove the deprecated `AllGatherGrad` class (#16360) 2023-01-19 18:39:36 +01:00
Adrian Wälchli cf0952b25e Remove special handling of loss in progress bar (#16192)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Adrian Wälchli 83f6d93895 Remove the redundant precision attribute from LightningModule (#16203)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Adrian Wälchli 03a699693b Remove truncated backpropagation from loops (#16337)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Carlos Mocholí 92a922ccd4 Remove the graveyard (#16138) 2023-01-19 18:39:36 +01:00
Carlos Mocholí 6afd36c6fd Add a `trainer.ckpt_path` setter for stateful loading (#16187) 2023-01-19 18:39:36 +01:00
Adrian Wälchli 9f0116f002 Remove the deprecated `auto_select_gpus` Trainer argument (#16184)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Adrian Wälchli d3b04816ff Remove the deprecated `resume_from_checkpoint` Trainer argument (#16167)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Adrian Wälchli 44e8f6a980 Remove the deprecated Trainer device arguments (#16171)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Carlos Mocholí ce99602d50 Remove horovod (#16150) 2023-01-19 18:39:36 +01:00
Carlos Mocholí b7fe2851ff Add `amp_scaling_state` (apex) migration (#16161)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Fixes https://github.com/Lightning-AI/lightning/pull/16149#discussion_r1054271661
2023-01-19 18:39:36 +01:00
Carlos Mocholí f17cacb04b Remove nivida/apex (#16149) 2023-01-19 18:39:36 +01:00
Adrian Wälchli 5fafe10a25 Lite: Remove legacy code (#15953)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
ilia sergeev 0d52f45773
Option to skip cuda rng in `isolate_rng` utility function (#16423)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2023-01-19 00:09:24 +00:00
Adrian Wälchli 7d36db8e43
Disable strict loading in multiprocessing launcher (#16365)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2023-01-18 22:53:49 +00:00
ruro 01668bfef2
Fix `save_hyperparameters` for multiple inheritance and mixins (#16369)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-01-18 22:20:48 +00:00
Carlos Mocholí 0f4f809a7c
Deprecate the FairScale integration (#16353) 2023-01-17 02:29:06 +01:00
Adrien B 898a236681
Fix "finished" status code in MLFlowLogger (#16340)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2023-01-12 15:04:14 +00:00
Justus Schock 388f2f4daf
Support logging for MetricCollection with compute groups (#15580) 2023-01-12 14:53:52 +00:00
Carlos Mocholí 7c5f868557
Do not warn about the scheduler's interval key during manual optim (#16308) 2023-01-12 14:30:31 +01:00
Nikhil Shenoy 12a4e71763
Error handling for `accelerator="mps"` and `ddp` strategy pairing (#16153)
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Nikhil Shenoy <nikhilshenoy@dhcp-128-189-225-81.ubcsecure.wireless.ubc.ca>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Fixes https://github.com/Lightning-AI/lightning/issues/16148
2023-01-12 13:10:11 +00:00
Carlos Mocholí 428844d01d
Fabric: drop FairScale's sharded implementation (#16329)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2023-01-11 17:08:18 +00:00
Lightning Forever 91aaa5313a
Lite: Support `self.log` from a LightningModule (#16311)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-10 16:11:47 +00:00