pip Installation¶
CUDA 12.1 Bug
Due to a known bug with CUDA versions greater than 12.1, executing compiled models on Orin Jetpack 5.X may fail.
Cross Compilation Support
Cross compilation allows users to compile for a aarch64
device (say Jetson or Raspberry Pi) on an x86_64
host device (say Intel or AMD CPU). If you wish to compile for aarch64
you will need to install g++-aarch64-linux-gnu
. You can use APT to install this on Ubuntu systems:
sudo apt-get install -y g++-aarch64-linux-gnu
If you meet the following minimum requirements you can proceed with installing via pip. If not, you can install LEIP Design with Docker.
Operating System | Python Version | CUDA Driver |
---|---|---|
Ubuntu 22 | 3.10 | CUDA driver version ≤ 12.1 and compatible NVCC version (as shown by nvcc -V ). |
1. Access Latent AI's Container Repository¶
In order to pull containers or install packages from Latent AI, you'll need to create a personal access token. To do so, follow these steps:
i. Login to the Latent AI Repository¶
- Click the
Sign in
link in the upper right. - Select
Sign In with SSO
. - Enter your access credentials.
ii. Create your Personal Access Token¶
- Click on your profile in the upper right.
- Select
User Token
on the left navigation. - Select the
Access user token
button. - View your user token name and user token pass code.
You can export the token name and token pass code as environment variables:
export REPOSITORY_TOKEN_NAME=<user_token_name>
export REPOSITORY_TOKEN_PASSCODE=<user_token_pass_code>
2. Export License Key¶
You should have received this via email.
Tip
You can persist variables like LICENSE_KEY
across bash
sessions by placing them in your ~/.bashrc
file.
export LICENSE_KEY=key/<license key>
3. Install with pip¶
Install the leip-design
package with the following command:
pip install --extra-index-url https://${REPOSITORY_TOKEN_NAME}:${REPOSITORY_TOKEN_PASS}@repository.latentai.com/repository/pypi/simple leip-design