Skip to main content
Version: v1.8

Install the Voyager SDK

There are two installation paths. Python pip is recommended for new installations.

important

Platform note These instructions are for Linux (Ubuntu 22.04+). For Windows, see the Windows Setup Guide — you will need WSL2 configured first.

PathBest forWhat it installs
Python pip (recommended)New installations, SDK 1.6+axelera-rt, axelera-devkit via pip
SDK InstallerExisting workflows, older SDK versionsFull environment via install.sh

Prerequisites​

  • Ubuntu 22.04 or later
  • Python 3.10, 3.11, 3.12, or 3.13
  • Git installed
  • Internet connection
  • sudo privileges
  • Metis hardware installed and powered on (see Hardware Installation)

Python pip installation​

note

Always refer to the Compatibility Matrix for the versions

Step 1: Clone the repository and install dependencies​

git clone https://github.com/axelera-ai-hub/voyager-sdk.git
cd voyager-sdk
note

git clone checks out latest. To work against a specific release, check out its branch, for example git checkout release/vX.Y.

Install system dependencies using the provided script:

./install-dependencies.sh

Step 2: Create a virtual environment and install​

python3 -m venv axelera-env
source axelera-env/bin/activate
pip install --extra-index-url https://software.axelera.ai/artifactory/api/pypi/axelera-pypi/simple axelera-rt axelera-devkit[all]
make operators
tip

Use a dedicated virtual environment for each SDK version or project to avoid dependency conflicts.

Step 3: Install the Metis kernel driver​

note

If installation of the driver fails, ensure your kernel headers are present: sudo apt-get install -y linux-headers-$(uname -r)

There are two ways of installing the driver, Option a) is the easiest.

Option a) use axdevice​

axdevice driver --install

By default, axdevice will default to installing the recommended driver version

Option b) use apt​

# Add the Axelera apt repository
sudo sh -c "curl -fsSL https://software.axelera.ai/artifactory/api/security/keypair/axelera/public | gpg --dearmor -o /etc/apt/keyrings/axelera.gpg"
# Ubuntu 22.04
sudo sh -c "echo 'deb [signed-by=/etc/apt/keyrings/axelera.gpg] https://software.axelera.ai/artifactory/axelera-apt-source ubuntu22 main' > /etc/apt/sources.list.d/axelera.list"
# Ubuntu 24.04
sudo sh -c "echo 'deb [signed-by=/etc/apt/keyrings/axelera.gpg] https://software.axelera.ai/artifactory/axelera-apt-source ubuntu24 main' > /etc/apt/sources.list.d/axelera.list"

sudo apt-get update
sudo apt-get install -y metis-dkms

Verify the driver is loaded:

lsmod | grep metis

Verify the loaded driver version:

modinfo metis | grep ^version:

Reload the driver:

sudo modprobe -r metis
sudo modprobe metis

Step 4: Verify installation​

axdevice

Expected output lists detected Metis devices with their firmware versions. If no devices are listed, run axdevice --refresh and check that the driver is loaded.

Slimmed-down environments​

For deployment-only or compile-only machines:

EnvironmentInstall command
Runtime onlypip install --extra-index-url https://software.axelera.ai/artifactory/api/pypi/axelera-pypi/simple axelera-rt
Compiler onlypip install --extra-index-url https://software.axelera.ai/artifactory/api/pypi/axelera-pypi/simple axelera-devkit

Proceed to Verify Your Setup.


SDK Installer​

warning

Deprecation warning. This installer is deprecated and will be removed in a future release

note

The SDK Installer is the previous installation method. For new installations, the pip path above is recommended.

Quickstart​

For returning users — the full install sequence:

git clone https://github.com/axelera-ai-hub/voyager-sdk.git
cd voyager-sdk
./install.sh --all --media
source venv/bin/activate
note

git clone checks out latest. To work against a specific release, check out its branch, for example git checkout release/vX.Y.

Details for each step below.

Step 1: Clone the repository​

git clone https://github.com/axelera-ai-hub/voyager-sdk.git
cd voyager-sdk

This downloads the latest release branch. The repository contains:

Directory/FilePurpose
install.shInstaller
inference.pyPipeline evaluation and benchmarking tool
deploy.pyPipeline deployment tool
ax_models/Models and pipelines
examples/Example applications
docs/Documentation

Step 2: Run the installer​

cd voyager-sdk
./install.sh --all --media

The installer sets up:

  • Metis PCIe driver (installed to /lib/modules)
  • Runtime libraries (installed to /opt/axelera/\<version\>)
  • Python virtual environment (installed to ~/.cache/axelera/venvs, symlinked to ./venv)
  • Sample media files for evaluation (the --media flag)
note

You must re-run the installer each time you checkout a different SDK release branch.

Installer options​

OptionWhat it does
--all --mediaFull install with sample videos (recommended for first setup)
--allFull install without sample videos
--runtime --no-developmentRuntime only (for deployment machines)
--helpShow all available options

Multiple PCIe cards​

If running multiple PCIe cards on the same host, increase the open file descriptor limit:

ulimit -n 10240

Step 3: Activate the development environment​

danger

Every terminal session You must activate the environment in every new terminal session before using the SDK. This is the most common setup issue.

source venv/bin/activate

The activation script sets the following environment variables:

VariableDescription
AXELERA_FRAMEWORKLocation of the Voyager repository
AXELERA_RUNTIME_DIRHost runtime libraries for Metis
AXELERA_DEVICE_DIRMetis firmware and low-level binaries
LD_LIBRARY_PATHAdds Voyager runtime libraries to the system path
PYTHONPATHAdds Voyager SDK to the Python path

To leave the environment:

deactivate
warning

After switching SDK versions If you use git checkout to switch to a different release branch, you must deactivate and reactivate the environment. The environment variables are tied to the branch you installed on.

deactivate
source venv/bin/activate

Switching SDK versions​

To return to the latest release at any time:

git fetch --tags
git checkout latest
./install.sh --all
source venv/bin/activate

The latest tag always points to the current stable release. To switch to a specific older version instead:

git checkout tags/v1.5.0
./install.sh --all
source venv/bin/activate

Next steps​

Your SDK is installed and activated. Proceed to Verify Your Setup.