New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nvidia-docker/podman: refactor nvidia container runtime support #108862
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Someone other than me needs to review the module changes.
pkgs/applications/virtualization/libnvidia-container/default.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/virtualization/nvidia-container-runtime/default.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/virtualization/nvidia-container-runtime/default.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/virtualization/nvidia-container-runtime/default.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/virtualization/nvidia-container-toolkit/default.nix
Outdated
Show resolved
Hide resolved
pkgs/applications/virtualization/nvidia-container-toolkit/default.nix
Outdated
Show resolved
Hide resolved
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 2 packages built:
|
46ebdd7
to
37cbd6c
Compare
… cannot both be enabled
…es that support nvidia GPUs
37cbd6c
to
caf2a8d
Compare
Thanks! |
Motivation for this change
The motivation for this change was:
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Additionally, I've tested both docker and podman with the nvidia container runtime in the following ways on a machine with an NVidia RTX 2080 Super:
nvidia-smi
using the--runtime nvidia
flagnvidia-smi
using the--gpus all
flaglist_physical_devices
using the--runtime nvidia
flaglist_physical_devices
using the--gpus all
flagnvidia-smi
using the--runtime nvidia
flaglist_physical_devices
using the--runtime nvidia
flag