Commit Graph

201 Commits

Author SHA1 Message Date
otaj e2ea9f045f
Add support for reloading the last checkpoint saved by passing `ckpt_path="last"` ()
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-05 08:32:58 +00:00
Rohit Gupta cd01856ffc
Add `LightningDataModule.load_from_checkpoint` to load datamodules directly from checkpoint ()
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: otaj <ota@grid.ai>
2022-05-03 12:27:06 +00:00
Carlos Mocholí 2a60161d49
Clarify `fast_dev_run` docs ()
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-25 16:41:23 +00:00
stanbiryukov 8034919c44
Remove deprecated `TestTubeLogger` ()
* 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
Adrian Wälchli 63ad92efda
Fix formatting issue in Trainer docs () 2022-04-22 11:45:20 +01:00
William Falcon 9d2773ff50
docs refactor 4/n (fix broken links) ()
* docs refactor 4/n (fix broken links)

* docs refactor 4/n (fix broken links)

* docs refactor 4/n (fix broken links)
2022-04-21 08:03:21 -04:00
Rohit Gupta dc7a7faa65
general docs improvements () 2022-04-20 14:19:45 +00:00
William Falcon 908e05880d
docs refactor 3/n ()
* 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) ()

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
Connor Anderson 1f7b7b12ba
Add docs for Trainer.state ()
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-11 15:17:09 +05:30
Danielle Pintz cda5dc61ad
Deprecate `num_processes`,`gpus`, `tpu_cores`, and `ipus` from the Trainer constructor () 2022-04-10 17:10:05 +00:00
Tomasz Konopka fcea7208d1
remove deprecated `model_size` from LightningModule () 2022-04-09 12:26:13 +02:00
MohammedAlkhrashi f3e7e91f64
Rename loggers/base.py to loggers/logger.py and changed LightningLoggerBase to Logger ()
* 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
Mauricio Villegas 868c94c137
Clarification on omegaconf's interpolation support in LightningCLI ()
* Clarification on omegaconf's interpolation support in LightningCLI.

