maciek-pioro
f29d0ab6f8
Fix typo in predict_step docs ( #12911 )
2022-04-28 12:26:57 +00:00
Carlos Mocholí
10c7a7c84f
Fix `trainer.logger` deprecation message ( #12671 )
2022-04-27 16:11:34 +02:00
Ray Schireman
f931e27373
Remove the deprecated get_progress_bar_dict ( #12839 )
...
Co-authored-by: Raymond G Schireman <raymond.schireman@uvm.edu>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-22 22:22:26 +00:00
Ray Schireman
9b2b1bb494
Remove deprecated `LightningDataModule.val_transforms` ( #12763 )
...
* remove val_transform from datamodule.py
* remove val_transforms from tests
* update docs
* update changelog
* remove unused imports
Co-authored-by: Raymond G Schireman <raymond.schireman@uvm.edu>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-22 01:24:42 +00:00
Ray Schireman
54a2b5ceeb
Remove the deprecated `LightningDataModule.test_transforms` ( #12773 )
...
Co-authored-by: Raymond G Schireman <raymond.schireman@uvm.edu>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-21 16:40:15 +00: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
Minh Chien Vu
af03f0a434
Remove the deprecated LightningDataModule.size, LightningDataModule.dims ( #12780 )
2022-04-18 21:49:05 +02:00
Danielle Pintz
0b22e51462
Remove deprecated `dataloader_idx` argument from `on_train_batch_start/end` callback hooks ( #12769 )
...
* remove dataloader_idx
* fix tests
* Update CHANGELOG.md
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-18 18:49:59 +02:00
puhuk
663216fe3e
Remove pytorch_lightning.core.memory.get_gpu_memory_map ( #12644 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-12 15:55:56 +00:00
puhuk
a86ef06b3b
Remove deprecated get_memory_profile ( #12659 )
2022-04-11 18:00:33 +00:00
Aniket Maurya
36842828b5
Remove deprecated LayerSummary and ModelSummary ( #12593 )
...
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-04-10 08:13:10 +00:00
Tomasz Konopka
fcea7208d1
remove deprecated `model_size` from LightningModule ( #12641 )
2022-04-09 12:26:13 +02: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
Max Mametkulov
5fea717027
Remove train_transforms in LightningDataModule ( #12662 )
...
Co-authored-by: manjirou <maxim.mametkulov@halbestunde.com>
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com>
2022-04-08 18:20:44 +02:00
Aniket Maurya
2ee187ea13
Remove the deprecated `LightningModule.summarize` ( #12559 )
2022-04-03 01:44:11 +02:00
Yi Heng Lim
56a34851dd
Remove deprecated `prepare_data_per_node` in `Trainer` ( #12536 )
...
* 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
John Henning
42169a23a0
Add typing to `LightningModule.trainer` ( #12345 )
...
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.comk-Pro.local>
2022-03-29 04:14:14 +00:00
Carlos Mocholí
939d56c6d6
Drop PyTorch 1.7 support ( #12432 )
2022-03-27 21:31:20 +00:00
Kaushik B
28dac0c8d9
Update tpu_cores flag with accelerator and devices flag ( #12158 )
2022-03-25 11:57:02 +00:00
Kaushik B
7b0d1183db
Update `gpus` flag with `accelerator` and `devices` flag ( #12156 )
...
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-03-23 19:52:12 +00:00
Adrian Wälchli
94fe322533
Do not mark LightningModule methods as abstract ( #12381 )
...
* do not mark LightningModule methods as abstract
* add concrete test
2022-03-23 08:55:12 +00:00
Danielle Pintz
2360049744
Deprecate `LightningModule.use_amp` ( #12315 )
2022-03-18 03:49:18 +01:00
Carlos Mocholí
49a4a36ad4
Have the outputs match the loops format ( #12182 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-03-08 18:10:18 +00:00
ananthsub
9c3d6b8fc7
Deprecate `LightningModule.on_pretrain_routine_{start/end}` ( #12122 )
2022-03-04 22:17:08 -08:00
Danielle Pintz
0b682b807a
Mark `logger_connector` as protected ( #12195 )
2022-03-05 02:33:42 +00:00
Rohit Gupta
15181fce6c
Rename some doc files ( #12163 )
2022-03-03 10:19:05 +00:00
Cai Q.T
01c31ae434
Fix `LightningModule.{un,}toggle_model` when only 1 optimizer is used ( #12088 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-02-28 12:41:51 +00:00
Akash Kwatra
7e2f9fbad5
Refactor codebase to use `trainer.loggers` over `trainer.logger` when needed ( #11920 )
2022-02-25 16:01:04 -08:00
Rohit Gupta
5d2d9b09df
Avoid patching common `DataHooks` to the `LightningModule` ( #10603 )
2022-02-25 09:26:59 +01:00
Krishna Kalyan
29d5afbda6
Deprecate callback hooks `on_pretrain_routine_{start,end}` ( #11794 )
...
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-02-24 19:32:48 +00:00
Carlos Mocholí
4c4b9d540f
Remove `Trainer._device_type` ( #11992 )
2022-02-22 13:02:13 +00:00
Carlos Mocholí
08384c45ea
Support manual optimization step profiling without a trainer reference ( #11883 )
2022-02-21 13:43:12 +00:00
Carlos Mocholí
0771a553de
Remove `Trainer._strategy_type` ( #11990 )
2022-02-21 13:39:30 +00:00
Rohit Gupta
25b505508d
Add process launchers ( #11643 )
...
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>
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-02-17 21:16:51 +00:00
edward-io
87bd54aedf
fix typos ( #11937 )
2022-02-16 17:27:51 -08:00
Carlos Mocholí
4cc05b2cf9
Support optimizer step progress tracking with manual optimization ( #11848 )
2022-02-16 21:27:27 +00:00
Akash Kwatra
a2d8c4f6a6
Create loggers property for Trainer and LightningModule ( #11683 )
...
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
Carlos Mocholí
8822117200
Return the output of the optimizer step ( #11711 )
...
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-02-09 09:37:13 +00:00
jjenniferdai
1203094a20
Introduce `Stateful` DataModule ( #11637 )
2022-02-07 21:13:24 +01:00
Rohit Gupta
581bf7f2f2
Deprecate `on_epoch_start/on_epoch_end` hook ( #11578 )
2022-02-07 14:15:27 +00:00
ananthsub
a64438c897
Centralize rank_zero_only utilities into their own module ( #11747 )
...
* Centralize rank_zero_only utilities into their own module
Fixes #11746
* 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
4d72110b51
Deprecate `on_batch_start/on_batch_end` callback hooks ( #11577 )
2022-02-03 19:51:56 +00:00
Sebastian Raschka
0e17f16438
Clarify what the default values for log are based on hooks ( #11611 )
2022-02-03 03:55:42 +00:00
Bhadresh Savani
0ea48416cd
Removed subsection in `LightningDataModule` ( #11675 )
2022-02-03 02:53:43 +00:00
jjenniferdai
ec1379da2c
Rename `_SupportsStateDict` --> `_Stateful` Protocol ( #11469 )
2022-02-02 23:45:59 +01:00
Aki Nitta
fbc1f9f1d9
Rename `Strategy.lr_schedulers` to `Strategy.lr_scheduler_configs` ( #11549 )
2022-02-02 22:10:01 +00:00
Carlos Mocholí
a44881cd90
Changes in preparation to #8578 ( #11562 )
2022-02-02 19:57:08 +00:00
Carlos Mocholí
62818dbace
Use a dataclass as the scheduler config ( #11443 )
2022-01-18 20:23:32 +01:00
Carlos Mocholí
344ab1e0a5
Move the `lightning_optimizers` ownership to the `Strategy` ( #11444 )
2022-01-18 12:58:56 +01:00
Gautam R Gare
ef4677ae7b
Change the default `prog_bar=False` to `True` in `LightningModule.log_grad_norm` ( #11472 )
...
* Reset on_step flag to True in log_grad_norm
* updated change log
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2022-01-18 02:34:50 +09:00