How to set --runtime nvidia in YAML file of k3s pod deployment for a GPU application?

Jetson NX
Jetpack 4.6

I want to run a GPU program in a k3s pod, but it shows the error

ImportError: libnppicc.so.10: cannot open shared object file: No such file or directory

it seems it cannot use GPU resource, because when I use docker run --runtime nvidia … it works. How to set something like “–runtime nvidia” in the YAML for k3s deployment?

Hi,

Below is a sharing for k3s with GPU support:

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.