NVIDIA/nvidia-container-runtime

Installations for Ubuntu based distributions or Yocto based

aktaseren opened this issue · 1 comments

Hi there, thank you for making this available. I am trying to install nvidia-container-runtime to an Nvidia Jetson Nano having BalenaOS which is Yocto Linux based host OS. However, there is no information presented on this https://nvidia.github.io/nvidia-container-runtime/ .

I have only two questions:

  1. Is it possible to install Nvidia-container-runtime to BalenaOS? If so, can you guide me on how to install it?
  2. On this link https://nvidia.github.io/nvidia-container-runtime/ , I couldn't find how to install Nvidia-container-runtime for Ubuntu systems. can you guide me on this as well?

I found a workaround for the issue which I couldn't use GPU enabled python libraries. I wanted to use Nvidia containers such as GPU enabled pytorch one because of their easiness of implementation. Unfortunately, Nvidia containers seem not workable by the devices hosting BalenaOS owing to Balena OS architecture not being supported by Nvidia.

However, Balena Docker Hub has a lot of project examples that are done by Balenalib docker images. https://hub.docker.com/u/balenalib

Some of these are based on Nvidia devices and rather straightforward to implement for related projects. Similar to my project, there is a project (https://github.com/balena-io-examples/balena-ros2-CUDA-trt-pose-estimation in which Cuda, Pytorch and OpenCV needed for the project I am doing are used. Overall, this guided me to find a workaround.