Commit Graph

1597 Commits

Author SHA1 Message Date
fabio fumarola 1beef7620f
Update lightning_cli_advanced_2.rst (#15257)
Co-authored-by: Mauricio Villegas <mauricio_ville@yahoo.com>
2022-10-24 15:25:21 +00:00
Kaushik B 7354073e6e
App: Remove the unsupported params for CloudCompute (#14852) 2022-10-21 19:37:59 +00:00
Carlos Mocholí 375ab53861
Migrate TPU tests to GitHub actions (#14687)
* Migrate TPU tests to GitHub actions

* No working dir

* Keep _target

* Dont skip draft

* CHECK_SLEEP

* Not yet

* Remove recurrent cleanup script

* Set secrets

* a step cannot have both the `uses` and `run` keys

* Version $PYTHON_VER was not found in the local cache

* can't load package ... ($GOPATH not set)

* The `set-env` command is disabled

* Try updating go

* Match timeout

* simplify path

* More cleanup

* Install coverage. Unmark draft

* Update .github/workflows/ci-pytorch-test-tpu.yml

* DEBUG echo

* Revert "DEBUG echo"

This reverts commit 4011856e6e.

* More debug

* SSH

* Im stupid

* Remove always()

* Forgot some

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2022-10-21 20:01:39 +02:00
thomas chaton 6a72a15a62
[App] Automate missing requirements installation for CLI (#15198)
* update

* update

* update

* update

* update

* update

* update

* wording

Co-authored-by: Mansy <ahmed.mansy156@gmail.com>

* update

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Mansy <ahmed.mansy156@gmail.com>
2022-10-20 15:02:13 -04:00
Jirka Borovec 26f632cb10
switch LAI deployment branch (#15194)
* switch LAI deployment branch
* update links
2022-10-19 16:07:05 -04:00
Adrian Wälchli 045c2f5715
Efficient gradient accumulation in LightningLite (#14966)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-10-19 19:55:12 +00:00
Ethan Harris 4acb10f981
Add support for command descriptions (#15193) 2022-10-19 17:34:35 +01:00
Rohit Gupta 85ce43d1a3
Add docs for distributed inference (#15149) 2022-10-18 18:39:17 +00:00
Adrian Wälchli 7b185c7fc9
Update 8-bit optimizer docs (#15155) 2022-10-17 22:23:56 +02:00
Jirka Borovec 05d91c8e75
docs: temp drop S3 from index (#15099)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-10-13 17:59:02 +00:00
HELSON dd33528e00
[docs] Docs for ColossalaiStrategy (#15093) 2022-10-13 16:14:03 +00:00
Jerome Anand 672b5cbefe
Update obsolete URL in HPU docs (#15112) 2022-10-13 13:27:16 +02:00
Adrian Wälchli d2840a20bd
Update examples that require the run() method (#15096)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-10-12 14:32:05 +01:00
Adrian Wälchli b4b651c73a
Update docs regarding deprecation window (#15089) 2022-10-12 15:25:03 +02:00
Ray Schireman 0a5e75e8d1
Add `inference_mode` flag to Trainer (#15034)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-12 12:22:01 +00:00
Rohit Gupta ad1e06f2d4
Update tuner docs (#15087) 2022-10-12 08:55:56 +00:00
Stefano Borzì 1865300228
chore: add model as recommended parameter for validate() (#15086) 2022-10-12 10:46:03 +02:00
edenlightning 8715cd0346
secrets docs (#14951)
* secrets docs

* Update docs/source-app/glossary/secrets.rst

Co-authored-by: Yurij Mikhalevich <yurij@grid.ai>

* Apply suggestions from code review

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update secrets.rst

* links

Co-authored-by: Yurij Mikhalevich <yurij@grid.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-10-11 10:09:26 -04:00
ver217 2fef6d9403
Add ColossalAI strategy (#14224)
Co-authored-by: HELSON <c2h214748@gmail.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-10-11 13:59:09 +02:00
Adrian Wälchli 3183079204
Remove deprecated callback hooks (#14834)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-10 15:46:28 +00:00
Krishna Kalyan 0086c7bfcd
Missing steps in run on your own machine docs (#15033) 2022-10-10 14:36:47 +00:00
Rohit Gupta ca3c4e7f07
Add tuner callback docs (#15030) 2022-10-08 18:21:27 +00:00
Amrutha dfc7886b24
docs: replacement of method type_as in docs to Tensor.to (#15027) 2022-10-08 10:04:15 +00:00
Rohit Gupta 7fed7a12c5
Add `LRFinder` callback (#13802)
* add BatchSizeFinderCallback callback
* enable fast_dev_run test
* keep tune and remove early_exit
* move exception to setup
* Apply suggestions from code review

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-10-05 13:15:38 +02:00
Carlos Mocholí 7ef87464dd
Refactor XLA and TPU checks across codebase (#14550) 2022-10-04 22:54:14 +00:00
Jerome Anand e62521caf1
Update hpu mixed precision link (#14974)
Signed-off-by: Jerome <janand@habana.ai>
2022-10-03 09:05:17 +02:00
Andres Algaba 3daa4c9cc0
Remove deprecated on_init_start_end (#14867)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-09-30 15:11:38 +00:00
Adrian Wälchli c8059d4464
Update quick start guide with latest info (#14880)
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-09-29 20:54:20 +00:00
Adrian Wälchli ff3c5b7b9d
Docs section for SLURM troubleshooting (#14873)
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-29 12:41:31 +00:00
Rohit Gupta d1a3a3ebf5
Add BatchSizeFinder callback (#11089)
* add BatchSizeFinderCallback callback

* temp rm from init

* skip with lr_finder tests

* restore loops and intergrate early exit

* enable fast_dev_run test

* add docs and tests

* keep tune and remove early_exit

* add more tests

* patch lr finder

* disable skip

* force_save and fix test

* mypy and circular import fix

* fix mypy

* fix

* updates

* rebase

* address reviews

* add more exceptions for unsupported functionalities

* move exception to setup

* chlog

* unit test

* address reviews

* Apply suggestions from code review

* update

* update

* mypy

* fix

* use it as a util func

* license

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* mypy

* mypy

* review

* fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix

* updates

* updates

* fix import

* Protect callback attrs

* don't reset val dataloader

* update test

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-27 08:54:37 -04:00
Andres Algaba 4fc8275cc3
Remove the deprecated `trainer.call_hook` (#14869) 2022-09-26 15:56:44 +02:00
jsr-p abb6049fa3
Update documentation for the basic skills tutorial level 2 on how to validate and test a model (#14874) 2022-09-24 10:34:06 +00:00
dconathan 633d14e67a
fixed comet -> mlflow typo in visualize/experiment_managers docs (#14843)
fixed comet -> mlflow typo

Co-authored-by: Devin Conathan <devin.conathan@libertymutual.com>
2022-09-24 00:13:28 +02:00
Adrian Wälchli dd2a1c5d29
Integrate Lite Precision into PL (#14798)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-22 14:51:04 +00:00
Laverne Henderson d1303cf628
Updated the structure and applied feedback (#14734) 2022-09-22 11:40:12 +02:00
Laverne Henderson da0ccb11a6
Updates links to components in the Gallery (#14807) 2022-09-21 22:22:05 +00:00
Mauricio Villegas 3064c28ce1
Added args parameter to LightningCLI to ease running from within Python (#14596)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-09-19 17:38:30 +00:00
Laverne Henderson 8c4e17f359
Removes the old HPO content (#14754)
* Removes the old HPO content

* Remove source-lit symlinks for HPO

* drop ref

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-09-19 09:25:57 -04:00
Gilad a5b0f8bd5c
Fix TQDMProgressBar usage in logging.rst (#14768) 2022-09-19 01:07:19 +02:00
Laverne Henderson 9ea4ab6b19
Update installation (#14732)
* Update installation

Updates to use python -m pip install -U lightning and adds troubleshooting note

* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-15 15:30:32 -04:00
Yurij Mikhalevich 09f50b4295
Fix Google Tag Manager for the Lightning App docs (#14731)
- updates the Lightning App docs theme to the one without Pytorch Lightning docs Google Tag Manager hardcoded
- sets the GTM id in the conf.py for Lightning App docs
2022-09-15 18:35:16 +00:00
Akihiro Nitta 3c5e03e035
docs: Clarify versioning and API stability (#14549)
* mv releases to a standalone page

* Include release_policy in index

* Update policy

* mv releases to a standalone page

* Include release_policy in index

* Update policy

* Update title

* remove release_policy.rst

* Update versioning

* syntax

* simplify wording

* Include examples that don't follow X+2 rule

* syntax

* update

* consistency

* rm noninformative statement

* .

* Reduce redundancy in the deprecation process

* grammar?

* consistency

* Update docs/source-pytorch/versioning.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-15 09:16:14 -04:00
Alec Merdler 71719b9960
Support Injecting Secrets into Apps Running in the Cloud (#14612)
Adds a new '--secret' flag to 'lightning run app':

lightning run app --cloud --secret MY_SECRET=my-secret-name app.py

When the Lightning App runs in the cloud, the 'MY_SECRET'
environment variable will be populated with the value of the
referenced Secret. The value of the Secret is encrypted in the
database, and will only be decrypted and accessible to the
Flow/Work processes in the cloud.

Co-authored-by: Sherin Thomas <sherin@grid.ai>
Co-authored-by: Noha Alon <nohalon@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-09-15 09:15:59 -04:00
Laverne Henderson 692f0f3d5d
Resolve minor formatting issue (#14706) 2022-09-15 08:37:50 +00:00
Benjamin Krala c2378bd3b1
Add documentation for trainer.datamodule and dataloaders of a trainer object (#14600)
* Update trainer.rst
* Update datamodule.rst
2022-09-14 15:46:34 +00:00
Krishna Kalyan 14b36f8109
Fix incorrect imports in lightning docs (#14678) 2022-09-14 00:23:31 +02:00
Carlos Mocholí 313c338da1
Remove legacy examples from logging docs (#14686) 2022-09-13 13:47:51 -04:00
Laverne Henderson b24f5f164a
Content for Lightning with iOS and Android (#14038)
* Content for Lightning with iOS and Android

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* make link clickable

* Update docs/source-app/glossary/ios_and_android.rst

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-09-13 11:04:50 -04:00
Max Ehrlich e5998e6bf2
Make the SLURM Preemption/Timeout Signal Configurable (#14626)
* Add parameter to change the preemption signal
* Make the signal connector use the custom signal from SLURMEnvironment

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
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>
2022-09-12 19:24:35 +00:00
Adrian Wälchli 925edbca07
Remove the deprecated `weights_save_path` Trainer argument (#14424)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-12 19:02:38 +00:00
Adrian Wälchli 4f3c47294e
Add troubleshooting section to MPS docs (#14642)
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
2022-09-12 17:35:18 +00:00
Vasilis Vryniotis 7e9e441843
Use TorchVision's Multi-weight Support and Model Registration API on Lightning (#14567)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-09-09 20:04:57 +00:00
Laverne Henderson 3a66798a6c
Update content for S3 persistent storage (#14060)
* Update content for S3 persistent storage
* Updates based on feedback
* Fix unstructured validation issue
* Updates based on feedback

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: edenlightning <66261195+edenlightning@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-09 20:59:03 +02:00
Adrian Wälchli d2459df2ff
Standalone Lite: Remaining Utilities (#14492)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Felonious-Spellfire <felonious.spellfire@gmail.com>
2022-09-07 15:25:23 +00:00
Kushashwa Ravi Shrimali 6de2b0b528
Docs [Fix]: use bytes instead of strings while writing (#14505)
* Fix doc examples: use bytes instead of strings while writing

* Add a note (comment)

* nit

* Update any_server.rst

* Update docs/source-app/workflows/add_server/any_server.rst

* Update docs/source-app/workflows/add_server/any_server.rst

* Update docs/source-app/workflows/add_server/any_server.rst

* Apply suggestions from code review

Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Ethan Harris <ethanwharris@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-09-07 09:05:58 -04:00
Dan Nissenbaum 7ada52e33c
Typo in major heading seen by newcomers (#14501)
* Typo in major heading seen by newcomers

Correct typo in one of the first major headings newcomers to Lightning see when they are considering migrating their code to use Lightning.

I know this is a trivial change in terms of the text change itself, but I really think it's valuable for one of the most important landing pages that users first investigating Lightning see - to have rock-solid, professional text without obvious typos. Here was a typo in the main heading itself. I suggest fixing it straightaway via this PR.

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-07 09:06:30 +00:00
Carlos Mocholí 44216fdd69
Integrate `lightning_utilities.core.imports` (#14475)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-06 12:56:20 +00:00
Carlos Mocholí 8a4a3b6766
Mark the lite `DeviceDtypeModuleMixin` as protected (#14548) 2022-09-06 14:17:15 +02:00
Rohit Gupta 8c6119fbce
Add auto wrapping support for `DDPFullyShardedStrategy` (#14383) 2022-09-05 19:07:26 +00:00
Laverne Henderson b19b15546b
Updated basic debugging (#14488)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-09-02 14:23:29 +05:30
Benjamin Krala cce55b6cd3
Precise description of reload_dataloaders_every_n_epochs (#14245) 2022-09-01 10:06:28 -04:00
Adrian Wälchli 28e18881a9
Mark stage argument in hooks as required (#14064)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-09-01 15:47:40 +02:00
thomas chaton a7c01c4754
Introduce lightning connect (#14452)
* update

* update

* update

* update

* Review of content

* Formatting updates

* Fomatting updates

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Updates based on new commits

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* Introduce lightning connect (#14183)


Co-authored-by: Luca Antiga <luca.antiga@gmail.com>

Co-authored-by: Felonious-Spellfire <felonious.spellfire@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2022-08-31 15:59:03 -04:00
Carlos Mocholí 10adcd5d12
Remove the unused pyDeprecate dependency (#14472)
* Remove the unused pyDeprecate dependency
* CHANGELOG
2022-09-01 03:30:18 +09:00
Jirka Borovec 208bf6faa8
prepare space for fused docs (#14160)
* copy app conf

* ci + req.

* script symlink

* wip

* keep only App

* add also PL

* lightning

* artifact
2022-08-30 09:25:05 -04:00
Marc Skov Madsen 18e2a8eecd
PanelFrontend and Panel Web UI Intermediate docs (#13531)
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Marc Skov Madsen <masma@orsted.com>
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
Co-authored-by: Felonious-Spellfire <felonious.spellfire@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Mansy <ahmed.mansy156@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-08-30 00:33:21 +00:00
Rohit Gupta f3574176e2
Change `trainer.should_stop` to not stop in between an epoch and run until `min_steps/min_epochs` only (#13890) 2022-08-27 12:12:24 +00:00
Adrian Wälchli 250c06e406
Remove deprecated HPC model hooks (#14315)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-08-26 20:59:32 +00:00
Tianshu Wang 8950613552
save checkpoints and profiler output to the first logger (#14325)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-08-26 17:23:54 +00:00
Rohit Gupta 6d00f31f0c
Add auto wrapping for `DDPFullyShardedNativeStrategy` (#14252) 2022-08-26 09:01:48 +00:00
Jerome Anand 424e78d5b3
Add document to showcase scaleout on hpu (#14357)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-08-25 14:15:01 +05:30
Laverne Henderson 8ff2e01025
Update for M1 Mac installations (#14350)
* Update for M1 Mac installations

* Apply suggestions from code review

* Update PL installation

* Update based on feedback

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-08-23 13:31:18 -04:00
Laverne Henderson 2265bd85c9
Bring back access app state (#14258)
* Recreated the access_app_state file

* Update the site's TOC to include the file

* Update code sample file path

* Minor formatting update

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Sherin Thomas <sherin@grid.ai>
2022-08-23 13:06:46 -04:00
Carlos Mocholí 7a617ec90e
Add back support for logging in the gradient clipping hooks (#14298)
* Add back support for logging in the gradient clipping hooks

* Docs and CHANGELOG

* Fix tests
2022-08-22 09:19:53 -04:00
Rohit Gupta e949362a6b
Enable `on_before_batch_transfer` for `DPStrategy` and `IPUAccelerator` (#14023)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-08-18 12:12:29 +00:00
Laverne Henderson 8ab65ffade
Fixes note formatting and more (#14264)
Fixes formatting for a note and makes headings for arguments and parameters stand out
2022-08-18 13:55:49 +02:00
Laverne Henderson 1745d192f9
Remove incorrect "template" information (#13911)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-08-17 14:35:23 -04:00
Adam Bobowski 79fc6afa89
[App] Moved app.py to root dir for `lightning init app <app_name>` template (#13853)
* Moved app.py to main app directory

* updated docs

* updated changelog

* [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: thomas chaton <thomas@grid.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-08-17 10:15:52 -04:00
Laverne Henderson 61132837f2
Docs BYOC content (#13976)
* BYOC content

Content for the upcoming BYOC feature

* First DRAFT of BYOC content

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/source-app/index.rst

Co-authored-by: thomas chaton <thomas@grid.ai>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: thomas chaton <thomas@grid.ai>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: thomas chaton <thomas@grid.ai>

* Updates based on feedback

* Updates based on feedback

* Update external ID with note

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>

* Updates for terraform mod

Updates for terraform mod and arg pram split

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update index.rst

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update docs/source-app/workflows/byoc/index.rst

Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>

* Update content with table

Changed bullets into table based on feedback

* [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: thomas chaton <thomas@grid.ai>
Co-authored-by: Raphael Randschau <nicolai86@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-08-17 10:15:41 -04:00
Sherin Thomas deaadc157b
(app) Documentation fix for Work resources (#14182) 2022-08-15 09:35:10 -04:00
Rohit Gupta 48c23e5716
Use fsdp module to initialize precision scalar for fsdp native (#14092)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Laverne Henderson <laverne.henderson@coupa.com>
2022-08-13 07:52:06 +00:00
Rohit Gupta 208512e6e9
Add docs for `fsdp_native` (#14108) 2022-08-12 09:14:07 +00:00
Dan Dale 355fda3702
Add Promoted CLI to API Reference Section (#14072) 2022-08-08 10:16:53 +02:00
Rohit Gupta a4e4cab7a6
Deprecate `amp_level` from `Trainer` (#13898)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-08-05 08:31:19 +00:00
Carlos Mocholí b88b700745
Remove the deprecated DDP2 strategy (#14026) 2022-08-04 20:27:35 +00:00
Rohit Gupta e78bf2044b
Raise an error if batch transfer hooks are overridden with IPUAccelerator (#13961)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-08-04 12:04:42 +00:00
Laverne Henderson 52f3775bb5
Doc Terminology updates (#13972)
* Doc Terminology updates

* API updates
2022-08-03 15:59:37 -04:00
Jerome Anand b3203d93d0
Added support for HPU device stats monitor (#13819)
* Added support for HPU device stats monitor

Signed-off-by: Jerome <janand@habana.ai>

* Update changelog

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

* Apply suggestions from code review

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>

* Update reference

Signed-off-by: Jerome <janand@habana.ai>

* Apply suggestions from code review

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* fix alignment

* add descriptions

* Update hpu_intermediate.rst

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>
2022-08-02 13:31:31 +05:30
Laverne Henderson e33d25fb28
Porting latest App docs update (#13680)
* PRs 909,910,911, and 912

moves last 4 commits to the private re;po to the OS repo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix validation error

* Fixes API links and validation issues

* Update docs/source-app/examples/file_server/app.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Fix Python validation errors

* update

* [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: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-08-01 10:25:40 -04:00
edenlightning 5cbea78096
Docs update (#13959) 2022-08-01 14:10:18 +00:00
thomas chaton aefb9ab43f
(app) Introduce LightningTrainingComponent (#13830) 2022-07-29 16:44:52 +02:00
Adrian Wälchli 7708ce22b2
Update GitHub links to PL repo (#13849)
* update lightning links in docs

* update links in chlog

* [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: Rohit Gupta <rohitgr1998@gmail.com>

* Update src/pytorch_lightning/README.md

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update src/pytorch_lightning/README.md

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* update

* painful

* badges

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update badges

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: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-07-28 22:08:07 +02:00
otaj 4c7b9f0b11
Disallow batch sampler with multiple IPU devices (#13854)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-27 15:20:43 +05:30
Rohit Gupta faf7ff57c0
Add support for async checkpointing (#13658) 2022-07-26 21:13:19 +05:30
Adrian Wälchli a8d7b4476c
Fix PyTorch spelling errors (#13774)
* Fix PyTorch spelling errors

* more
2022-07-25 12:51:16 -04:00
Ha YongWook 11f8fa2ca6
Fix typos in Checkpointing doc (#13827)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-07-25 09:32:49 -04:00
rampartrange 8d14554383
[Typo] update introduction.rst (#13791) 2022-07-23 16:38:36 +00:00
Adrian Wälchli d24978baa3
Add ddp_notebook alias for ddp_fork (#13744)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-23 09:06:35 -04:00
Carlos Mocholí 4f53e7132f
Promote the CLI out of utilities (#13767) 2022-07-23 12:07:29 +00:00
Adrian Wälchli c3299d2c59
Add support for DDP fork (#13405)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-07-22 16:05:35 +00:00
Rohit Gupta e451fa28d0
Fix main progress bar counter when `val_check_interval=int` and `check_val_every_n_epoch=None` (#12832) 2022-07-20 20:33:00 +00:00
Nathaniel D'Amours cd206991b9
Fix typos initialize in docs (#13557)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-07-20 19:29:31 +00:00
Justus Schock c75457da99 Rename GPUAccelerator to CUDAAccelerator 2022-07-19 13:06:30 -04:00
Rohit Gupta 7b0563d35b
Remove conda installation guide from lightning docs (#13727)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-07-19 08:58:17 -04:00
Jirka Borovec 35ec79ad1f
define app 0.6 (#13699)
* define app 0.6

* req

* fix link

* txt

* ex

* gk

* Apply suggestions from code review

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Apply suggestions from code review

* lapp 0.5.2

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-18 19:23:26 -04:00
Jeroen Delcour d18f45b75e
Update docs README on how to build docs (#13465)
update docs README on how to build docs

Co-authored-by: Jeroen Delcour <jeroen@track32.nl>
2022-07-17 18:48:10 +00:00
Roger Shieh e196e196e2
Move s-rog (myself) from core to alumni (#13694)
Update governance.rst
2022-07-17 20:15:28 +02:00
Akihiro Nitta cdb493ec42
CI: Update docs-related workflows (#13547)
* update

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-07-15 13:19:18 -04:00
thomas chaton 5e26840f94
Introduce ServableModuleValidator Callback (#13614)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update tests/tests_pytorch/serve/test_servable_module_validator.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Update tests/tests_pytorch/serve/test_servable_module_validator.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Update src/pytorch_lightning/serve/servable_module_validator.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Update src/pytorch_lightning/serve/servable_module_validator.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Update src/pytorch_lightning/serve/servable_module_validator.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* Typing improvements

* wip

* update doc

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* Update examples/pl_servable_module/production.py

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* update

* update

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-15 11:07:40 -04:00
thomas chaton c7ae985979
Add `lightning_app` docs (#13656)
* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* update

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update latest docs

* remove image

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* ci

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* make

* Update .gitignore

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update .github/workflows/docs-deploy.yml

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* update

* update

* Update docs/source-app/_templates/theme_variables.jinja

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/api_reference/api_references.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/api_reference/api_references.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/api_reference/api_references.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/code_samples/convert_pl_to_app/train.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/communication_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/model_server_app/model_server_app_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/get_started/training_with_apps.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/get_started/training_with_apps.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/get_started/training_with_apps.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/hpo/hpo.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/communication_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/communication_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_2.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_4.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/model_server_app/model_server.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* update

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/app.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/app.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* update

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-15 08:45:50 -04:00
Carlos Mocholí eec862ef2f
Revert "Update Lightning App docs (#13537)" (#13655)
This reverts commit cd31ba3f87.
2022-07-14 09:45:46 -04:00
thomas chaton cd31ba3f87
Update Lightning App docs (#13537)
* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* update

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update latest docs

* remove image

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* ci

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* make

* Update .gitignore

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update .github/workflows/docs-deploy.yml

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* update

* update

* Update docs/source-app/_templates/theme_variables.jinja

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/api_reference/api_references.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/api_reference/api_references.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/api_reference/api_references.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/code_samples/convert_pl_to_app/train.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/communication_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/model_server_app/model_server_app_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/get_started/training_with_apps.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/get_started/training_with_apps.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/get_started/training_with_apps.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/hpo/hpo.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/communication_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/communication_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_2.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/github_repo_runner_step_4.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/model_server_app/model_server.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* update

* Update docs/source-app/core_api/lightning_app/dynamic_work_content.rst

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/app.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* Update docs/source-app/examples/github_repo_runner/app.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

* update

* update

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-07-14 09:36:36 -04:00
Akihiro Nitta 7ba0270552
Remove deprecated `max_steps=None` (#13591)
* Remove max_steps=None

* Update changelog

* Update docs

* Unused import

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-14 12:28:38 +00:00
Akihiro Nitta feb8e7d344
Remove deprecated `LightningModule.on_post_move_to_device` (#13548)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-13 18:06:27 +00:00
Nikhil Shenoy e034cd31d3
Remove `add_to_queue` and `remove_from_queue` from LightningModule (#13600)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-07-12 16:47:51 +02:00
Bibhabasu Mohapatra 24189c2e9f
Adds is last batch (#13550)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
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>
2022-07-12 09:08:25 +00:00
nitinramvelraj 61c28cb428
Remove deprecated `on_keyboard_interrupt` (#13438)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-07-05 07:34:18 +00:00
otaj 663d4c9c28
Add BaseModelCheckpoint class to inherit from (#13024)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-30 10:07:46 +00:00
Ekagra Ranjan fe69a0196e
Add flash[image] dependency in Active learning example (#13442) 2022-06-30 02:03:43 +00:00
Adrian Wälchli ddbf95516b
Remove support for DDP2 strategy (#12705)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-29 15:06:51 +00:00
Sean Naren 54f2d44fb8
Remove unnecessary endpoint logic, rename `collaborative` to `hivemind` (#13392)
* Remove endpoint after collaborate app/dht CLI

* Fix references, change filename

* Add CHANGELOG.md

* Address review

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-28 08:41:08 -04:00
lukasugar da2669bf9a
Clarify when and why LearningRateScheduler is called (#13267)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-27 22:51:52 +00:00
Jirka Borovec d2e4e7e003
create meta package [RFC] (#13327)
* placeholder

* move setup_tools & abstract about

* adjust lightning-app

* notes

* lightning about

* lightning init

* CI check

* ci

* install

* adjust manifest & mv chlog

* manifest

* pkg

* mv __setup__

* parse_requirements

* lit

* ci - pytorch

* wrap func

* ci

* cd draft

* generate lit

* pkg

* utf-8

* root pkg

* req.

* ver

* mypy

* try check

* meta pkg

* meta pkg - vars

* meta pkg - pruning

* meta pkg - fixing

* fix PL for meta

* multi-line wrapper

* hack manifest

* ci

* fix docstr

* fixing

* ci & mypy

* links
2022-06-27 09:34:18 -04:00
Justus Schock f54abc506f
Merge pull request #13123 from Lightning-AI/mps_accelerator
MPS Accelerator
2022-06-24 08:15:48 -04:00
Sean Naren 73e7a5d0c2
Rename `CollaborativeStrategy` to `HivemindStrategy` (#13388) 2022-06-23 15:44:48 +00:00
awaelchli 511f1a6515 Reroute profiler to profilers (#12308)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-22 20:55:39 -04:00
otaj 33bd270845
Adds Sampler Wrappers for custom samplers in distributed environment (#12959)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-06-22 12:17:53 +02:00
Adrian Wälchli b08259d536
Add `XLAEnvironment` plugin (#11330)
* add xla environment class
* add api reference
* integrate
* use xenv
* remove properties

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: Rohit Gupta <rohitgr1998@gmail.com>
2022-06-22 10:57:50 +02:00
Mauricio Villegas 0ae9627bf8
Deprecate CLI registries and update documentation (#13221)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-21 17:12:04 +02:00
Carlos Mocholí ad87d2cad0
Future 5/n: Move requirements (#13306)
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-21 17:11:33 +02:00
Rohit Gupta e21490b9bb
Update old PL links (#13349) 2022-06-21 16:38:04 +02:00
Jerome Anand cd44512ab9
Added multi-optimizer tests with hpu (#13217)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-21 09:07:31 +02:00
Adrian Wälchli 602ee65f74
Docs for LAI (#13312)
* edit

* docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fixing

* clean generated

* ignore

* pre-commit

* ci

* ci

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-16 23:07:30 -04:00
Jirka Borovec 8ceab223c0
Fix repository links (#13304)
* GH org rename Lightning-AI

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* repo name

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-15 19:33:43 -04:00
Jirka Borovec b58577fd4d
Future 3/n: docs adjustment (#13299)
* docs: rename source >> source-PL

* docs: fix typing

* readthedocs

* update paths & codeowners

* source-pytorch

* ci

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-15 10:54:53 -04:00
Jirka Borovec 9cc714cdd1
Future 2/n: stand-alone examples (#13294)
* move: pl_examples >> src/

* convert pl_examples package to plain examples

* update CI for examples

* ci

* missing

* install
2022-06-15 08:53:51 -04:00
Jirka Borovec 759e89df21
Future 1/n: package in src/ folder (#13293)
* move: pytorch_lightning >> src/

* update setup & install

* update CI

* ci

* update CI for examples

* Self review

* mypy

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>

* ci

* make

* docs

* typo

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* ci: gpu

* .

* hpu

* typing

* docs

* tpu

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-14 20:54:55 -04:00
Ekagra Ranjan 5e4b712062
Fix deploy production intermediate doc (#13204) 2022-06-14 19:18:38 +02:00
Carlos Mocholí a8a6a5b721 Rename `loops/base.py` to `loops/loop.py` (#13043) 2022-06-02 21:23:14 +02:00
Patrick Haller 5a5b616110
Explicitly mention disabling validation in trainer docs (#13148)
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-02 16:49:40 +00:00
Mauricio Villegas 79de6a95fb
LightningCLI natively support callback list append (#13129)
* LightningCLI natively support callback list append.

* Update jsonargparse version

* Handle case where callbacks is not a list.

* Fix PEP8 issue.

* Handle mypy false positive

Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-06-02 10:00:02 +09:00
Jack Morris 4f81d6f794
Fix typo in cluster_advanced.rst (#13173) 2022-06-01 02:53:37 +00:00
Sebastian Raschka 2876ab0ac3
Updates docs to clarify train_dataloader usage by batch_size_finder (#13171)
* batchfinder clarification

* fix according to precommit hook
2022-06-01 00:22:31 +00:00
Nikhil Shenoy f4f14bb5d8
Removed `weights_summary` argument from Trainer (#13070)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-31 20:31:39 +00:00
Carlos Mocholí 01ebb1f2f5
Avoid changing the current `cudnn.benchmark` value (#13154) 2022-05-31 19:22:19 +00:00
Nikhil Shenoy dd47518322
Removed `flush_logs_every_n_steps` argument from Trainer (#13074)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-05-25 12:47:15 +02:00
Jinyeong chae 29fe1dad15
Fix import statement in tutorial (#13130)
fix tutorial

Co-authored-by: Jiny491 <jiny491@gmail.com>
2022-05-24 19:39:43 +00:00
shantam-8 ddff6c1c7e Rename callbacks/base.py to callbacks/callback.py (#13031) 2022-05-19 13:25:25 +02:00
Carlos Mocholí 42f27c2a34
Update docs about `reduce_fx` (#13101) 2022-05-19 07:24:09 -04:00
rohitgr7 a68fe66705 Update core/lightning.py to core/module.py (#12740) 2022-05-18 08:03:55 +05:30
Nikhil Shenoy 830da2c4a4
Removed `process_position` argument from Trainer Class (#13071) 2022-05-16 13:05:50 +02:00
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