Commit Graph

180 Commits

Author SHA1 Message Date
thomas chaton 61c1f699ea
[App] Enable state broadcast with MultiNode (#15607) 2022-11-11 10:06:40 +00:00
William Falcon d5c0effcfb
Docs 4/n (#15628)
* remove source-lit

* docs

* docs

* docs

* docs

* ic

* deploy

* deploy

* deploy

* deploy

* deploy

* deploy

* Apply suggestions from code review

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

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

* make build run

Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rick Izzo <rick@grid.ai>
2022-11-10 14:48:48 -05:00
Sherin Thomas 136a090f99
Sample datatype for Serve Component (#15623)
* introducing serve component

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

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

* clean up tests

* clean up tests

* doctest

* mypy

* structure-fix

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

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

* cleanup

* cleanup

* test fix

* addition

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

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

* test fix

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

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

* requirements

* getting future url

* url for local

* sample data typeg

* changes

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

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

* prediction

* updates

* updates

* manifest

* fix type error

* fixed test

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Rick Izzo <rick@grid.ai>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-11-10 14:39:36 -05:00
thomas chaton 7ec15ae43a
[App] Rename to new convention (#15621)
* update

* update
2022-11-10 16:19:18 +01:00
Rick Izzo bdd27991eb
Fix: App comment command execution sequencing (#15615)
* fixed condition in which app command comments would not execute before the flow is dispatched

* remove debug print statment

* updated example code

* fix test

* updates to test

Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2022-11-10 07:43:04 -05:00
thomas chaton 47314eafbd
[App] Resolve multi-node cloud bug (#15619)
update
2022-11-10 07:42:19 -05:00
Adrian Wälchli 2076746238
Update Lightning Lite examples (#15599)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2022-11-10 04:16:46 -05:00
thomas chaton f06de83634
[App] Enable debugger with LightningApp (#15590) 2022-11-09 20:46:31 +00:00
thomas chaton 5079ea06cb
[App] Resolve Multi Node examples (#15605)
* update

* update

* update

* update
2022-11-09 19:00:17 +01:00
Rick Izzo 10b945bcc1
Run Command from App Comments (#15577)
* initial work

* this seems to work well

* added example test

* updated docs & logging

* fixed errors

* fix typing error

* now using the --setup flag to decide if we should execute app comment commands or not

* updated tests

* added tests

* added test to ci

* fixed failing tests

* code review

* updates
2022-11-09 09:45:38 -05:00
thomas chaton f9a65731cd
[App] Expose Run Work Executor (#15561) 2022-11-08 12:55:31 +00:00
thomas chaton 820233176b
[App] Fixed Multi Node and add examples (#15557) 2022-11-07 09:36:41 +00:00
thomas chaton ecc8ac07c6
[App] Introduce Multi Node Component (#15524) 2022-11-04 17:41:59 +00:00
thomas chaton 2e72a4c801
Add support for functions (#15098) 2022-10-28 15:06:45 +00:00
Ethan Harris bbf7848a5f
[App] Fix cluster logic (#15383) 2022-10-28 15:35:21 +01:00
Ethan Harris e9a6b83437
[App] Reduce import depths and add test (#15330)
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-10-28 13:57:35 +00:00
thomas chaton df4b705768
Add JustPy Frontend (#15002)
* update

* update

* update

* update

* changelog

* update

* update

* update

* update

* update

* update

* update

* update

* uipdate

* update

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-27 11:48:26 -04:00
thomas chaton bd658441bd
[App] testing `lightning` in `lightning-app` package (#15286)
* hot fix

* update

* update

* update

* cmd

* pkg

* update

* Apply suggestions from code review

* update

* update

* Apply suggestions from code review

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* cleaning

* Apply suggestions from code review

* update

* update

Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2022-10-25 09:24:20 -04:00
Adrian Wälchli 82a75c80d5
Fixes to the K-fold loop example (#15225) 2022-10-22 01:13:25 +02:00
Rick Izzo b6f01ab010
Renamed Mount root_dir Argument to mount_path (#15228)
* renamed Mount argument

* fix tests

* Apply suggestions from code review

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

* updated examples as well

Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2022-10-20 17:33:35 -04: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
Rick Izzo 7a827b09bb
Separate the concept of a Drive from that of a Mount (#15120)
* added mount class and configured it into compute config

* added mount to the cloud runtime dispatcher

* raise error if s3 bucket is passed to a drive telling the user to utilize mounts

* added example for app

* udpated tests

* updated tests

* addressed code review comments

* fix bug

* bugfix

* updates'

* code review comments

* updates

* fixed tests after rename

* fix tests
2022-10-19 23:24:27 -04:00
Ethan Harris 4acb10f981
Add support for command descriptions (#15193) 2022-10-19 17:34:35 +01:00
thomas chaton d11c0d6cc3
Resolve s3 drive issue where the root folder doesn't need to exist locally (#15127) 2022-10-18 14:16:18 +01:00
thomas chaton b936fd4380
[app] Add CloudCompute ID serializable within the flow and works state (#14819) 2022-10-04 19:46:44 +00:00
awaelchli c0ff7a1b77 Add backward-compatibility for LightningLite in PL (#14735) 2022-09-20 13:31:56 +02:00
awaelchli e3e71670e6 Move src/pytorch_lightning/lite to src/lightning_lite (#14735) 2022-09-20 13:31:56 +02:00
thomas chaton 86fd5b22d4
(app) Make Logging DEBUG mode lazy (#14464) 2022-09-12 14:47:24 +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
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
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 6eed72b621
(app) Introduce configure_api and Post, Get, Delete, Put HttpMethods (#13945) 2022-08-11 10:35:00 +00:00
thomas chaton aefb9ab43f
(app) Introduce LightningTrainingComponent (#13830) 2022-07-29 16:44:52 +02:00
thomas chaton 4c35867b61
[App] Introduce Commands (#13602) 2022-07-25 17:13:46 +00:00
Adrian Wälchli a8d7b4476c
Fix PyTorch spelling errors (#13774)
* Fix PyTorch spelling errors

* more
2022-07-25 12:51:16 -04:00
Carlos Mocholí 4f53e7132f
Promote the CLI out of utilities (#13767) 2022-07-23 12:07:29 +00:00
Mansy b822ac1d3e
Add CI app cloud e2e & fix setup UI download (#13499)
* Add CI app e2e
* update UserID
* fix apps cleanup
* download frontend inside setup.py

Co-authored-by: mansy <mansy@lightning.ai>
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: Jirka Borovec <Borda@users.noreply.github.com>
2022-07-17 20:19:01 +02:00
thomas chaton 2a873da042
Add --app_args support from the CLI (#13625) 2022-07-15 19:12:40 +01: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
Mansy 2ea35182e0
Add lightning app examples (#13456)
* add lightning app examples

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

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

* fix CI

* rm init

* restucture app examples

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

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

* img

Co-authored-by: mansy <mansy@lightning.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-06-30 16:45:15 -04:00
Keiichi Kuroyanagi 1c05a9e597
[Docs] Fix README.md in lightning/examples/pl_basics (#13380)
* Change the path of the command execution folder from mnist_examples to convert_from_pt_to_pl

* Add a guide to add PYTHONPATH

* Fix Lightning Lite link

* Remove duplicate

* Add note

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
2022-06-30 00:18:07 +09:00
awaelchli fc1559e41c Rename 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
Rohit Gupta e21490b9bb
Update old PL links (#13349) 2022-06-21 16:38:04 +02:00
Prajwal Borkar 554056c21a
[DOCS] Updated link for lightning_lite.rst (#13331)
Updated link
2022-06-18 15:34:16 -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
William Falcon b0281395bf changes examples to pl_examples for name connflict 2019-10-19 00:41:17 +02:00
William Falcon e1b45ca492 working on dp state fix 2019-10-19 00:26:50 +02:00
William Falcon e611223dc8 working on dp state fix 2019-10-19 00:26:31 +02:00
William Falcon 4c7c933326 fix demo 2019-10-16 09:25:34 -04:00
William Falcon f14700a16a fix demo 2019-10-16 09:25:26 -04:00