otaj
f300b60f47
Horovod tests do not make sense for 1 gpu ( #12710 )
...
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-21 08:49:40 +00:00
Adrian Wälchli
1233554e73
Make standalone tests less verbose ( #12684 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-20 20:57:40 +02:00
Kushashwa Ravi Shrimali
0973cc578e
Fix import error when `distributed` module not available ( #12794 )
...
* add distributed.is_available checks to avoid errors when not available
* Update CHANGELOG
* Update pytorch_lightning/strategies/ddp.py
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
* Update pytorch_lightning/strategies/ddp.py
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-20 17:28:39 +00:00
Kushashwa Ravi Shrimali
0eefdd4d48
Better error mesage and type checking for `gpus` arg and `devices` arg in `Trainer` ( #12530 )
...
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-20 17:19:41 +00:00
Rohit Gupta
dc7a7faa65
general docs improvements ( #12747 )
2022-04-20 14:19:45 +00:00
otaj
4930561556
Add Changelog entry for #12716 ( #12813 )
2022-04-20 18:37:57 +09: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
Rohit Gupta
7816e122d0
update chlog after 1.6.1 release ( #12802 )
2022-04-19 18:26:24 +05:30
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
Jirka Borovec
bca78bc25b
Merge pull request #12766 from PyTorchLightning/docs/slack
...
update slack link
2022-04-18 11:13:22 -04:00
Akihiro Nitta
45f1ffa535
Enable running slow tests on Windows in CI ( #12761 )
2022-04-18 12:04:35 +00:00
twsl
ae3226ced9
Add dataclass support to _extract_batch_size ( #12573 )
...
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-15 14:13:33 +02:00
otaj
b8d4b81221
Inspect correct function in wrap_init ( #12716 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-15 13:58:28 +02:00
Adrian Wälchli
c0e6fd6a3b
Fix version comparison for python version in `pl.utilities.imports` ( #12754 )
2022-04-14 22:33:21 +00:00
Akihiro Nitta
1a6979ddf1
Workaround for actions/checkout in conda CI jobs ( #12758 )
2022-04-14 12:29:29 +02:00
Jirka Borovec
16b9580958
build more dockers & slack fails ( #12675 )
...
* build dockers
* add slack
* Apply suggestions from code review
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-13 17:24:08 +02:00
Kaushik B
77a02234e9
Support auto_select_gpus with accelerator and devices api ( #12608 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-04-12 21:28:54 +00: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
Ankita Sharma
313eee00ee
Remove deprecated `XLAStatsMonitor` ( #12688 )
...
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-04-12 15:35:43 +00:00
Rohit Gupta
6fcb590cfb
Update deepspeed precision test ( #12727 )
2022-04-12 09:27:14 +00:00
Kaushik B
3f76c14283
Minor grammatical updates to the Pull Request Template ( #12719 )
2022-04-12 17:59:53 +09:00
Kaushik B
820b9e1d09
Update Rich github links ( #12718 )
2022-04-12 03:52:42 +02:00
Adrian Wälchli
4a48710506
Remove support for passing strategy name to plugins ( #12700 )
...
* remove more code
* update tests
* remove unsupported test
* remove unsupported test
* remove dead enum values
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add changelog
* fix pep
* add xfail test
* remove comment
* Remove support for passing strategy name to plugins
* remove unused import
* chlog
* improve comment
* update chlog
* fix merge error
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-12 03:51:48 +02:00
Adrian Wälchli
b2fe6bda5b
Remove support for passing strategy strings to accelerator ( #12696 )
...
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com>
2022-04-11 22:52:28 +02:00
Ray Schireman
9d343ba137
Remove the deprecated `pl.callbacks.ProgressBar` ( #12658 )
...
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: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-04-11 18:20:30 +00:00
Kaushik B
91c3d8ecb9
Raise `MisconfigurationException` when the accelerator is available but… ( #12708 )
2022-04-11 23:31:17 +05:30
puhuk
a86ef06b3b
Remove deprecated get_memory_profile ( #12659 )
2022-04-11 18:00:33 +00:00
Jirka Borovec
f9b69ce5b0
CI: check docker requires ( #12677 )
...
* check docker requires
* ci update
* bagua
* conda
* cuda
2022-04-12 00:29:54 +09:00
Jirka Borovec
3686778b89
fix import failer ( #12676 )
2022-04-11 15:10:33 +00:00
Adrian Wälchli
f315e61029
Remove unused AcceleratorConnector argument ( #12686 )
...
* remove unused AcceleratorConnector argument
* update lite
2022-04-11 15:31:23 +01:00
Rohit Gupta
f4883d6ead
Run main progress bar independent of val progress bar in `TQDMProgressBar` ( #12563 )
...
Co-authored-by: carmocca <carlossmocholi@gmail.com>
2022-04-11 13:38:49 +00:00
otaj
cf0e3c6250
Fix flaky test, that is not consistent on some configurations ( #12707 )
2022-04-11 13:38:26 +00:00
Mauricio Villegas
2f2a516de9
Update LightningCLI tests to reflect changes in jsonargparse 4.6.0 ( #12704 )
2022-04-11 14:00:48 +02: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
Adrian Wälchli
241d5e17e1
fix typing in BaguaStrategy ( #12692 )
2022-04-11 09:58:00 +02:00
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
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
Akihiro Nitta
568710f2f2
Fix tests failing on a single GPU ( #11753 )
...
Co-authored-by: akihiro@grid.ai <akihiro@grid.ai>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2022-04-10 04:23:16 +00:00
semaphore-egg
c233731b7c
Fix a typo in warning message inside Trainer.reset_train_dataloader ( #12645 )
...
Co-authored-by: kd <li_jide_ok@126.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-04-09 11:48:32 +00:00
Carlos Mocholí
2e5b3b333d
Allow self-reviewing to rerun gatekeeper ( #12672 )
2022-04-09 10:41:37 +00:00
Tomasz Konopka
fcea7208d1
remove deprecated `model_size` from LightningModule ( #12641 )
2022-04-09 12:26:13 +02:00
Danielle Pintz
7dafc2e9fd
Fix inconsistency when user specifies `weights_save_path` ( #12372 )
...
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-04-09 00:37:30 +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
Rohit Gupta
a44b5dc0cb
Don't raise a warning when `nn.Module`s are not saved under hparams ( #12669 )
2022-04-08 19:40:19 +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
Jirka Borovec
f6d61cb08a
Update ci_pr-gatekeeper.yml ( #12661 )
...
* Update ci_pr-gatekeeper.yml
2022-04-08 18:25:50 +09:00
Rohit Gupta
02dc7751e9
Add `bfloat16` support to `DeepSpeedStrategy` ( #12508 )
...
Co-authored-by: carmocca <carlossmocholi@gmail.com>
2022-04-07 22:18:51 +00:00
puhuk
50294a7eb4
Remove deprecated automatic logging of gpu metrics ( #12657 )
...
Co-authored-by: carmocca <carlossmocholi@gmail.com>
2022-04-07 17:53:42 +00:00