Qengineering / Jetson-Nano-image

Jetson Nano image with deep learning frameworks

Home Page:https://qengineering.eu/install-tensorflow-2.4.0-on-jetson-nano.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CUDA does not mount into docker-container

lithium555 opened this issue · comments

Hi, Team!

I have such problem https://forums.developer.nvidia.com/t/why-it-doesnt-see-cuda-docker-container/264897

Could we solve them or I should create my own docker image and mount all needful libraries by myself?

Best you follow the suggestions of dusty_nv and create your own docker.
I have no clue how you run into this issue.

I fixed this trouble:

sudo CUDACXX=/usr/local/cuda/bin/nvcc cmake -DCMAKE_PREFIX_PATH=/usr/local/lib/python3.6/dist-packages/torch ..
sudo make -j2
./tcuda

Optional (if you have issues with C++11):

CXX=clang++
CXXFLAGS="-g -std=c++11 -Wall -pedantic"