vjrantal / iot-edge-darknet-module

18 stars 8 forks source link

Installing only CUDA in docker on jetson tx2 #9

Open Shrunoti opened 6 years ago

Shrunoti commented 6 years ago

Hi,

I am trying to install only CUDA libraries in docker container on jetson. I have installed the driver packages (Tegra186_Linux_R28.2.1). I am trying to install cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb package inside docker.

I have run following command dpkg -i cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb apt-get update && apt-get install -y cuda-toolkit-9.0

But I get following error after running ./deviceQuery:

CUDA driver version is insufficient for CUDA runtime version is there anything more required to install CUDA in docker container?

vjrantal commented 6 years ago

@Shrunoti Could you try to run the docker build commands exactly as described at the bottom of section https://github.com/vjrantal/iot-edge-darknet-module#running-on-jetson-tx2-or-drive-px2? You should not have to manually run dpkg or apt-get, because the right commands are defined in the relevant Dockerfile, which gets evaluated when you run docker build.