Installing the Tools - 2.0 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2022-01-20
Version
2.0 English
Use the following steps for installation:
  1. Install Docker, if Docker is not installed on your machine.
  2. Follow the Post-installation steps for Linux to ensure that your Linux user is in the group Docker.
  3. 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
  4. Run Docker Container

    Refer to https://github.com/Xilinx/Vitis-AI for the dedicated docker version number.

    1. Run the CPU image from Docker Hub:
      docker pull xilinx/vitis-ai:<x.y.z>
      ./docker_run.sh xilinx/vitis-ai
    2. 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>
    3. 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>