lightning.app.components

Built-in Components

DatabaseClient

Database

The Database Component enables to interact with an SQLite database to store some structured information about your application.

PopenPythonScript

The PopenPythonScript component enables to easily run a python script within a subprocess.

TracerPythonScript

The TracerPythonScript class enables to easily run a python script.

LightningTrainerScript

This component enables performing distributed multi-node multi-device training.

ServeGradio

The ServeGradio Class enables to quickly create a gradio based UI for your LightningApp.

ModelInferenceAPI

The ModelInferenceAPI Class enables to easily get your model served.

PythonServer

The PythonServer Class enables to easily get your machine learning server up and running.

ServeStreamlit

The ServeStreamlit work allows you to use streamlit from a work.

MultiNode

This component enables performing distributed multi-node multi-device training.

FabricMultiNode

This component enables performing distributed multi-node multi-device training.

PyTorchSpawnMultiNode

This component enables performing distributed multi-node multi-device training.

LightningTrainerMultiNode

This component enables performing distributed multi-node multi-device training.

AutoScaler

The AutoScaler can be used to automatically change the number of replicas of the given server in response to changes in the number of incoming requests.

ColdStartProxy

ColdStartProxy allows users to configure the load balancer to use a proxy service while the work is cold starting.