Skip to content

Install Latent Runtime Engine (LRE)

Now that we've retrieved our Personal Access Token, let's install LRE. If you exported your User Token Name and Passcode in the previous step, you can run the following code directly (otherwise, enter those values where indicated).

Configuration

Select your target platform configuration below to see the requirements and installation instructions.

Platform
Linux
Android
Architecture
x86_64
ARM64
Compute
NVIDIA GPU
Adreno
CPU
API
Python
C++
Java
System Requirements
Select a configuration above to view system requirements
Installation Instructions
# Select a configuration above to view installation instructions

C++ Users:

Add Latent AI's APT repository with GPG verification

wget -qO - https://public.latentai.io/add_apt_repository.sh | bash

Python Users:

Installing the latest PyLRE version

To ensure you're using the latest version of PyLRE, we recommend installing it in a fresh Python virtual environment. Alternatively, add --force-reinstall to your pip install command to ensure the latest version is installed.