Commit Graph

1508 Commits

Author SHA1 Message Date
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
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
Kaushik B 9cd6d0f6ad
Add HPU Accelerator column to the precision doc (#12499) 2022-03-29 04:36:13 +02:00
Kaushik B 486f07be7b
Add notes to Trainer docs when devices flag is not defined (#12155)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-03-28 21:10:20 +00:00
Kaushik B f57f2d509e
Fix reference link in Benchmarking doc (#12486) 2022-03-28 20:21:11 +02:00
Rohit Gupta fe12bae704
Update Slack link (#12460) 2022-03-28 19:27:51 +02:00
Kushashwa Ravi Shrimali 31be799a95
Doc Fix: Passing `datamodule` argument to `trainer.tune` is supported (#12406)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-03-28 15:46:15 +00:00
Rohit Gupta fdcc09cf95
Update old device flags (#12471) 2022-03-28 16:44:59 +02:00
William Falcon 53d1c03394
Docs clean up 1/n (#12477) 2022-03-28 12:35:59 +00:00
Carlos Mocholí 939d56c6d6
Drop PyTorch 1.7 support (#12432) 2022-03-27 21:31:20 +00:00
Adrian Wälchli ef8f49a6e0
fix title levels (#12470) 2022-03-27 12:29:58 -07:00
Kaushik B e0723369a3
Update Introduction docs page to "Lightning in 2 Steps" (#12357)
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2022-03-27 14:34:32 +00:00
Rohit Gupta 48f171006d
Avoid fallback on CPU if no devices are provided (#12410) 2022-03-25 15:59:06 +00:00
Rohit Gupta 5d015e7ae8
Add and update readme for docs and tests (#12348) 2022-03-25 15:33:54 +00:00
Kaushik B 28dac0c8d9
Update tpu_cores flag with accelerator and devices flag (#12158) 2022-03-25 11:57:02 +00: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
ananthsub 4651c11178
Centralize DDP speedups in docs (#12448) 2022-03-24 20:11:02 -07:00
Danielle Pintz 6329be60be
Replace PostLocalSGDOptimizer with a dedicated model averaging component (#12378) 2022-03-24 17:33:19 -07:00
jjenniferdai ec7fa1e2d8
[docs] Update `checkpointing.rst` and `callbacks.rst` for Stateful support (#12351) 2022-03-24 17:20:21 -07:00
Kaushik B f740085678
Add Progress Bar to docs (#11359)
Co-authored-by: Ethan Harris <ewah1g13@soton.ac.uk>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-03-24 06:27:10 +00:00
Danielle Pintz 0e6e0715f2
Update logging docs (#12245)
* Update logging docs

* fix text size issue

* put back Log Writing Frequency section
2022-03-24 03:52:05 +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
Carlos Mocholí cf3bc728b1
Add docs and message for DDP static graph (#12411) 2022-03-23 14:16:20 +00:00
Akash Kwatra bc1c8b926c
Deprecate `BaseProfiler` in favor of `Profiler` (#12150)
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
2022-03-21 20:17:03 +00:00
Carlos Mocholí 5d190eabd2
Clarify what's the PyTorch profiler used in docs (#12392)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-03-21 17:33:48 +00:00
ananthsub 4277845fa7
Add support for specifying process group backend to relevant distributed strategies (#11745) 2022-03-17 23:38:03 -07:00
Danielle Pintz 2360049744
Deprecate `LightningModule.use_amp` (#12315) 2022-03-18 03:49:18 +01:00
Carlos Mocholí bc812077c4
Fix CLI snippet in the docs (#12275) 2022-03-16 14:58:28 +05:30
Carlos Mocholí 8fa156948a
Add `LightningCLI(auto_registry)` (#12108) 2022-03-08 12:26:10 -05:00
jjenniferdai f3253070c4
Deprecate `LightningDataModule.on_save/load_checkpoint` (#11893) 2022-03-07 18:21:46 -08:00
Carlos Mocholí aea96e45a4
Integrate global step with progress tracking (#11805) 2022-03-07 19:21:37 +00:00
Kaushik B 9b011606f3
Add callout items to the Docs landing page (#12196)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
2022-03-07 12:46:22 +04:00
Adrian Wälchli d0d41737ab
fix str to_device section in converting.rst (#12243) 2022-03-07 09:04:21 +01:00
Kaushik B a14783ea8c
Add Strategy page to docs (#11441)
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-03-06 00:37:48 +00:00
Aki Nitta ce956af4f2
Fix "Get Started" at the top being 404 (#12210) 2022-03-06 00:24:15 +01:00
ananthsub 9c3d6b8fc7
Deprecate `LightningModule.on_pretrain_routine_{start/end}` (#12122) 2022-03-04 22:17:08 -08:00
Rohit Gupta 15181fce6c
Rename some doc files (#12163) 2022-03-03 10:19:05 +00:00
Adrian Wälchli d4d197070f
Add `SyncBatchNormPlugin` (#11754)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
2022-03-01 19:41:40 +05:30
Kaushik B f3c2a1338c
Update API references for Callbacks (#11350)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-03-01 13:53:03 +00:00
Kaushik B 5a2b0d6319
Add Lightning Ecosystem to docs (#11399)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-03-01 19:05:35 +05:30
zredeaux65 a110bbfe1a
Spelling and grammar updates in documentation (#11861)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-03-01 11:19:44 +00:00
Kaushik B 33fc3f1e11
Update API references for Core API (#11352) 2022-03-01 11:55:04 +05:30
Danielle Pintz 0fe3379fa4
Deprecate `weights_save_path` from the Trainer constructor (#12084)
Co-authored-by: Kaushik B <45285388+kaushikb11@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: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-02-28 22:45:26 +00:00
Carlos Mocholí 6309a59c3c
Do not prefetch when possible (#12101) 2022-02-28 18:31:18 +00:00
John Kilpatrick ed7ccca5df
Add missing import statements in lightning_module.rst (#11946) 2022-02-28 17:28:29 +00:00
Kaushik B a52a6ea030
Add support for pluggable Accelerators (#12030)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
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: Carlos Mocholi <carlossmocholi@gmail.com>
2022-02-28 21:36:23 +05:30
Rohit Gupta 17bb815d01
Add `estimated_stepping_batches` property to `Trainer` (#11599) 2022-02-28 12:40:48 +00:00
AJSVB 4daa7ce325
Update `validation_epoch_end` docs (#12099)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-02-28 11:48:30 +00:00
Krishna Kalyan 29d5afbda6
Deprecate callback hooks `on_pretrain_routine_{start,end}` (#11794)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-02-24 19:32:48 +00:00
Kushashwa Ravi Shrimali 00211c1de3
Default `benchmark` based on `deterministic` flag (#11944)
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-02-24 19:06:03 +00:00
Kaushik B 11bd176d2f
Add XLA Profiler section to docs (#11436)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-02-22 05:21:41 +00:00
Danielle Pintz 60fe1520fd
Remove calls to profile `model_forward` (#12032)
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
2022-02-21 23:32:38 +00:00
chaddy 4c57155d14
Fix typos on new-project page (#11942)
Co-authored-by: Chaddie <chaddie.paik@webtoonscorp.com>
Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-02-21 22:08:26 +00:00
John Kilpatrick b5c135896f
Fix missing imports in converting.rst (#11945) 2022-02-21 22:26:18 +01:00
zredeaux65 70f9c6fda3
PyTorch documentation updates (#11739)
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: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Ethan Harris <ethanwharris@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-02-21 21:21:12 +00:00
Carlos Mocholí ab2e326e01
Clarify `val_check_interval` description (#11951)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
2022-02-21 21:20:34 +00:00
Kaushik B ed863dd3e7
Update Bagua section example (#11899) 2022-02-21 20:51:58 +01:00
Rohit Gupta f811284136
Update PT to PL conversion doc (#11397)
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Ethan Harris <ewah1g13@soton.ac.uk>
2022-02-22 01:17:03 +05:30
ananthsub cf64f34434
Refactor `Strategy._move_optimizer_states` as utility functions (#11758)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-02-18 08:36:07 +00:00
edward-io 87bd54aedf
fix typos (#11937) 2022-02-16 17:27:51 -08:00
amin-nejad a143a5280e Update trainer.rst 2022-02-16 09:03:48 -05:00
Danielle Pintz 0e68734ddd
Make default logger name "lightning_logs" (#11762)
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-02-10 15:19:18 +05:30
Akash Kwatra a2d8c4f6a6
Create loggers property for Trainer and LightningModule (#11683)
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Danielle Pintz <38207072+daniellepintz@users.noreply.github.com>
2022-02-09 23:39:41 +01:00
Rohit Gupta e3820da28a
Update inference doc (#11428) 2022-02-09 12:39:31 +00:00
Rohit Gupta 581bf7f2f2
Deprecate `on_epoch_start/on_epoch_end` hook (#11578) 2022-02-07 14:15:27 +00:00
Krishna Kalyan f509e40ae3
Deprecate `on_before_accelerator_backend_setup` callback hook (#11655)
Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
2022-02-07 11:07:21 +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
wangraying 8c07d8bf90
Add `Trainer(strategy="bagua")` (#11146)
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
Co-authored-by: Justus Schock <12886177+justusschock@users.noreply.github.com>
Co-authored-by: Sean Naren <sean@grid.ai>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: ananthsub <ananth.subramaniam@gmail.com>
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-02-04 17:02:09 +00:00
Rohit Gupta 4d72110b51
Deprecate `on_batch_start/on_batch_end` callback hooks (#11577) 2022-02-03 19:51:56 +00:00
Rohit Gupta 478c6085df
Update debugging doc (#11445)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-02-03 19:02:01 +00:00
Rohit Gupta 400201712f
added warning for distributedsampler in case of evaluation (#11479) 2022-02-03 18:42:13 +00:00
Rohit Gupta 67438fc2f1
Refine style guide (#11394) 2022-02-03 06:17:18 +00:00
Anton Schwaighofer f935319622
Allow a `CombinedLoader` as the training data in DDP (#11648)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-02-03 04:01:20 +00:00
Saurabh Varshneya d0e1f92c86
Update new-project.rst (#11593)
A small typo in one of the code blocks. "self.encoded" should be replaced by "self.encoder"
2022-02-03 03:34:27 +00:00
Carlos Mocholí 3d3172d3da
[CLI] Support shorthand for loggers (#11533) 2022-02-03 02:58:14 +00:00
Akash Kwatra d5aa7717aa
Remove experiment property from abstract class (#11603)
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-02-03 01:51:34 +00:00
Rohit Gupta 3eee8f18cf
Sort simple profiler summary based on mean duration (#11671) 2022-02-02 20:44:42 +00:00
Manan Goel 1a25363617
Fixed wandb logger documentation (#11540) 2022-01-20 13:54:44 +00:00
Rohit Gupta a57cf2a0d3
Update Model Parallel doc (#11465) 2022-01-19 11:30:03 +00:00
Thomas Vetterli 0fbb419c68
Replacing latest tag with 0.4.0 for lightning-bolts links (#10440) 2022-01-18 16:47:48 +01:00
Rohit Gupta 596c1bc49a
Update profiler doc (2/n) (#11430)
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2022-01-17 20:26:11 +00:00
Rohit Gupta 965cf4e1b1
Update speed docs (#11044)
Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Aki Nitta <nitta@akihironitta.com>
2022-01-16 19:27:36 +00:00
Jirka Borovec f9c3619eeb
update tutorials (#11402) 2022-01-16 04:08:11 +00:00
Rohit Gupta 9771e7dff6
Update introduction docs (#11140) 2022-01-13 21:11:43 +00:00
Rohit Gupta 96a53382ac
Update utilities API references (#11450) 2022-01-13 13:22:58 +00:00
Rohit Gupta 00d1758bac
Update training tricks docs (#11169) 2022-01-12 16:26:03 +00:00
Rohit Gupta 3813a32fce
Refine debugging doc (#11390) 2022-01-12 15:18:21 +00:00
Rohit Gupta 2d0dd1c445
Refine remote fs doc (#11393) 2022-01-12 13:51:24 +00:00
Rohit Gupta 221091afc4
move profiler docs (#11431) 2022-01-12 05:56:16 +00:00