Commit Graph

62 Commits

Author SHA1 Message Date
Adrian Wälchli 5fafe10a25 Lite: Remove legacy code (#15953)
Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
2023-01-19 18:39:36 +01:00
Justus Schock 60f9406dff
rename app `_exit` 2/2 (#16398)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
2023-01-17 14:13:05 +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
Carlos Mocholí 15ef52bc73
Rename LightningLite to Fabric (#16244)
* Rename LightningLite to Fabric

* Fix introspection test

* Fix deprecated Lite tests

* Undo accidental Horovod removal

* Fixes
2023-01-04 10:57:18 -05:00
Ethan Harris 0630444fd4
[App] Add annotations endpoint (#16159) 2022-12-21 12:35:13 +00:00
Ethan Harris 711aec5397
[App] Implement `ready` for components (#16129) 2022-12-20 14:42:45 +00:00
thomas chaton 51ec949657
[App] Resolve some bugs from the Training Studio scaling (#16114)
Co-authored-by: thomas <thomas@thomass-MacBook-Pro.local>
2022-12-19 23:12:55 +00:00
Ethan Harris 2a85d9b257
[App] Add status endpoint, enable `ready` (#16075)
Co-authored-by: thomas chaton <thomas@grid.ai>
2022-12-19 14:10:58 +00:00
thomas chaton 80b7fafcea
[App] Add work.delete (#16103)
Co-authored-by: thomas <thomas@thomass-MacBook-Pro.local>
2022-12-19 11:01:05 +01:00
thomas chaton 22b254f491
[App] Add display name property to the work (#16095)
Co-authored-by: thomas <thomas@thomass-MacBook-Pro.local>
2022-12-18 12:54:15 +00:00
thomas chaton 592b12658a
[App] PoC: Add support for Request (#16047) 2022-12-16 14:19:10 +00:00
Carlos Mocholí 06e1f19f42
Remove the deprecated profiler imports (#16059) 2022-12-15 11:02:33 +01:00
Justus Schock 90a4c0289d
Fix cloudcomputes registration for structures (#15964)
* fix cloudcomputes
* updates cloudcompute registration
* changelog
2022-12-09 12:46:49 +00:00
Ethan Harris e250dfe2b3
[App] Remove `SingleProcessRuntime` (#15933)
* Remove SingleProcessRuntime
* Remove unused queues
* Docs
2022-12-07 23:22:40 +00:00
thomas chaton d2a8fbf6dd
[App] Enable running with spawn context (#15923) 2022-12-07 03:01:31 +00:00
thomas chaton 852089e056
[App] Add ready property to the flow (#15921) 2022-12-06 17:25:42 +00:00
Jirka Borovec ad4bd66df6
hotfix import torch (#15849)
* fix import torch

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

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

* plugin

* fix

* skip

* patch require

* seed

* warn

* .

* ..

* skip True

* 0.0.3

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-28 14:58:29 +01:00
Carlos Mocholí 9e43604df5
Notify the user of ignored requirements (#15799) 2022-11-24 15:09:25 +01:00
thomas chaton 3a99a256d3
[App] Stop App when it has succeeded (#15801) 2022-11-24 11:27:34 +00:00
Jirka Borovec ba140387f9
test for Enable setting property (#15755)
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: Ethan Harris <ethanwharris@gmail.com>
2022-11-21 19:35:45 +00:00
thomas chaton 5cfb176214
[App] Enable properties for the Lightning flow (#15750) 2022-11-21 19:39:51 +01:00
thomas chaton 757413c8e0
[App] Accelerate Multi Node Startup Time (#15650) 2022-11-11 20:08:16 +00:00
thomas chaton 10cdf0dd2c
[App] Introduce Bi-directional queues (#15582)
* update

* update

* update

* update

* update

* udpate

* update

* update

* update

* update

* update

* updatre

* update

* update

* update

* updar

* update

* update

* update

* remove print

* update

* update

* update

* update

* update

* update

* update

* update
2022-11-10 12:21:51 +01:00
thomas chaton f06de83634
[App] Enable debugger with LightningApp (#15590) 2022-11-09 20:46:31 +00:00
thomas chaton 1824ad0636
[App] Hot Fix: Missing root flow in app.flows (#15531) 2022-11-04 15:00:56 +00:00
thomas chaton 984daa6fa2
[App] Add start method to the LightningWork (#15523) 2022-11-04 12:53:48 +01:00
thomas chaton 921dc1cd9a
[App] Resolve inconsistency where the `flow.flows` property isn't recursive leading to flow overrides (#15466)
* update

* update

* update

* update

* update

* resolve attachment

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2022-11-03 22:10:47 +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 b6ebc7b5f5
[App] Add env variables to desactivate pull and push of the App State (#15367) 2022-10-28 13:26:08 +00:00
Sherin Thomas 53d2c0684e
Pick queue type only if specified (#15295)
Pick queue type only if specified (#15295)
2022-10-25 22:17:56 +05:30
Jirka Borovec 56ca4aafee
CI: fix example imports for App as standalone (#15260)
* cleaning

* adjust examples

* fix some imports

* fix imports

* ci

* fixing

* cmd_install._install_app

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

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

* bloody queues

* queue

* mock

* queue

* scope

* win

Co-authored-by: otaj <ota@lightning.ai>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-24 09:52:04 -04:00
thomas chaton 969a323345
[App] Optimise Queues Calls (#15235) 2022-10-21 20:38:09 +00:00
Kaushik B 7354073e6e
App: Remove the unsupported params for CloudCompute (#14852) 2022-10-21 19:37:59 +00:00
thomas chaton 320bca95dd
[App] Enable help without running application (#15196) 2022-10-20 17:45:03 +00:00
thomas chaton 8ec7ddf317
[App] Pass LightningWork to LightningApp (#15215)
* update

* update

* update

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* ll

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
Co-authored-by: Luca Antiga <luca.antiga@gmail.com>
2022-10-20 16:18:06 +02:00
Sherin Thomas bad6253a05
[App] Authentication for HTTP queue (#15202)
[App] Authentication for HTTP queue (#15202)
2022-10-20 17:08:32 +05:30
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
thomas chaton 979d728563
Add Database Component (#14995) 2022-10-19 19:52:12 +00:00
thomas chaton d675d06957
Protect Flow from exception during request processing (#15187) 2022-10-19 18:29:40 +00:00
Pritam Soni 80080550d9
feat: allow root path to run the app on `/path` (#14972)
* feat: add base path
* uvicorn fix arg
* Add prefix
* update with base_path fix
* replace base path with root path
* Apply suggestions from code review

Co-authored-by: Kaushik B <45285388+kaushikb11@users.noreply.github.com>
Co-authored-by: Kaushik B <kaushikbokka@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
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>
2022-10-07 14:09:40 +00:00
Sherin Thomas 129f4fa873
[App/Feature] HTTP Queues (#14978)
[App/Feature] HTTP Queues (#14978)
2022-10-06 16:01:49 +05:30
Ethan Harris 0a9fc22b4f
Fix bug in upload file endpoint (#14924)
Co-authored-by: thomas chaton <thomas@grid.ai>
Co-authored-by: otaj <6065855+otaj@users.noreply.github.com>
2022-10-05 10:05:41 +00:00
thomas chaton b936fd4380
[app] Add CloudCompute ID serializable within the flow and works state (#14819) 2022-10-04 19:46:44 +00:00
Sherin Thomas 53694eb93d
[App/Improvement] Cleaning up Queue abstraction (#14977)
[App/Improvement] Cleaning up Queue abstraction (#14977)
2022-10-04 22:07:31 +05:30
Adrian Wälchli e872b274ca
User-friendly exception when `LightningWork.run()` method is missing (#14759) 2022-09-17 19:45:07 +00:00
Pranjal Datta 8f14184180
Fix property setter override by default setter (#14259) 2022-09-17 07:06:45 +00:00
Adrian Wälchli 51ab51a731
User-friendly exception if root flow does not override the `run()` method (#14760) 2022-09-17 07:25:54 +01:00
thomas chaton 80e2f097e0
(app): Add load_state_dict and state_dict (#14100)
Co-authored-by: manskx <ahmed.mansy156@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
2022-09-12 18:29:23 +00:00