Skip to content

Lightning-Universe/lightning-quick-start

Repository files navigation

Lightning Quick Start App

Install Lightning

pip install lightning[app]

Locally

In order to run the application locally, run the following commands

pip install -r requirements.txt
lightning run app app.py

Cloud

In order to run the application cloud, run the following commands

On CPU

lightning run app app.py --cloud

On GPU

USE_GPU=1 lightning run app app.py --cloud

Adding HPO support to Quick Start App.

Using Lightning HPO, you can easily convert the training component into a Sweep Component.

pip install lightning-hpo
lightning run app app_hpo.py

Learn how it works

The components are here and the code is heavily commented.

Once you understand well this example, you aren't a beginner with Lightning App anymore 🔥

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages