Commit Graph

6813 Commits

Author SHA1 Message Date
Carlos Mocholí 3649f734d9 Update `jsonargparse` to unblock master (#12884)
Co-authored-by: Mauricio Villegas <mauricio_ville@yahoo.com>
2022-04-27 12:02:16 -04:00
Akihiro Nitta e41999ed90 Update `deepspeed` and `fairscale` versions (#12860)
* Fix deepspeed installation

* Adapt to deepspeed>=0.5.9

* Fix fairscale installation

Co-authored-by: Akihiro Nitta <akihiro@pytorchlightning.ai>
2022-04-27 12:02:16 -04:00
alvitawa eea6b44e5a Fixed encoding issues on terminals that do not support unicode characters (#12828)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-27 12:02:16 -04:00
Ethan Furman 194c7c7f51 Improve LigtningEnum, etc. (#12750) 2022-04-27 12:02:16 -04:00
Akihiro Nitta fce8d4b965 Fix false positive deprecation warning from `register_ddp_comm_hook` (#12846)
* Use new rank_zero_debug

* Fix and move import statement to the top
2022-04-27 12:02:16 -04:00
code-review-doctor c9c7ea5a4f Add missing `f` prefix to f-strings (#12869) 2022-04-27 12:02:16 -04:00
Akihiro Nitta 55503b3138 Update building docker images (#12837)
Co-authored-by: Akihiro Nitta <akihiro@pytorchlightning.ai>
2022-04-27 12:02:16 -04:00
Henry Lau 65c3cece16 Fix support for `ModelCheckpoint` monitors with dots (#12783)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-27 12:02:16 -04:00
otaj 8714154bf2 Horovod tests do not make sense for 1 gpu (#12710)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-27 12:02:16 -04:00
Kushashwa Ravi Shrimali 4a2949f8ea 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-27 12:02:16 -04:00
otaj 55f9fbad8c Add Changelog entry for #12716 (#12813) 2022-04-27 12:02:16 -04:00
Akihiro Nitta 71e252d504 Enable running slow tests on Windows in CI (#12761) 2022-04-27 12:02:16 -04:00
Jirka Borovec 73b677dcb7 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-27 12:02:16 -04:00
Akihiro Nitta 938518cfe3 Workaround for actions/checkout in conda CI jobs (#12758) 2022-04-27 12:02:16 -04:00
Adrian Wälchli 1099081f3d Fix version comparison for python version in `pl.utilities.imports` (#12754) 2022-04-27 12:02:16 -04:00
otaj 79020bc91d 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-27 12:02:16 -04:00
rohitgr7 0b0f1eca32 Update CHANGELOG.md 2022-04-13 14:14:29 -04:00
Kaushik B 2187f309c1 Support auto_select_gpus with accelerator and devices api (#12608)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-04-13 14:14:29 -04:00
Rohit Gupta d95447a653 Update deepspeed precision test (#12727) 2022-04-13 14:14:29 -04:00
Kaushik B 83e0c4ad27 Raise `MisconfigurationException` when the accelerator is available but… (#12708) 2022-04-13 14:14:29 -04:00
Jirka Borovec ba1e869b3c CI: check docker requires (#12677)
* check docker requires
* ci update
* bagua
* conda
* cuda
2022-04-13 14:14:29 -04:00
Jirka Borovec dfd9730b08 fix import failer (#12676) 2022-04-13 14:14:29 -04:00
Rohit Gupta 6aca974548 Run main progress bar independent of val progress bar in `TQDMProgressBar` (#12563)
Co-authored-by: carmocca <carlossmocholi@gmail.com>
2022-04-13 14:14:29 -04:00
otaj 23d3d46568 Fix flaky test, that is not consistent on some configurations (#12707) 2022-04-13 14:14:29 -04:00
Mauricio Villegas 8bc4a76ee1 Update LightningCLI tests to reflect changes in jsonargparse 4.6.0 (#12704) 2022-04-13 14:14:29 -04:00
semaphore-egg a4026fea05 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-13 14:14:29 -04:00
Carlos Mocholí 3576dad964 Allow self-reviewing to rerun gatekeeper (#12672) 2022-04-13 14:14:29 -04:00
Rohit Gupta 81097e2aea Don't raise a warning when `nn.Module`s are not saved under hparams (#12669) 2022-04-13 14:14:29 -04:00
Jirka Borovec d7588f88cf Update ci_pr-gatekeeper.yml (#12661)
* Update ci_pr-gatekeeper.yml
2022-04-13 14:14:29 -04:00
Tomasz Konopka 3eb28b5270 Clear env before test cases requiring empty env (#12561)
* clearing env vars in a test to allow compatibility with "make test"

* added clear=True to more mock environments in testcases

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-04-13 14:14:29 -04:00
Jirka Borovec 57140dfa51 add PR Gatekeeper (#12646)
* add PR Gatekeeper

* [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: Carlos Mocholí <carlossmocholi@gmail.com>

* [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>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-04-13 14:14:29 -04:00
pre-commit-ci[bot] e2885768ea [pre-commit.ci] pre-commit suggestions (#12613) 2022-04-13 14:14:29 -04:00
Adrian Wälchli 869c6400e6 Update `rank_zero_only` decorator for LSF environments (#12587) 2022-04-13 14:14:29 -04:00
Adrian Wälchli 4326f14b76 Fix `LightningLite.run` signature for arbitrary arguments (#12629) 2022-04-13 14:14:29 -04:00
Carlos Mocholí cd276fdb6d Expose deprecated arguments from logger base interface (#12609) 2022-04-13 14:14:29 -04:00
Carlos Mocholí 6d682101a9 Set a less strict pre-commit Python version (#12627) 2022-04-13 14:14:29 -04:00
Rohit Gupta 959174703b Fix rich main progress bar update (#12618) 2022-04-13 14:14:29 -04:00
Adrian Wälchli f87cff2123 enable tests that were never running (#12585) 2022-04-13 14:14:29 -04:00
Aki Nitta f41c6d83ef Split jobs into two workflows (#12449) 2022-04-13 14:14:29 -04:00
Kushashwa Ravi Shrimali 5df753404a Bump version of black to 22.3.0 (#12542)
* bump black version to 22.3.0
2022-04-13 14:14:29 -04:00
Yi Wang 8eebd0154a Avoid calling average_parameters multiple times per optimizer step (#12452) 2022-04-13 14:14:29 -04:00
Kaushik B 7122a597ed Support `strategy` argument being case insensitive (#12528) 2022-04-13 14:14:29 -04:00
Carlos Mocholí 44e3edbf7a
Cleanup CHANGELOG (#12507) 2022-03-29 17:03:08 +02:00
RobertLaurella e3893b9eca
Merge pull request #12509 from RobertLaurella/patch-1
Update index.rst
2022-03-29 10:46:09 -04:00
Kaushik B 041da417db
Remove TPU Availability check from parse devices (#12326)
* Remove TPU Availability check from parse devices
* Update tests
2022-03-29 15:57:43 +02:00
Carlos Mocholí 4fe0076a1a Prepare for the 1.6.0 release 2022-03-29 09:10: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
Manan Goel c6cb6341e7
Add usage of Jupyter magic command for loggers (#12333)
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