To improve the user experience, the Vitis AI Runtime packages, VART samples, Vitis-AI-Library samples and models have been built into the board image. The examples are pre-compiled. Therefore, you do not need to install Vitis AI Runtime packages and model package on the board separately. However, you can still install the model or Vitis AI Runtime on your own image or on the official image by following these steps.
Establish an Ethernet connection and copy the Vitis™ AI runtime (VART) package from GitHub to the evaluation board. Then, set up a Vitis AI running environment for the ZCU102 board.
- Download the vitis-ai-runtime-3.0.x.tar.gz from here. Untar it and copy the following
files to the board using
tar -xzvf vitis-ai-runtime-3.0.x.tar.gz scp -r vitis-ai-runtime-3.0.x/aarch64/centos root@IP_OF_BOARD:~/Note: You can take the rpm package as a normal archive, and extract the contents on the host side, if you only need some of the libraries. Only model libraries can be independent, while the others are common libraries. The operation command is as follows.
rpm2cpio libvart-3.0.x-r<x>.aarch64.rpm | cpio -idmv
- Log in to the board using ssh. You can also use the serial port to log in.
- Install the Vitis AI runtime. Execute the
following commands in
You can also execute the following command to install the library one by one.
cd ~/centos bash setup.sh
cd ~/centos rpm -ivh --force libunilog-3.0.0-r<x>.aarch64.rpm rpm -ivh --force libxir-3.0.0-r<x>.aarch64.rpm rpm -ivh --force libtarget-factory-3.0.0-r<x>.aarch64.rpm rpm -ivh --force libvart-3.0.0-r<x>.aarch64.rpm rpm -ivh --force libvitis_ai_library-3.0.0-r<x>.aarch64.rpm
After the installation is complete, the Vitis AI Runtime library will be installed under /usr/lib.