Replies: 1 comment
-
I do not write python, but I have go snippet:
Resources is at HostConfig |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The following command works as expected with nvidia-smi accessible inside the podman container for me:
However, I'm unable to figure out how to get it to work with the Podman API. Would anyone be kind enough to share an example of using a CDI device? My recent attempt resulted in the following error:
this gives me the feeling that it is not identifying
nvidia.com/gpu=all
as a cdi device.Here's the rust code I'm using (keep in mind the
bollard
crate will use the docker-compatible API for Podman (I think).Beta Was this translation helpful? Give feedback.
All reactions