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 precompiled. 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.
With an Ethernet connection established, copy the Vitis™ AI runtime (VART) package from github to the evaluation board and set up a Vitis AI running environment for the ZCU102 board.
- Download the vitis-ai-runtime-1.3.x.tar.gz from here. Untar it and copy the following
files to the board using
scp.
tar -xzvf vitis-ai-runtime-1.3.x.tar.gz scp -r vitis-ai-runtime-1.3.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-1.3.0-r<x>.aarch64.rpm | cpio -idmv
- Log in to the board using ssh. You can also use the serial port to login.
- Install the Vitis AI runtime.
Execute the following commands in
order.
cd ~/centos rpm -ivh --force libunilog-1.3.0-r<x>.aarch64.rpm rpm -ivh --force libxir-1.3.0-r<x>.aarch64.rpm rpm -ivh --force libtarget-factory-1.3.0-r<x>.aarch64.rpm rpm -ivh --force libvart-1.3.0-r<x>.aarch64.rpm
If you want to run the example based on Vitis-AI-Library, execute the following command to install the Vitis-AI-Library runtime package.rpm -ivh --force libvitis_ai_library-1.3.0-r<x>.aarch64.rpm
After the installation is complete, the Vitis AI Runtime library will be installed under /usr/lib.