Commit Graph

14 Commits

Author SHA1 Message Date
Jirka Borovec f697fff5db
docs: rename source-app (#16863)
* docs: rename source-app

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

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

* ci

* group check

* trigger

* param

* fix

* cleaning

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-28 10:04:43 +01:00
Jirka Borovec 0be025e8b7
rename docs/source-app & adjust docs links for lightning (#16676)
* update CI

* config / import

* lightning_app imports

* source/ dir

* html

* ci: dirs

* pr

* req dir

* on push

* rename

* drop

* cleaning
2023-02-13 10:59:02 +01:00
Jirka Borovec 3f365c8997
docs: move `assets_lightning` to pl-public-data (#16419) 2023-01-24 22:55:53 +00:00
Justus Schock e61bead324
rename flow _exit (#16378)
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-01-17 11:06:50 +00:00
Laverne Henderson 70126df494
Added note about custom base images (#14125)
Co-authored-by: awaelchli <aedu.waelchli@gmail.com>
2022-11-26 21:58:38 +00:00
William Falcon 9328da439b
docs updates 1/n (#15473)
* docs

* docs updates

* docs updates

* docs updates

* docs updates

* d

* d

* d

* d

* d

* d

* ??

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d1

* d

* d

* d

* d

* d

* d

* d

* d

* d

* d

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* new title

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

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

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

* only select from parent

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

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

* use OSS template

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

* only select from parent

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

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

* Update docs/README.md

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

Co-authored-by: William Falcon <williamfalcon@Williams-MacBook-Pro-2.local>
Co-authored-by: William Falcon <williamfalcon@Williams-MBP-2.lan>
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>
2022-11-03 10:55:30 -04:00
Raphael Randschau 13baad56e4
Add support for custom cloud compute configurations for Flows (#14831)
* use more recent lightning cloud launcher

* allow LightningApp to use custom cloud compute for flows

* feedback from adrian

* adjust other cloud tests

* update

* update

* update commens

* Update src/lightning_app/core/app.py

Co-authored-by: Sherin Thomas <sherin@grid.ai>

* Close profiler when `StopIteration` is raised (#14945)

* Find last checkpoints on restart (#14907)


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

* Remove unused gcsfs dependency (#14962)

* Update hpu mixed precision link (#14974)

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

* Bump version of fsspec (#14975)

fsspec verbump

* Fix TPU test CI (#14926)

* Fix TPU test CI

* +x first

* Lite first to uncovert errors faster

* Fixes

* One more

* Simplify XLALauncher wrapping to avoid pickle error

* debug

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

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

* Debug commit successful. Trying local definitions

* Require tpu for mock test

* ValueError: The number of devices must be either 1 or 8, got 4 instead

* Fix mock test

* Simplify call, rely on defaults

* Skip OSError for now. Maybe upgrading will help

* Simplify launch tests, move some to lite

* Stricter typing

* RuntimeError: Accessing the XLA device before processes have spawned is not allowed.

* Revert "RuntimeError: Accessing the XLA device before processes have spawned is not allowed."

This reverts commit f65107ebf3.

* Alternative boring solution to the reverted commit

* Fix failing test on CUDA machine

* Workarounds

* Try latest mkl

* Revert "Try latest mkl"

This reverts commit d06813aa67.

* Wrong exception

* xfail

* Mypy

* Comment change

* Spawn launch refactor

* Accept that we cannot lazy init now

* Fix mypy and launch test failures

* The base dockerfile already includes mkl-2022.1.0 - what if we use it?

* try a different mkl version

* Revert mkl version changes

Co-authored-by: awaelchli <aedu.waelchli@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>

* Trainer: fix support for non-distributed PyTorch (#14971)

* Trainer: fix non-distributed use
* Update CHANGELOG

* fixes typing errors in rich_progress.py (#14963)

* revert default cloud compute rename

* allow LightningApp to use custom cloud compute for flows

* feedback from adrian

* update

* resolve merge with master conflict

* remove preemptible

* update CHANGELOG

* add basic flow cloud compute documentation

* fix docs build

* add missing symlink

* try to fix sphinx

* another attempt for docs

* fix new test

Signed-off-by: Jerome <janand@habana.ai>
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Sherin Thomas <sherin@grid.ai>
Co-authored-by: Ziyad Sheebaelhamd <47150407+ziyadsheeba@users.noreply.github.com>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
Co-authored-by: Jerome Anand <88475913+jerome-habana@users.noreply.github.com>
Co-authored-by: awaelchli <aedu.waelchli@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>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: DP <10988155+donlapark@users.noreply.github.com>
2022-10-25 11:29:15 -07:00
Kaushik B 7354073e6e
App: Remove the unsupported params for CloudCompute (#14852) 2022-10-21 19:37:59 +00:00
Sherin Thomas deaadc157b
(app) Documentation fix for Work resources (#14182) 2022-08-15 09:35:10 -04:00
Laverne Henderson 52f3775bb5
Doc Terminology updates (#13972)
* Doc Terminology updates

* API updates
2022-08-03 15:59:37 -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
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