Hi, I've set export _EXPERIMENTAL_DAGGER_GPU_SUPPORT=1 but when I call a dagger function that implements the feature I get the following error: Error: start engine: failed to start container: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. nvidia-smi works, so it's doesn't seem to be a device recognition issue.
#Getting experimental GPU support to work
1 messages · Page 1 of 1 (latest)
ok it seems to be an issue with the container, not with dagger
which container runtime are you using? docker?
IIRC you also need to enable the nvidia container runtime for this to work. ref: https://github.com/dagger/dagger/pull/5605#issuecomment-1783573191
yeah docker
yes I read this PR 🙂 I am having docker issues with my Ubuntu 24 machine. Either I fix those or I'll try with podman (seems to have same/similar GPU support)