Lightning App - API References¶
Core¶
The Lightning App, or App in short runs a tree of one or more components that interact to create end-to-end applications. |
|
The LightningFlow is used by the |
|
LightningWork, or Work in short, is a building block for long-running jobs. |
Learn more about Lightning Core.
Built-in Components¶
|
|
|
The Database Component enables to interact with an SQLite database to store some structured information about your application. |
The PopenPythonScript component enables to easily run a python script within a subprocess. |
|
The TracerPythonScript class enables to easily run a python script. |
|
This component enables performing distributed multi-node multi-device training. |
|
The ServeGradio Class enables to quickly create a |
|
The ModelInferenceAPI Class enables to easily get your model served. |
|
|
The PythonServer Class enables to easily get your machine learning server up and running. |
|
The |
|
This component enables performing distributed multi-node multi-device training. |
|
This component enables performing distributed multi-node multi-device training. |
|
This component enables performing distributed multi-node multi-device training. |
|
This component enables performing distributed multi-node multi-device training. |
|
The |
|
ColdStartProxy allows users to configure the load balancer to use a proxy service while the work is cold starting. |
Frontend’s¶
Base class for any frontend that gets exposed by LightningFlows. |
|
A frontend that serves static files from a directory using FastAPI. |
|
A frontend for wrapping Streamlit code in your LightingFlow. |
Learn more about Frontend’s.
Storage¶
A drop-in replacement for |
|
The Drive object provides a shared space to write and read files from. |
|
The Payload object enables to transfer python objects from one work to another in a similar fashion as |
|
Allows you to mount the contents of an AWS S3 bucket on disk when running an app on the cloud. |
Learn more about Storage.
Runners¶
Runtime to launch the LightningApp into multiple processes. |
lightning_app.utilities.packaging¶
|
Configure the cloud runtime for a lightning work or flow. |
|
The Build Configuration describes how the environment a LightningWork runs in should be set up. |