Igor Gadelha
db5e9ce2cc
Fix typo ddp_spawn_sharded -> ddp_sharded_spawn ( #13062 )
2022-05-13 13:32:18 +02:00
Jirka Borovec
fec9a09672
add freeze for development and full range for install ( #12994 )
...
* freeze versions
* unfreeze
* dependabot
* Apply suggestions from code review
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
* fix all req
* ...
* use base
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix refs
* Apply suggestions from code review
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
* Apply suggestions from code review
* dockers
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-05-12 09:14:18 -04:00
wangherr
01df4543f6
Fix docs' TensorBoardLogger instantiation ( #13038 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-11 23:02:57 -04:00
Geo Jolly
5ab9d53fc1
Remove the deprecated `on_{train,val,test,predict}_dataloader` hooks ( #13033 )
...
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-11 23:02:39 -04:00
Andrei Alexandru
80b332cddc
Fix typo: "optimizeres" -> "optimizers" ( #13030 )
2022-05-11 10:42:59 -04:00
Sean Naren
1ca7330e17
Docs for Collaborative Training ( #12996 )
...
* Add documentation for collaborative_training
* Add strategies
* Fix formatting
* use accelerator API
* Apply suggestions from code review
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
* Fix link
* Try to fix label
* Apply suggestions from code review
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
* Fix sequence
* Apply suggestions from code review
Co-authored-by: RobertLaurella <99420295+RobertLaurella@users.noreply.github.com>
* Address reviews
* Address code reviews
* Update docs/source/strategies/collaborative_training_expert.rst
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
* Update docs/source/strategies/collaborative_training_intermediate.rst
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: RobertLaurella <99420295+RobertLaurella@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-05-11 09:31:33 -04:00
Nikhil Shenoy
b7959e3f51
Remove deprecated `checkpoint_callback` flag in Trainer ( #13027 )
...
* Removed lines pertinent to checkpoint_callback
* removed checkpoint callback flag
* Updated Change Log
* Removed deprecation test for checkpoint_callback argument
* updated line in the simple_classif_training.py
* Updated docs
* updated simple_classif_training.py removing enable_checkpointing
2022-05-11 08:01:00 -04:00
Eric Wiener
3f78c4ca7a
Track CPU stats with DeviceStatsMonitor ( #11795 )
...
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Jirka Borovec <Borda@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: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-10 10:57:38 +00:00
Jerome Anand
fb40cbce2e
HPU & TPU doesn't support torch.inference_mode ( #13014 )
...
* HPU doesn't support torch.inference_mode
Signed-off-by: Jerome <janand@habana.ai>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update doc and changelog
Signed-off-by: Jerome <janand@habana.ai>
* Update pytorch_lightning/trainer/trainer.py
* Revert back to HPU available
* Address reviews
Signed-off-by: Jerome <janand@habana.ai>
* Update pytorch_lightning/trainer/trainer.py
* Update pytorch_lightning/trainer/trainer.py
* Add TPU accelerator condition
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
2022-05-09 10:27:09 -04:00
otaj
e2ea9f045f
Add support for reloading the last checkpoint saved by passing `ckpt_path="last"` ( #12816 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-05 08:32:58 +00:00
Kaushik B
5bb265e18b
Update Strategy doc ( #12950 )
...
* Update Strategy doc
* Update strategy references
2022-05-04 12:05:18 -04:00
Adrian Wälchli
5641836b96
Callback collection through entry points ( #12739 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-05-03 16:54:41 +00:00
Rohit Gupta
cd01856ffc
Add `LightningDataModule.load_from_checkpoint` to load datamodules directly from checkpoint ( #12550 )
...
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í
917918ade3
Remove duplicate boring classes ( #12951 )
2022-05-02 17:42:12 +02:00
Na Young Jun
0e4c4424fd
fix enumerate usage ( #12949 )
2022-05-02 15:29:56 +02:00
Na Young Jun
0f418a8640
Add missing `super().__init__()` calls ( #12948 )
2022-05-02 15:20:02 +02:00
Kaushik B
0fe2ae74e9
Remove reference to genindex and search in index.rst ( #12919 )
2022-04-28 10:48:31 -04:00
Kaushik B
7271095b7b
Merge pull request #12920 from PyTorchLightning/rename/lightning_extension
...
Update docs conf with renamed lightning extension
2022-04-28 10:48:09 -04:00
Fork my Git
0b87bfc65c
Update the link to jsonargparse's link_arguments ( #12898 )
2022-04-28 04:27:27 +09:00
Kaushik B
a95bbe6953
Update TPU Accelerator docs ( #12850 )
...
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-27 22:38:26 +05:30
William Falcon
c781a9ea59
clean up side menu ( #12892 )
...
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
2022-04-27 22:38:13 +05:30
Kaushik B
f541481da6
Fix reference to basic level doc ( #12848 )
2022-04-26 11:59:29 -04:00
Carlos Mocholí
2a60161d49
Clarify `fast_dev_run` docs ( #12751 )
...
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-25 16:41:23 +00:00
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
Adrian Wälchli
63ad92efda
Fix formatting issue in Trainer docs ( #12777 )
2022-04-22 11:45:20 +01:00
William Falcon
9d2773ff50
docs refactor 4/n (fix broken links) ( #12825 )
...
* 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 ( #12747 )
2022-04-20 14:19:45 +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
Jirka Borovec
bca78bc25b
Merge pull request #12766 from PyTorchLightning/docs/slack
...
update slack link
2022-04-18 11:13:22 -04:00
Ankita Sharma
313eee00ee
Remove deprecated `XLAStatsMonitor` ( #12688 )
...
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-04-12 15:35:43 +00:00
Connor Anderson
1f7b7b12ba
Add docs for Trainer.state ( #12663 )
...
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 ( #11040 )
2022-04-10 17:10:05 +00:00
Ray Schireman
3f0f277d5b
Remove deprecated `GPUStatsMonitor` callback ( #12554 )
...
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
Co-authored-by: Raymond G Schireman <raymond.schireman@uvm.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2022-04-10 14:35:51 +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
Mauricio Villegas
868c94c137
Clarification on omegaconf's interpolation support in LightningCLI ( #12571 )
...
* 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
Rohit Gupta
ccb507a8c5
Mark `swa_lrs` argument in `StochasticWeightAveraging` callback as required ( #12556 )
2022-04-06 20:12:04 +05:30
Adrian Wälchli
de085f30f0
Update docs for Strategy, Accelerator, Plugins ( #12582 )
...
* wip plugins and strategies
* updates
* updates
* update
* update
* reset
* remove transition
* update references
* update references to plugins
* update registry usage
* mention default setting for plugins
2022-04-05 14:39:35 -04:00
Rohit Gupta
f0e8858dbb
add about log_dict info in docs ( #12552 )
2022-04-04 19:27:43 +00:00
Aniket Maurya
7d1075d211
Link full code example for LightningLite ( #12568 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-04-04 07:29:14 +00: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
Rohit Gupta
3e808b8a70
Enable validation during overfitting ( #12527 )
...
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 ( #12514 )
...
* Remove progress_bar_refresh_rate from Trainer constructor
* changelog
2022-03-30 15:47:55 +00:00
Aki Nitta
3bcaed5245
Update index.rst ( #12519 )
2022-03-30 07:08:04 -04:00
William Falcon
6109b0b49c
general doc updates 2/n ( #12517 )
...
* updated titles + css
2022-03-30 08:12:55 +02:00
Danielle Pintz
5eec56d82f
Add Danielle Pintz and Siyu Wang as core maintainers ( #12515 )
2022-03-29 21:57:32 +00:00
RobertLaurella
e3893b9eca
Merge pull request #12509 from RobertLaurella/patch-1
...
Update index.rst
2022-03-29 10:46:09 -04:00
Kaushik B
17215ed91b
Fix titles capitalization in docs
2022-03-29 09:09:53 -04:00
Kaushik B
a775804b40
Update Plugins doc ( #12440 )
...
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-03-29 12:09:41 +00:00
Rohit Gupta
71e25f39d9
Update CI in README.md ( #12495 )
2022-03-29 10:39:52 +00:00