Axelera AI
This page details installation procedures for the Axelera runtime in PySDK.
Installing the Axelera Runtime and Driver
The following instructions will only install the necessary drivers to use the Axelera AI chip, and will not install the full version of Axelera AI's Voyager SDK. If you wish to install the full SDK, please read their installation instructions.
Create the keyring directory if it doesn't exist.
sudo mkdir -p "$(dirname "/etc/apt/keyrings/axelera.gpg")"Download and store the GPG key.
curl -fsSL "https://software.axelera.ai/artifactory/api/security/keypair/axelera/public" | gpg --dearmor | sudo tee "/etc/apt/keyrings/axelera.gpg" > /dev/nullEnsure correct permissions for the key.
sudo chmod 644 "/etc/apt/keyrings/axelera.gpg"Add the repository source.
echo "deb [signed-by=/etc/apt/keyrings/axelera.gpg] https://software.axelera.ai/artifactory/axelera-apt-source/ stable main" | sudo tee "/etc/apt/sources.list.d/axelera.list" > /dev/nullUpdate APT.
sudo apt updateInstall the packages with specific versions.
sudo apt install -y axelera-runtime-1.4.0 axelera-device-1.4.0 metis-dkms=1.2.2 axelera-riscv-gnu-newlib-toolchain-409b951ba662-7Add Axelera runtime libraries to ldconfig
echo "/opt/axelera/runtime-1.4.0-1/lib" | sudo tee /etc/ld.so.conf.d/axelera.conf > /dev/null
sudo ldconfigPerform a hard reset (power cycle) of your system. A regular restart will prevent the Metis driver from loading correctly.
Last updated
Was this helpful?

