Rohit Gupta
ff5361604b
Weekly patch release v1.6.5 ( #13481 )
...
* update NGC docker (#13136 )
* update docker
* Apply suggestions from code review
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
* Decouple pulling legacy checkpoints from existing GHA workflows and docker files (#13185 )
* Add pull-legacy-checkpoints action
* Replace pulls with the new action and script
* Simplify
* Merge pull request #13250 from PyTorchLightning/ci/rm-base
CI: Remove simple test `ci_test-base.yml`
* Update rich requirement from !=10.15.*,<=12.0.0,>=10.2.2 to >=10.2.2,!=10.15.0.a,<13.0.0 in /requirements (#13047 )
* Update rich requirement in /requirements
Updates the requirements on [rich](https://github.com/willmcgugan/rich ) to permit the latest version.
- [Release notes](https://github.com/willmcgugan/rich/releases )
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md )
- [Commits](https://github.com/willmcgugan/rich/compare/v10.2.2...v12.4.1 )
---
updated-dependencies:
- dependency-name: rich
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix torch.distributed._sharded_tensor DeprecationWarning (#13261 )
* update tutorials (#13268 )
* [BUG] `estimated_stepping_batches` requires distributed comms in `configure_optimizers` for `DeepSpeedStrategy` (#13350 )
* Update torchmetrics requirement from <=0.7.2,>=0.4.1 to >=0.4.1,<0.9.2 in /requirements (#13275 )
Update torchmetrics requirement in /requirements
Updates the requirements on [torchmetrics](https://github.com/PyTorchLightning/metrics ) to permit the latest version.
- [Release notes](https://github.com/PyTorchLightning/metrics/releases )
- [Changelog](https://github.com/PyTorchLightning/metrics/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PyTorchLightning/metrics/compare/v0.4.1...v0.9.1 )
---
updated-dependencies:
- dependency-name: torchmetrics
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix mypy errors for model summary utilities (#13384 )
* rename org Lightning AI
* Modified python version check to accommodate for legacy version styles (#13420 )
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
(cherry picked from commit b332b66328
)
* Call `set_epoch` for distributed batch samplers (#13396 )
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
(cherry picked from commit 2dd332f9c7
)
* _RICH_AVAILABLE
* _FAIRSCALE_AVAILABLE
* _BAGUA_AVAILABLE
* redefine
* chlog spaces
* CI: Fix `fatal: unsafe repository` (#13515 )
* update release date
* CI: azure rename
* Restore log step during restart (#13467 )
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
* remove redundant test
* Update CI setup (#13291 )
* drop mamba
* use legacy GPU machines
* fix schema check
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Sean Naren <sean@grid.ai>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Martino Sorbaro <martinosorb@users.noreply.github.com>
2022-07-12 19:40:14 -04:00
Nicolas Berger
23c7c27b05
Fix pickling of KFoldLoop ( #12441 )
...
* allow pickling of KFoldLoop
* Update pl_examples/loop_examples/kfold.py
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Nicolas Berger <nicolas.berger@inait.ai>
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com>
2022-05-03 14:54:54 -04:00
Rohit Gupta
fe12bae704
Update Slack link ( #12460 )
2022-03-28 19:27:51 +02:00
Rohit Gupta
fdcc09cf95
Update old device flags ( #12471 )
2022-03-28 16:44:59 +02:00
Jerome Anand
812c2dc3d3
Add support for Habana accelerator (HPU) ( #11808 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: four4fish <88516121+four4fish@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.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: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: jjenniferdai <89552168+jjenniferdai@users.noreply.github.com>
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com>
Co-authored-by: Akarsha Rao <94624926+raoakarsha@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.comk-Pro.local>
2022-03-25 10:24:52 +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
Akash Kwatra
7e2f9fbad5
Refactor codebase to use `trainer.loggers` over `trainer.logger` when needed ( #11920 )
2022-02-25 16:01:04 -08:00
edward-io
87bd54aedf
fix typos ( #11937 )
2022-02-16 17:27:51 -08: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
Carlos Mocholí
3b699030d5
Modernize the ImageNet example ( #11691 )
...
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-02-02 21:48:49 +00:00
Rohit Gupta
2ec0b133c4
Fix KFold example ( #11230 )
2022-01-03 09:54:44 +00:00
four4fish
cf5ef32f7b
Deprecate Trainer.training_type_plugin in favor of trainer.strategy ( #11141 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-12-22 02:11:43 +00:00
Danielle Pintz
f95976d602
rename _call_ttp_hook to _call_strategy_hook ( #11150 )
2021-12-18 17:53:03 -08:00
four4fish
63bb4ec77d
4/n Move Accelerator into strategy - remove X_step() from accelerator ( #10890 )
...
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>
2021-12-06 20:16:54 +00:00
Danielle Pintz
6043179931
Re-design `call_hook` interface ( #10575 )
2021-12-04 16:39:55 -05:00
four4fish
6fe3211573
Unroll dict input before call Accelerator X_steps ( #10908 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-12-03 17:00:52 +00:00
Rohit Gupta
ce95891f6a
Update extensions doc ( #10778 )
...
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-11-29 20:38:23 +00:00
thomas chaton
412d507a73
Fault Tolerant: move signal to SIGTERM ( #10605 )
2021-11-26 13:37:27 +00:00
Rohit Gupta
eb13e1df89
update bug_report model links and notebook ( #10665 )
2021-11-22 11:19:46 +00:00
Jaime Ferrando Huertas
721b8413a0
Added boring model as a ipynb so it can be updated ( #10521 )
...
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-11-19 16:32:30 +00:00
Carlos Mocholí
3d2d0f2536
MANIFEST.in and setup.py clean-up ( #7614 )
2021-11-19 15:38:42 +01:00
Carlos Mocholí
0fa07da987
Fail the test when a `DeprecationWarning` is raised ( #9940 )
2021-11-17 23:41:50 +01:00
ananthsub
98de69b14a
Fix loop examples after Accelerator API removals ( #10514 )
2021-11-16 05:37:14 +00:00
thomas chaton
9e844d9db6
Lite Docs and Example Improvements ( #10303 )
...
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2021-11-02 16:13:01 +01:00
Adrian Wälchli
3cd65b592b
Lightning Lite Examples ( #9987 )
...
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: SeanNaren <sean@grid.ai>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: four4fish <88516121+four4fish@users.noreply.github.com>
Co-authored-by: Nicki Skafte Detlefsen <skaftenicki@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
Co-authored-by: Pietro Lesci <61748653+pietrolesci@users.noreply.github.com>
2021-11-02 08:04:29 +00:00
Justus Schock
e2b1967b38
Fix Imagenet example ( #10179 )
2021-10-29 12:05:05 +00:00
Adrian Wälchli
5ade197580
Update README page in pl_examples folder ( #10114 )
...
Co-authored-by: tchaton <thomas@grid.ai>
2021-10-26 17:38:56 +00:00
Adrian Wälchli
f1623355bd
Add example table to loop docs ( #10058 )
...
Co-authored-by: tchaton <thomas@grid.ai>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2021-10-25 22:42:15 +00:00
Adrian Wälchli
f8a7f3fde0
Add Yield loop example ( #9983 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: tchaton <thomas@grid.ai>
2021-10-25 14:26:36 +00:00
Kaushik B
56bc55db71
Update strategy flag in docs ( #10000 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2021-10-20 21:02:53 +05:30
Adrian Wälchli
2c16f1d6b9
remove dataloader patching on the LightningModule ( #9764 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-10-20 15:23:20 +02:00
Rohit Gupta
eb7f2e0b90
Update kfold example to avoid ci failures ( #10019 )
2021-10-19 17:09:42 +02:00
thomas chaton
86df7dcee7
Add KFold Loop example ( #9965 )
2021-10-18 16:27:12 +01:00
Mauricio Villegas
1f09cf2432
Fixed use of LightningCLI in computer_vision_fine_tuning.py example ( #9934 )
2021-10-16 17:04:02 +01:00
ananthsub
28fc8d2016
Add `enable_model_summary` flag and deprecate `weights_summary` ( #9699 )
...
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.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>
2021-10-13 17:20:54 +05:30
Danielle Pintz
b3a5c7f442
Add `enable_progress_bar` to Trainer constructor ( #9664 )
2021-09-24 22:53:31 -07:00
Daniel Y. Kim
e64f3582cc
Fix broken links to PyTorch Lightning Bolts ( #9634 )
2021-09-22 13:15:51 +01:00
Benjamin Etheredge
73e53e5b82
Fixing order of operations bug in Qnet ( #9621 )
2021-09-21 22:25:12 +00:00
thomas chaton
e2eb832461
[bugfix] Resolve example after LightningCLI update ( #9520 )
2021-09-15 12:31:41 +05:30
thomas chaton
ffd275f5b1
[Refactor] Improve auto-encoder example ( #9402 )
2021-09-10 16:08:11 +00:00
Jirka Borovec
6e124e7207
CI: precommit - docformatter ( #8584 )
...
* CI: precommit - docformatter
* fix deprecated
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-09-06 12:49:09 +00:00
thomas chaton
9149b64908
[bugfix] Resolve PyTorch Profiling for Manual Optimization ( #9316 )
...
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-09-06 10:45:34 +00:00
Carlos Mocholí
0dfc6a18bd
Call any trainer function from the `LightningCLI` ( #7508 )
2021-08-28 04:43:14 +00:00
Carlos Mocholí
e7440d68c3
Allow modifying run_examples.sh defaults ( #8769 )
2021-08-09 13:54:35 +02:00
HansolEom
69f287eb85
change backbone to self ( #8762 )
...
No need to use backbone. Calling self proceeds forward.
2021-08-06 09:40:59 +00:00
Jirka Borovec
0e6ee9c39d
CI: add mdformat ( #8673 )
...
* add mdformat
* exclude chlog
* fix ***
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2021-08-03 18:19:09 +00:00
Jirka Borovec
f67892ea96
CI: yesqa ( #8564 )
...
* add yesqa
* fix flake8
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-02 16:05:56 +00:00
Carlos Mocholí
e63968ab88
Add `pyupgrade` to `pre-commit` ( #8557 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-26 14:38:12 +02:00
Carlos Mocholí
a64cc37394
Replace `yapf` with `black` ( #7783 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-26 13:37:35 +02:00