NVIDIA / nvidia-container-toolkit

Build and run containers leveraging NVIDIA GPUs
Apache License 2.0
2.52k stars 274 forks source link

NVIDIA Jetson platform - `nvidia-container-cli list` returns nothing #90

Open eugeneswalker opened 1 year ago

eugeneswalker commented 1 year ago

nvidia-container-cli returns nothing on my NVIDIA Jetson Orin node:

$> nvidia-container-cli list
$>

NVIDIA Container Toolkit version info:

$> nvidia-container-cli version
cli-version: 1.13.5
lib-version: 0.11.0+jetpack
build date: 2023-07-18T11:40+00:00
build revision: 66607bd046341f7aad7de80a9f022f122d1f2fce
build compiler: aarch64-linux-gnu-gcc-7 7.5.0
build platform: aarch64
build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fplan9-extensions -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections

Here are the apt packages I have installed:

$> apt list --installed | grep nvidia-container

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libnvidia-container-tools/bionic,now 1.13.5-1 arm64 [installed,automatic]
libnvidia-container0/bionic,stable,now 0.11.0+jetpack arm64 [installed,automatic]
libnvidia-container1/bionic,now 1.13.5-1 arm64 [installed,automatic]
nvidia-container-toolkit-base/bionic,now 1.13.5-1 arm64 [installed,automatic]
nvidia-container-toolkit/bionic,now 1.13.5-1 arm64 [installed,automatic]
root@orin1:/sphinx/users/lpeyrala# nvidia-container-cli list

CUDA 11.4 is installed to /usr/local/cuda

Tegra release info:

$> cat /etc/nv_tegra_release
# R35 (release), REVISION: 2.1, GCID: 32413640, BOARD: t186ref, EABI: aarch64, DATE: Tue Jan 24 23:38:33 UTC 2023

Any idea what is going on?

elezar commented 1 year ago

@eugeneswalker this is expected. As of the NVIDIA Container Toolkit 1.10.0, the NVIDIA Container CLI is no longer used on Tegra-based systems. Instead the NVIDIA Container Runtime is used to make modifications to the incoming OCI Runtime Specifications directly on these systems.

Since you are using Singularity, would using the upcoming --oci mode be relevant to you?

elezar commented 1 year ago

(I think we can continue the discussion on https://github.com/sylabs/singularity/issues/1850).