Setting Up the Host - 1.4 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2021-07-22
Version
1.4 English
The following two options are available for installing the containers with the Vitis AI tools and resources.
  1. Pre-built containers on Docker Hub: xilinx/vitis-ai
  2. Build containers locally with Docker recipes: Docker Recipes
Use the following steps for installation:
  1. Install Docker - If Docker not installed on your machine yet.
  2. Ensure 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
    • Run the CPU image from docker hub
      docker pull xilinx/vitis-ai:latest
      ./docker_run.sh xilinx/vitis-ai
    • Build the CPU image locally and run it
      cd docker
      ./docker_build_cpu.sh
      
      # After build finished
      cd ..
      ./docker_run.sh xilinx/vitis-ai-cpu:latest
    • Build the GPU image locally and run it
      cd docker
      ./docker_build_gpu.sh
      
      # After build finished
      cd ..
      ./docker_run.sh xilinx/vitis-ai-gpu:latest