* Update docs/source/common/lightning_cli.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-07 12:07:03 +00:00
Yi Heng Lim 56a34851dd
Remove deprecated `prepare_data_per_node` in `Trainer` ()
* remove deprecated prepare_data_per_node from Trainer
* remove deprecated test for prepare_data_per_node
* remove doc for deprecated prepare_data_per_node
* remove inconsistency test
* remove deprecated prepare_data_per_node
* remove doc mentioning Trainer(prepare_data_per_node)
* update changelog
* remove unused code

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>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-04-03 01:32:46 +02:00
Rohit Gupta 3e808b8a70
Enable validation during overfitting ()
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-03-31 18:04:58 +00:00
Danielle Pintz 1acb0dcbf4
Remove deprecated `progress_bar_refresh_rate` from Trainer constructor ()
* Remove progress_bar_refresh_rate from Trainer constructor
* changelog
2022-03-30 15:47:55 +00:00
Kaushik B a775804b40
Update Plugins doc ()
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-03-29 12:09:41 +00:00
Rohit Gupta 71e25f39d9
Update CI in README.md () 2022-03-29 10:39:52 +00:00
Manan Goel c6cb6341e7
Add usage of Jupyter magic command for loggers ()
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-03-29 04:15:11 +00:00
Kaushik B 486f07be7b
Add notes to Trainer docs when devices flag is not defined ()
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-03-28 21:10:20 +00:00
Rohit Gupta fdcc09cf95
Update old device flags () 2022-03-28 16:44:59 +02:00
William Falcon 53d1c03394
Docs clean up 1/n () 2022-03-28 12:35:59 +00:00
jjenniferdai ec7fa1e2d8
[docs] Update `checkpointing.rst` and `callbacks.rst` for Stateful support () 2022-03-24 17:20:21 -07:00
Kaushik B f740085678
Add Progress Bar to docs ()
Co-authored-by: Ethan Harris <ewah1g13@soton.ac.uk>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-03-24 06:27:10 +00:00
Kaushik B 7b0d1183db
Update `gpus` flag with `accelerator` and `devices` flag ()
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-03-23 19:52:12 +00:00
Danielle Pintz 2360049744
Deprecate `LightningModule.use_amp` () 2022-03-18 03:49:18 +01:00
Carlos Mocholí bc812077c4
Fix CLI snippet in the docs () 2022-03-16 14:58:28 +05:30
Carlos Mocholí 8fa156948a
Add `LightningCLI(auto_registry)` () 2022-03-08 12:26:10 -05:00
Carlos Mocholí aea96e45a4
Integrate global step with progress tracking () 2022-03-07 19:21:37 +00:00
ananthsub 9c3d6b8fc7
Deprecate `LightningModule.on_pretrain_routine_{start/end}` () 2022-03-04 22:17:08 -08:00
Rohit Gupta 15181fce6c
Rename some doc files () 2022-03-03 10:19:05 +00:00
Danielle Pintz 0fe3379fa4
Deprecate `weights_save_path` from the Trainer constructor ()
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-02-28 22:45:26 +00:00
John Kilpatrick ed7ccca5df
Add missing import statements in lightning_module.rst () 2022-02-28 17:28:29 +00:00
Rohit Gupta 17bb815d01
Add `estimated_stepping_batches` property to `Trainer` () 2022-02-28 12:40:48 +00:00
AJSVB 4daa7ce325
Update `validation_epoch_end` docs ()
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-02-28 11:48:30 +00:00
Kushashwa Ravi Shrimali 00211c1de3
Default `benchmark` based on `deterministic` flag ()
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-02-24 19:06:03 +00:00
Carlos Mocholí ab2e326e01
Clarify `val_check_interval` description ()
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-02-21 21:20:34 +00:00
edward-io 87bd54aedf
fix typos () 2022-02-16 17:27:51 -08:00
amin-nejad a143a5280e Update trainer.rst 2022-02-16 09:03:48 -05:00
Danielle Pintz 0e68734ddd
Make default logger name "lightning_logs" ()
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-02-10 15:19:18 +05:30
Akash Kwatra a2d8c4f6a6
Create loggers property for Trainer and LightningModule ()
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Danielle Pintz <38207072+daniellepintz@users.noreply.github.com>
2022-02-09 23:39:41 +01:00
Rohit Gupta e3820da28a
Update inference doc () 2022-02-09 12:39:31 +00:00
Rohit Gupta 581bf7f2f2
Deprecate `on_epoch_start/on_epoch_end` hook () 2022-02-07 14:15:27 +00:00
ananthsub a64438c897
Centralize rank_zero_only utilities into their own module ()
* Centralize rank_zero_only utilities into their own module

Fixes 

* PossibleUserWarning

* Update test_warnings.py

* update imports

* more imports

* Update CHANGELOG.md

* Update mlflow.py

* Update cli.py

* Update api_references.rst

* Update meta.py

* add deprecation tests

* debug standalone

* fix standalone tests

* Update CHANGELOG.md
2022-02-07 08:09:55 +00:00
Rohit Gupta 478c6085df
Update debugging doc ()
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-02-03 19:02:01 +00:00
Rohit Gupta 400201712f
added warning for distributedsampler in case of evaluation () 2022-02-03 18:42:13 +00:00
Carlos Mocholí 3d3172d3da
[CLI] Support shorthand for loggers () 2022-02-03 02:58:14 +00:00
Manan Goel 1a25363617
Fixed wandb logger documentation () 2022-01-20 13:54:44 +00:00
Rohit Gupta 965cf4e1b1
Update speed docs ()
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2022-01-16 19:27:36 +00:00
Rohit Gupta 9771e7dff6
Update introduction docs () 2022-01-13 21:11:43 +00:00