Use the following steps for installation:
- Install Docker, if Docker is not installed on your machine.
- Follow the Post-installation steps for Linux to ensure that your Linux user is in the group Docker.
- Clone the Vitis AI repository
to obtain the examples, reference code, and
scripts.
git clone --recurse-submodules https://github.com/Xilinx/Vitis-AI cd Vitis-AI
-
Run Docker Container
Refer to https://github.com/Xilinx/Vitis-AI for the dedicated docker version number.
- Run the CPU image from Docker
Hub:
docker pull xilinx/vitis-ai:<x.y.z> ./docker_run.sh xilinx/vitis-ai
- Build the CPU image locally and run
it:
cd setup/docker ./docker_build_cpu.sh # After build finished cd .. ./docker_run.sh xilinx/vitis-ai-cpu:<x.y.z>
- Build the GPU image locally and run
it:
cd setup/docker ./docker_build_gpu.sh # After build finished cd .. ./docker_run.sh xilinx/vitis-ai-gpu:<x.y.z>
- Run the CPU image from Docker
Hub: