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
nomad: add optional nvml support #107030
nomad: add optional nvml support #107030
Conversation
At a first glance this LGTM - thanks! - I never got around to adding this to the nix package bc I don't have an nvidia GPU in my workstation. |
@endocrimes Thanks for the review! What needs to be done to get this merged? |
@SuperSandro2000 Can this be merged? |
Result of 2 packages built:
|
I am not sure if this is the right approach and breaks things on amd systems. |
Can you elaborate a bit? The test results I show above come from a machine with an AMD CPU. |
I am not confident if this is right and would like that someone else more familiar with this could take a look. |
@SuperSandro2000 I assumed that @endocrimes's review would be sufficient. I believe they are quite familiar with Nomad. |
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:
|
Hi, I'm running
|
This broke eval. #107030 (comment) This reverts commit 20489e3, reversing changes made to 590feee.
reverted in 6c9b507. |
Motivation for this change
The rationale for this change is to support GPU device resources in Nomad to inform its scheduler.
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)Using this test configuration:
then running:
we see that indeed the plugin is discovered:
Running the examples here locally:
Looking at the basics:
More detailed info: