dusty-nv / jetson-containers

Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
MIT License
2.22k stars 456 forks source link

checking GPU stats from inside docker #223

Open ghost opened 1 year ago

ghost commented 1 year ago

I am using on Jetson Orin development kit with j jetson with humble dustynv/ros:humble-desktop-l4t-r34.1.1 i ma trying to see that the i have access to the GPU from inside the docker i tried running sudo tegrastats but i get: sudo: tegrastats: command not found

i also tried with the pytorch version but got the same results

what am i missing ?

my nned is to use the GPU not to run tegrastats, but i assume that if it dosent work then their is a problem

i used the docker images as is with out rebuilding

dusty-nv commented 1 year ago

@GiladRobee tegrastats isn't installed inside the containers, and PyTorch isn't installed in that particular container. Instead, try running one of the CUDA Toolkit samples in the container like deviceQuery:

cd /usr/local/cuda/samples/1_Utilities/deviceQuery
make
./deviceQuery