Install

The recommended way to install LitServe for 99% of users is to use pip:

pip install litserve

Advanced installation

Conda

We don't yet have an official conda distribution, but you can still use pip with conda

conda activate your-env
conda install litserve -c conda-forge

Install master

Install the latest LitServe from master with this command:

pip install git+https://github.com/Lightning-AI/litserve.git@main

From source

Use this to install LitServe for local development or to change the internals and submit a pull request 😉

git clone https://github.com/Lightning-AI/LitServe
cd LitServe
pip install -e '.[all]'

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close