Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
1.9.3.10904
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Hello,
I would like to use PyTorch + CUDA11.4 on DRIVE Orin, so I tried to install it while referencing the thread below:
however, I met an error fatal error: nvml.h: No such file or directory
and the compilation failed.
On DRIVE Orin “nvml.h” was not found, and in Docker container based on DRIVE OS 6.0.8.1, it was found only for architecture x86_64.
On DRIVE Orin (flashed by using Docker container based on DRIVE OS 6.0.8.1):
nvidia@tegra-ubuntu:~$ sudo find / -name "*nvml*"
nvidia@tegra-ubuntu:~$
In the container based on DRIVE OS 6.0.8.1:
root@6.0.8.1-0006-build-linux-sdk:/drive# find / -name "*nvml*"
/usr/include/hwloc/nvml.h
/usr/share/doc/cuda-nvml-dev-11-4
/usr/local/cuda-11.4/targets/x86_64-linux/include/nvml.h
/usr/local/cuda-11.4/nvml
/var/lib/dpkg/info/cuda-nvml-dev-11-4.list
/var/lib/dpkg/info/cuda-nvml-dev-11-4.md5sums
root@6.0.8.1-0006-build-linux-sdk:/drive#
But in Docker container based on DRIVE OS 6.0.6.0, “nvml.h” existed also under /usr/local/cuda-11.4/targets/aarch64-linux/include
root@6.0.6.0-0004-build-linux-sdk:/drive# find / -name "*nvml*"
/usr/include/hwloc/nvml.h
/usr/share/doc/cuda-nvml-dev-11-4
/usr/share/doc/cuda-nvml-cross-aarch64-11-4
/usr/local/cuda-11.4/targets/x86_64-linux/include/nvml.h
/usr/local/cuda-11.4/targets/aarch64-linux/include/nvml.h
/usr/local/cuda-11.4/nvml
/var/lib/dpkg/info/cuda-nvml-dev-11-4.list
/var/lib/dpkg/info/cuda-nvml-dev-11-4.md5sums
/var/lib/dpkg/info/cuda-nvml-cross-aarch64-11-4.md5sums
/var/lib/dpkg/info/cuda-nvml-cross-aarch64-11-4.list
/drive/drive-linux/filesystem/targetfs/usr/share/doc/cuda-nvml-dev-11-4
/drive/drive-linux/filesystem/targetfs/usr/local/cuda-11.4/targets/aarch64-linux/include/nvml.h
/drive/drive-linux/filesystem/targetfs/usr/local/cuda-11.4/nvml
/drive/drive-linux/filesystem/targetfs/var/lib/dpkg/info/cuda-nvml-dev-11-4.list
/drive/drive-linux/filesystem/targetfs/var/lib/dpkg/info/cuda-nvml-dev-11-4.md5sums
root@6.0.6.0-0004-build-linux-sdk:/drive#
So I have two questions:
- Why does not nvml for architecture aarch64 exist in DRIVE OS 6.0.8.1? Is this deprecated?
- Could I copy nvml from the container based on DRIVE OS 6.0.6.0 (or some other libraries exist only in DRIVE OS 6.0.6.0 for aarch64) to DRIVE Orin or the container based on DRIVE OS 6.0.8.1 and use it? Or is there any way to use nvml in the container with DRIVE OS 6.0.8.1?