Xilinx / Vitis-AI

Vitis AI is Xilinx’s development stack for AI inference on Xilinx hardware platforms, including both edge devices and Alveo cards.
https://www.xilinx.com/ai
Apache License 2.0
1.47k stars 630 forks source link

Running docker_build_gpu.sh Failed #769

Open suntong30 opened 2 years ago

suntong30 commented 2 years ago

I tried v1.3.1, v1.4.1, v2.0, and they all occurred with the same CMake error when I running the ./docker_build_gpu.sh

the error log is:

... -- The CXX compiler identification is GNU 9.4.0 -- The C compiler identification is GNU 9.4.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.10") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /usr/src/gtest/build Scanning dependencies of target gtest [ 25%] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 50%] Linking CXX static library lib/libgtest.a [ 50%] Built target gtest Scanning dependencies of target gtest_main [ 75%] Building CXX object CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [100%] Linking CXX static library lib/libgtest_main.a [100%] Built target gtest_main make: *** No rule to make target 'install'. Stop. The command '/bin/bash -c apt-get -y install libgtest-dev libeigen3-dev rpm libavcodec-dev libavformat-dev libswscale-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libgtk-3-dev libpng-dev libjpeg-dev libopenexr-dev libtiff-dev libwebp-dev libgtk2.0-dev libhdf5-dev opencl-clhpp-headers opencl-headers pocl-opencl-icd && add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt install -y gcc-8 g++-8 gcc-9 g++-9 && wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null && apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && apt-get update -y && apt-get install -y cmake=3.16.0-0kitware1 cmake-data=3.16.0-0kitware1 kitware-archive-keyring && apt-get install -y ffmpeg && cd /usr/src/gtest && mkdir -p build && cd build && cmake .. && make && make install' returned a non-zero code: 2 Error response from daemon: No such image: xilinx/vitis-ai-gpu:2.0.0.1103

My host is Ubuntu20.04, and my GPU is 3090. How can I fix the **make: * No rule to make target 'install'. Stop.

Any suggestions?

Steph

janifer112x commented 2 years ago

Hi @StephQAZ, we've release VitisAI 2.5 this June, Could you please try with the newer version? also could you let us know your docker version on the host? this might be the cause of this failure.