Commit Graph

221 Commits

Author SHA1 Message Date
thomas chaton 7ec15ae43a
[App] Rename to new convention (#15621)
* update

* update
2022-11-10 16:19:18 +01:00
thomas chaton f9a65731cd
[App] Expose Run Work Executor (#15561) 2022-11-08 12:55:31 +00:00
thomas chaton ecc8ac07c6
[App] Introduce Multi Node Component (#15524) 2022-11-04 17:41:59 +00:00
Ethan Harris b340859df9
[App] Add `ServeStreamlit` work (#15400)
* Init

* Updates

* Add test for model building

* Imports

* Fix

* Typing

* Ignore serve streamlit in mypy
2022-10-28 16:33:53 -04:00
Ethan Harris e9a6b83437
[App] Reduce import depths and add test (#15330)
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-10-28 13:57:35 +00:00
thomas chaton df4b705768
Add JustPy Frontend (#15002)
* update

* update

* update

* update

* changelog

* update

* update

* update

* update

* update

* update

* update

* update

* uipdate

* update

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-27 11:48:26 -04:00
thomas chaton 979d728563
Add Database Component (#14995) 2022-10-19 19:52:12 +00:00
otaj 639bf77916
Bump Python version for mypy check (#15126) 2022-10-13 16:46:40 +02:00
DP c764221615
fixes typing errors in rich_progress.py (#14963) 2022-10-03 14:11:18 +00:00
Lee Jungwon a9142d637a
Fix mypy typing errors in pytorch_lightning/trainer/trainer.py (#14204)
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-30 10:50:42 +00:00
Carlos Mocholí 4c53eae0f4
Self-review of the recent Trainer changes (#14916) 2022-09-29 13:59:16 +00:00
Masahiro Wada d377d0efde
Fix type hints of tuner/batch_size_scaling.py (#13518)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-09-29 12:00:42 +00: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
Raphael Randschau a7f2d119c5
[mypy] start introducing mypy on lightning_app (#14267)
* fix mypy lightning_cli errors
2022-09-20 10:23:48 -07:00
Ritik Nandwal 8e9780bd5b
fix mypy typing errors in pytorch_lightning.utilities.data.py (#13901)
Co-authored-by: otaj <ota@lightning.ai>
2022-09-14 11:21:57 +00:00
Krishna Kalyan f68c0909fd
Fix mypy errors attributed to `pytorch_lightning.profilers.pytorch` (#14405)
* remove toml ref
* fix conflicts
* small fix
* move assertion

Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-09-13 16:11:45 +00:00
otaj 616304831a
Remove deprecated `BaseProfiler` and `AbstractProfiler` (#14404)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-09-13 14:52:09 +00:00
donlapark f49c2e3ab6
fixes mypy errors in trainer/supporters.py (#14633)
* fixes mypy errors in trainer/supporters.py
* Fxes mypy error when accessing "__init__" directly
* add an assertion in lr_finder.py
* Make init calls `reset` in `TensorRunningAccum`
* Fixes formatting
* Add `self.window_length` to `__init__`

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-12 19:13:58 +02:00
Adrian Wälchli d2459df2ff
Standalone Lite: Remaining Utilities (#14492)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Felonious-Spellfire <felonious.spellfire@gmail.com>
2022-09-07 15:25:23 +00:00
donlapark 381600dcc3
fixes typing errors in auto_restart.py (#13904)
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-05 23:39:20 +05:30
Adrian Wälchli 291dc1b615
Standalone Lite CI setup (#14451)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-01 22:13:12 +00:00
otaj 1e04951206
Remove deprecated `TrainerCallbackHookMixin` (#14401)
* remove deprecated callback hook

* changelog
2022-08-28 10:56:37 +00:00
JongMok Lee 03f2f32445
Fix mypy errors in `pytorch_lightning/strategies/sharded.py` (#14184)
Co-authored-by: otaj <ota@lightning.ai>
2022-08-27 22:07:36 +00:00
Justin Goheen ed84d04bcf
Fix mypy errors attributed to `pytorch_lightning.core.datamodule` (#13693)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-08-26 16:26:26 +00:00
Justin Goheen 94e567e6f0
Fix mypy errors attributed to `pytorch_lightning.trainer.connectors.data_connector.py` (#13806)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-08-26 13:28:27 +00:00
otaj c418828d41
Remove appropriate line from `pyproject.toml` as a followup to #13929 (#14397)
followup to #13929
2022-08-26 08:40:41 +00:00
Krishna Kalyan 6a999f123c
Fix mypy errors attributed to `pytorch_lightning.demos.boring_classes` (#14201)
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-08-26 07:27:33 +00:00
Krishna Kalyan 0ca3b5aa1b
Fix mypy errors attributed to `pytorch_lightning.callbacks.quantization` (#13782)
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-08-20 01:39:16 +02:00
Justin Goheen 090bbc8605
Fix mypy errors attributed to `pytorch_lightning.core.module.py` (#13603)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-08-19 07:03:43 -04:00
Krishna Kalyan e53c4e8e6c
Fix mypy errors attributed to `pytorch_lightning. strategies.sharded_spawn` (#14102)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-08-11 21:10:05 +00:00
Krishna Kalyan 527b28ed97
Fix mypy errors attributed to `pytorch_lightning.profilers.simple` (#14103) 2022-08-10 17:26:44 +02:00
Justin Goheen 82d2d1d857
Fix mypy errors attributed to `pytorch_lightning.core.saving` (#13932)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-08-08 20:21:26 +00:00
JongMok Lee 890156a016
Fix mypy errors in `pytorch_lightning/strategies/ddp.py` (#13885)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-08-08 13:16:56 +00:00
Krishna Kalyan 5271ed93e6
Fix mypy errors attributed to `pytorch_lightning.trainer.connectors.callback_connector.py` (#13750)
* Apply suggestions from code review

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: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-08-08 09:03:52 +00:00
Carlos Mocholí 76836a33cd
Run mypy with PyTorch 1.12 (#14044) 2022-08-08 10:06:41 +02:00
Carlos Mocholí 91dd6a68fb
Remove meta device utilities in favor of torchdistx (#13868) 2022-08-05 12:20:27 +00:00
Lee Jungwon 7fe5d4b2dd
Fix mypy typing errors in strategies/fully_sharded.py (#13941)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-08-03 19:44:57 -04:00
Justin Goheen 7240bdbc23
Fix mypy errors attributed to `pytorch_lightning.loggers.neptune` (#13692)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-08-03 19:58:21 +00:00
Ian e2937495e5
Fix typing annotations for the ipu strategy (#13786)
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-08-03 19:57:50 +00:00
Lee Jungwon d8e5e7f889
Fix mypy typing errors in pytorch_lightning/strategies/tpu_spawn.py (#13813)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-08-02 18:20:47 +09:00
donlapark 233b36b185
Fix mypy errors in strategies/ddp_spawn.py (#13865)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-07-28 18:49:24 +00:00
donlapark 25de48802f
Fixes various typing errors in `pytorch_lightning/strategies/deepspeed.py` (#13832)
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-27 11:19:29 +00:00
Adrian Wälchli acd8aa20d4
Skip code formatters on _notebooks submodule (#13867) 2022-07-27 05:02:58 -04:00
Cyprien Ricque 6a9d626e18
fix mypy typing errors in pytorch_lightning/strategies/strategy.py (#13519)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-07-26 08:42:58 -04:00
donlapark e77accfdb1
fixes typing in pytorch_lightning/callbacks/stochastic_weight_avg.py (#13685)
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-07-26 16:16:17 +05:30
Krishna Kalyan 85b0356ea2
Fix mypy errors attributed to `pytorch_lightning.core.mixins.device_dtype_mixin` (#13704)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-07-26 09:38:06 +02:00
Justin Goheen 4e9fbdbe40
Fix mypy errors attributed to `pytorch_lightning.loggers.comet` (#13689)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-07-25 10:28:19 +00:00
ChoMinSung 0b842b9ac1
Fix mypy errors attributed to `pytorch_lightning/profilers/advanced.py` (#13792)
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-07-22 13:33:27 +00:00
Gautier Dagan 0e5312833f
fix mypy errors for loggers/wandb.py (#13483)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-07-21 01:07:24 +00:00
Justin Goheen e3b29cbfe1
Fix mypy errors attributed to `pytorch_lightning.loggers.mlflow` (#13691)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-07-21 00:03:36 +00:00
Justin Goheen 347462672a
Fix mypy errors attributed to `pytorch_lightning.loggers.tensorboard.py` (#13688)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-21 00:01:10 +00:00
Lee Jungwon b40766c333
Fix mypy typing errors in pytorch_lightning/callbacks/model_checkpoint.py (#13617)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-20 17:07:38 +00:00
Krishna Kalyan 2845e7565d
Fix mypy errors attributed to `pytorch_lightning.utilities.distributed` (#13678)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-16 14:08:03 -04:00
himkt e4c7c5f4bc
Fix mypy errors attributed to pytorch_lightning/loops/epoch/training_epoch_loop.py (#13555)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-15 12:03:08 +00:00
donlapark 8f56f8e0cd
Change the return type of `tune()` in `trainer.py` to TypedDict (#13631)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-14 10:08:10 -04:00
Cyprien Ricque 35841613c7
fix mypy typing errors in pytorch_lightning/strategies/parallel.py (#13556)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-07-14 10:20:34 +00:00
Cyprien Ricque e179a58397
fix mypy typing errors in pytorch_lightning/strategies/horovod.py (#13570) 2022-07-14 11:30:37 +02:00
Akihiro Nitta c1cc112b52
Remove deprecated `LightningDistributed` (#13549)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-13 21:15:28 +00:00
Cyprien Ricque 732a54155c
fix mypy typing errors in pytorch_lightning/strategies/dp.py (#13564)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
2022-07-13 14:00:12 +00:00
Justin Goheen 57f5e18587
Fix mypy errors attributed to `pytorch_lightning.loggers.base.py` (#13494)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-12 13:45:21 +02:00
Justin Goheen 0a6dc5239a
Fix mypy errors attributed to `pytorch_lightning.loggers.csv_logs.py` (#13538)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-07-12 11:11:31 +00:00
Akihiro Nitta 6798549e4c
CI: Update mypy workflow (#13574)
* Fix pyproject.toml

* Add TODO

* Update mypy workflow
2022-07-11 17:46:52 -04:00
Justin Goheen 933848dc05
Fix mypy errors attributed to `pytorch_lightning.loggers.logger.py` (#13541)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-07-11 20:41:49 +09:00
donlapark b59f802248
fix mypy typing errors in pytorch_lightning/tuner/lr_finder.py (#13513)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-07-08 15:28:47 +00:00
Cyprien Ricque 61473c2290
fix mypy typing errors in pytorch_lightning/strategies/single_tpu.py (#13534)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-07-05 07:27:27 +00:00
Masahiro Wada 03cbca430d
Fix type hints of callbacks/finetuning.py (#13516) 2022-07-04 18:04:35 +01:00
Cyprien Ricque 12b0ec6fa5
fix mypy typing errors in pytorch_lightning/strategies/ddp2.py (#13535)
* fix typing in strategies/ddp2.py
* Use quotes instead of __future__.annotations for forward references

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-07-04 18:30:44 +02:00
Cyprien Ricque f116c2f72c
fix mypy typing errors in pytorch_lightning/strategies/single_device.py (#13532)
* fix typing in strategies/single_device.py
* Make assert statement more explicit

Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-07-04 18:28:41 +02:00
Cyprien Ricque f65aa74719
fix mypy typing errors in pytorch_lightning.__setup__.py (#13472)
Fix typing in _load_py_module function
2022-07-01 08:36:33 -04:00
Gautier Dagan c29deec889
fix mypy typing errors in lightning/trainer/optimizers.py (#13470)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-30 23:35:48 +05:30
Jirka Borovec d2e4e7e003
create meta package [RFC] (#13327)
* placeholder

* move setup_tools & abstract about

* adjust lightning-app

* notes

* lightning about

* lightning init

* CI check

* ci

* install

* adjust manifest & mv chlog

* manifest

* pkg

* mv __setup__

* parse_requirements

* lit

* ci - pytorch

* wrap func

* ci

* cd draft

* generate lit

* pkg

* utf-8

* root pkg

* req.

* ver

* mypy

* try check

* meta pkg

* meta pkg - vars

* meta pkg - pruning

* meta pkg - fixing

* fix PL for meta

* multi-line wrapper

* hack manifest

* ci

* fix docstr

* fixing

* ci & mypy

* links
2022-06-27 09:34:18 -04:00
awaelchli 511f1a6515 Reroute profiler to profilers (#12308)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-22 20:55:39 -04:00
Jirka Borovec ab59f308b1
Future 4/n: test & legacy in test/ folder (#13295)
* move: legacy >> test/

* move: tests >> test/

* rename unittests

* update CI

* tests4pl

* tests_pytorch

* proxi

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

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

* ci

* link

* cli

* standalone

* fixing

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

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

* .

* Apply suggestions from code review

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

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

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

* alone

* test -> tests

* Standalone fixes

* ci

* Update

* More fixes

* Fix coverage

* Fix mypy

* mypy

* Empty-Commit

* Fix

* mypy just for pl

* Fix standalone

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-15 18:10:49 -04:00
Jirka Borovec 9cc714cdd1
Future 2/n: stand-alone examples (#13294)
* move: pl_examples >> src/

* convert pl_examples package to plain examples

* update CI for examples

* ci

* missing

* install
2022-06-15 08:53:51 -04:00
rohitgr7 a68fe66705 Update core/lightning.py to core/module.py (#12740) 2022-05-18 08:03:55 +05:30
stanbiryukov 8034919c44
Remove deprecated `TestTubeLogger` (#12859)
* remove deprecated test_tube logger

* remove testube from logger __init__

* remove relevant testtube tests

* update CHANGELOG with removal of deprecated `TestTubeLogger`
2022-04-24 20:05:48 +02:00
William Falcon 908e05880d
docs refactor 3/n (#12795)
* updated titles + css

* updated titles + css

* levels structure

* levels structure

* levels structure

* adding level indexes

* finished intro guide layout

* finished intro guide layout

* general titles

* general titles

* added movie

* added movie

* finished 15 mins

* levels

* added core levels

* added core levels

* fixed api reference on the left

* gpu guides

* gpu guides

* gpu guides

* gpu guides

* precision

* hpu guide

* added ipu

* added ipu

* added ipu

* added ckpt docs

* finished basic logging

* intermediate

* intermediate

* intermediate

* fixed

* fixed margins

* fixed margins

* fixed margins

* fixed margins

* fixed margins

* fixed margins

* fixed margins

* fixed margins

* fixed margins

* added logger stuff

* added logger stuff

* added logger stuff

* added logger stuff

* added logger stuff

* ic

* added inconsolata

* added inconsolata

* added inconsolata

* added inconsolata

* added inconsolata

* added inconsolata

* added inconsolata

* updated menu

* added basic cloud docs

* added basic cloud docs

* added basic cloud docs

* added basic cloud docs

* ic

* ic

* ic

* ic

* ic

* ic

* ic

* ic

* ic

* ic

* ic

* ic

* added demos folder

* added demos folder

* added demos folder

* added demos folder

* added demos folder

* added demos folder

* twocolumns directive

* twocols

* twocols

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* registry

* cleaning up

* cleaning up

* cleaning up

* cleaning up

* cleaning up

* cleaning up

* cleaning up

* cleaning up

* cleaning up

* updated titles + css

* levels structure

* adding level indexes

* finished intro guide layout

* general titles

* added movie

* finished 15 mins

* levels

* added core levels

* fixed api reference on the left

* gpu guides

* precision

* hpu guide

* added ipu

* added ckpt docs

* finished basic logging

* intermediate

* fixed margins

* added logger stuff

* ic

* added inconsolata

* updated menu

* added basic cloud docs

* ic

* added demos folder

* twocolumns directive

* registry

* cleaning up

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

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

* deconflict

* deconflict

* deconflict

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

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

* Add testsetup sections wherever needed; fix errors in building docs

* pre-commit fixes

* Fix duplicate label

* minor nit with pre-commit

* Fix labels

* More changes...

* require

* debug & cli

* prec & model & visu

* fix references

* fix references

* fix refs

* fix refs - model_parallel

* fix references

* prune testsetup with global

* refs in index

* Fix duplicate label errors

* Update orphan docs

* Update orphan docs

* Update orphan docs

* fix links

* Fix genindex and search index

* fix refs

* fix refs

* Fix index rst related issues

* fix refs

* inc to rst

* Fix links ref

* fix more references

* fix refs

* deconflict

* errors

* errors

* errors

* fix refs

* fix refs

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

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

* fix warnings

* Fix LightningCLI errors

* Fix LightningCLI errors

* Fix LightningCLI errors

* Fix LightningCLI errors

* fix doc build

* Duplicate Label fix (docs) (#12800)

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* ignore typing in demo folder

* Ignore demos for mypy

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: otaj <ota@grid.ai>
2022-04-19 14:15:47 -04:00
MohammedAlkhrashi f3e7e91f64
Rename loggers/base.py to loggers/logger.py and changed LightningLoggerBase to Logger (#12014)
* Deprecate: initial LightningLoggerBase to Logger, tests/loggers pass

* Refactor moved LightningLoggerBase to logger.py and removed base.py in loggers

* Recreated base.py for safer backwards compatibility

* Renamed test_base.py to test_logger.py and added test_base.py to test deprecation warning.

* Renamed tests/loggers/test_base.py to tests/loggers/test_logger.py

* Order __all__ list in loggers/__init__ alphabetically

* minor: change deprecation warning of loggers.logger.base

* fixed failing tests and formating

* Update the documentation

* move deprecation test to deprecated_api files

* backward compatibility and deprecations tests for all functionality in loggers/logger.py

* fix PEP8 issues.

* Update CHANGELOG.md

* Skip mypy on renamed file

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
Co-authored-by: carmocca <carlossmocholi@gmail.com>
2022-04-08 19:41:46 +00:00
four4fish 6e14209185
Rewrite accelerator_connector (#11448) 2022-02-17 23:38:39 +00:00
DuYicong515 0816a1997e
Add typing for utilities/memory.py (#11545)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2022-02-03 02:34:05 +00:00
Carlos Mocholí 79a3ff690b
Add typing to data fetching (#11515) 2022-02-02 20:53:50 +01:00
Carlos Mocholí 5914fb748f
Add typing to accelerators/gpu.py (#11333) 2022-01-12 19:44:51 +00:00
Carlos Mocholí 9771040621
Add typing to `TQDMProgressBar` (#11369) 2022-01-12 01:07:30 +00:00
Adrian Wälchli 3a2df4f75d
Fix typing in `pl.callbacks.xla_stats_monitor` (#11219)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2022-01-06 12:51:02 +00:00
Carlos Mocholí 1b6f851880
Add typing to some utility files (#11316) 2022-01-05 17:14:22 +00:00
Carlos Mocholí a610e043d7
Add typing for utilities/enums.py (#11298) 2022-01-04 13:30:56 +01:00
Kaushik B 0adcd6a048
Rename training_type_plugin file to strategy (#11239)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-12-23 14:01:23 +00:00
Kaushik B 576a5d62a0
Introduce strategies directory for Training Strategies (#11226)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-12-22 20:23:30 +00:00
Adrian Wälchli b6dd1a3878
Fix typing in `pl.callbacks.lr_monitor` (#10802)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-12-22 03:50:00 +00:00
Carlos Mocholí fa6d17c96f
Fix typing for utilities.warnings (#11115) 2021-12-17 15:07:27 +01:00
Carlos Mocholí 4415677994
Add typing for `trainer.logger` (#11114) 2021-12-17 13:34:18 +01:00
Adrian Wälchli 46f718d2ba
Fix typing in `pl.plugins.environments` (#10943) 2021-12-07 02:14:02 +00:00
Adrian Wälchli 9a4b51d17f
Fix typing in `pl.trainer.config_validator` (#10803) 2021-12-06 11:19:36 +01:00
Adrian Wälchli c6b52ef3bd
Fix typing in `pl.overrides.distributed` (#10797)
* fix typing

* [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>
2021-11-30 21:22:05 +00:00
Carlos Mocholí 0061619e0a
Improve typing for loops (#10780) 2021-11-30 20:28:55 +00:00
Adrian Wälchli fc86c301e7
Fix typing in `pl.callbacks.timer` (#10798) 2021-11-30 14:54:08 +01:00
Adrian Wälchli 24fc54f07b
Fix typing in `pl.overrides.fairscale` (#10799)
* update typing in fairscale

* [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>
2021-11-29 11:28:28 +00:00
Adrian Wälchli bd3fb2e66e
Fix typing in `pl.core.mixins.hparams_mixin` (#10800)
* fix typing in hparams mixin

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

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

* unused import

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-29 12:03:47 +01:00
Adrian Wälchli 97e52619ea
Fix typing in `pl.overrides.data_parallel` (#10796)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-29 10:58:23 +01:00
Adrian Wälchli 038c151b6e
Improve typing for plugins (#10742)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-11-26 20:14:58 +00:00