Closed Werterror closed 2 years ago
Hi @Werterror , this error is due to Nvidia updated their docker tag in docker hub, the base image we are using does not exist any more, we just updated the version from 11.0 to 11.0.3, Could you please pull the latest commit from master branch and try again?
janifer can you please elaborate the answer , I got the same answer.
thanks, seems to be resolved by changing vitis-ai-gpu.Dockerfile
Hi @Werterror , this error is due to Nvidia updated their docker tag in docker hub, the base image we are using does not exist any more, we just updated the version from 11.0 to 11.0.3, Could you please pull the latest commit from master branch and try again?
It does build now without any errors but when I try to run it it returns error:
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
I didnt find any other Vits-AI related solution then to instal nvidia container-toolkit, but that solution wasnt confirmed.
Is there a known solution?
I have CUDA ready GPU and CUDA 11.6 installed.
I found another thread confirming that installation of nvidia container-toolkit solves the problem, so I went through with it and gpu docker works just fine. Here's installation guide: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html Thank you for your help.
Hi all, I get error while building gpu docker, CUDA version:
(base) hyperworks2@hyperworks2-MS-7B17:~$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Sun_Jul_28_19:07:16_PDT_2019 Cuda compilation tools, release 10.1, V10.1.243 (base) hyperworks2@hyperworks2-MS-7B17:~$ /usr/local/cuda/bin/nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Fri_Dec_17_18:16:03_PST_2021 Cuda compilation tools, release 11.6, V11.6.55 Build cuda_11.6.r11.6/compiler.30794723_0 (base) hyperworks2@hyperworks2-MS-7B17:~$
Return of sudo ./docker_build_gpu.sh: `(base) hyperworks2@hyperworks2-MS-7B17:~/Vitis-AI/docker$ sudo ./docker_build_gpu.sh NOTICE: BY INVOKING THIS SCRIPT AND USING THE SOFTWARE INSTALLED BY THE SCRIPT, YOU AGREE ON BEHALF OF YOURSELF AND YOUR EMPLOYER (IF APPLICABLE) TO BE BOUND TO THE LICENSE AGREEMENTS APPLICABLE TO THE SOFTWARE THAT YOU INSTALL BY RUNNING THE SCRIPT.
BY ELECTING TO CONTINUE, YOU WILL CAUSE THIS SCRIPT FILE TO AUTOMATICALLY INSTALL A VARIETY OF SOFTWARE COPYRIGHTED BY XILINX AND THIRD PARTIES THAT IS SUBJECT TO VARIOUS LICENSE AGREEMENTS THAT APPEAR UPON INSTALLATION, ACCEPTANCE AND/OR ACTIVATION OF THE SOFTWARE AND/OR ARE CONTAINED OR DESCRIBED IN THE CORRESPONDING RELEASE NOTES OR OTHER DOCUMENTATION OR HEADER OR SOURCE FILES. XILINX DOES NOT GRANT TO LICENSEE ANY RIGHTS OR LICENSES TO SUCH THIRD-PARTY SOFTWARE. LICENSEE AGREES TO CAREFULLY REVIEW AND ABIDE BY THE TERMS AND CONDITIONS OF SUCH LICENSE AGREEMENTS TO THE EXTENT THAT THEY GOVERN SUCH SOFTWARE.
BY ELECTING TO CONTINUE, YOU WILL CAUSE THE FOLLOWING SOFTWARE TO BE DOWNLOADED AND INSTALLED ON YOUR SYSTEM. BY ELECTING TO CONTINUE, YOU UNDERSTAND THAT THE INSTALLATION OF THE SOFTWARE LISTED BELOW MAY ALSO RESULT IN THE INSTALLATION ON YOUR SYSTEM OF ADDITIONAL SOFTWARE NOT LISTED BELOW IN ORDER TO OPERATE (SUCH SOFTWARE IS HEREAFTER REFERRED TO AS ‘DEPENDENCIES’) XILINX DOES NOT GRANT TO LICENSEE ANY RIGHTS OR LICENSES TO SUCH DEPENDENCIES LICENSEE AGREES TO CAREFULLY REVIEW AND ABIDE BY THE TERMS AND CONDITIONS OF ANY LICENSE AGREEMENTS TO THE EXTENT THAT THEY GOVERN SUCH DEPENDENCIES
BY ELECTING TO CONTINUE, YOU WILL CAUSE THE FOLLOWING SOFTWARE PACKAGES (AND THEIR RESPECTIVE DEPENDENCIES, IF APPLICABLE) TO BE DOWNLOADED FROM UBUNTU'S MAIN REPO AND INSTALLED ON YOUR SYSTEM: http://us.archive.ubuntu.com/ubuntu/dists/bionic/ http://us.archive.ubuntu.com/ubuntu/dists/bionic/
BY ELECTING TO CONTINUE, YOU WILL CAUSE THE FOLLOWING SOFTWARE PACKAGES (AND THEIR RESPECTIVE DEPENDENCIES, IF APPLICABLE) TO BE DOWNLOADED FROM ANACONDA REPO AND INSTALLED ON YOUR SYSTEM: https://anaconda.org”
BY ELECTING TO CONTINUE, YOU ACKNOWLEDGE AND AGREE, FOR YOURSELF AND ON BEHALF OF YOUR EMPLOYER (IF APPLICABLE), THAT XILINX IS NOT DISTRIBUTING TO YOU IN THIS FILE ANY OF THE AFORMENTIONED SOFTWARE OR DEPENDENCIES, AND THAT YOU ARE SOLELY RESPONSIBLE FOR THE INSTALLATION OF SUCH SOFTWARE AND DEPENDENCIES ON YOUR SYSTEM AND FOR CAREFULLY REVIEWING AND ABIDING BY THE TERMS AND CONDITIONS OF ANY LICENSE AGREEMENTS TO THE EXTENT THAT THEY GOVERN SUCH SOFTWARE AND DEPENDENCIES
Press any key to continue...
Do you agree to the terms and wish to proceed [y/n]?
Do you agree to the terms and wish to proceed [y/n]? y Sending build context to Docker daemon 86.02kB Step 1/61 : FROM nvidia/cuda:11.0-cudnn8-runtime-ubuntu18.04 manifest for nvidia/cuda:11.0-cudnn8-runtime-ubuntu18.04 not found: manifest unknown: manifest unknown Error response from daemon: No such image: xilinx/vitis-ai-gpu:2.5.0.1260 Error response from daemon: No such image: xilinx/vitis-ai-gpu:2.5.0.1260 Error response from daemon: No such image: xilinx/vitis-ai-gpu:2.5.0.1260 `