NixOS CUDA | 290 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 57 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Apr 2025 | ||
| luke-skywalker: looking forward to read the blog post xD | 12:03:57 | |
| blog post? Shouldnt everyone have the joy of fighting through those dungeons of rabbit holes and come out the other end with some awesome loot? 😊 Will do when I find the time to write it down as a guide / article or make a PR to either rke2 or nvidia-container-toolkit. Might even wrap it into its own system module. But main thing is available time since this is just one of the stepping stones to a system to federate distributed "AI" capabilites. Dont actually want to be too public before I have a working "kernel" of the envisioned system. | 15:22:21 | |
| I might be able to open a PR to enable CDI on containerd this weekend | 21:14:48 | |
| FYI with the virtualisation.containerd module (not the one used by rke2) it works already out of the box. | 21:16:15 | |
| 24 Apr 2025 | ||
| luke-skywalker: unless I’m missing something, nothing is setting https://github.com/cncf-tags/container-device-interface?tab=readme-ov-file#containerd-configuration, right? You had to do this manually, right? | 06:06:26 | |
| funnily from all the detours I took to make ti work, I though rke2 was doing that, but I think I must have done that by hand and forgot about it. So yes you need to profide a config.toml.tmpl with nvidia-cdi defined pointing to the runtime binary and set Could you give me the TLDR why using fails with glibc issue. my understanding it was build build with a newer version of glibc that on my system (2.40)? ANy way to solve this or is it ok to simply stick to 16.x? | 12:19:15 | |
| * funnily from all the detours I took to make it work, I though rke2 was doing that, but I think I must have done that by hand and forgot about it. So yes you need to provide a config.toml.tmpl with nvidia-cdi defined pointing to the runtime binary and set Could you give me the TLDR why using fails with glibc issue. my understanding it was build build with a newer version of glibc that on my system (2.40)? ANy way to solve this or is it ok to simply stick to 16.x? | 12:19:41 | |
| * funnily from all the detours I took to make it work, I though rke2 was doing that, but I think I must have done that by hand and forgot about it. So yes you need to provide a config.toml.tmpl with nvidia-cdi defined pointing to the runtime binary and set Could you give me the TLDR why using fails with glibc issue. my understanding it was build build with a newer version of glibc that on my system (2.40)? Any way to solve this or shoudl I to simply stick to 16.x until the glibc version on unstable channel nixos is compatible again? | 12:20:36 | |
| ui interesting. How does it compare to vllm? I see it supports device maps. Is that for pipeline parallelism so GPU devices on different nodes / machines as well? Is it somehow affiliated to mistral-ai or whats the reason for the name of the library? ;) | 14:12:59 | |
| also does that work on k8s clusters? 🤔 | 14:13:43 | |
| I haven't used it much myself as I don't own a big enough GPU. According to me, it is not affiliated to Mistral (the company). I guess that it's the same as "ollama" and Llama (Meta). | 15:43:10 | |
| its getting better still though. Now switched from Daemonset deplyoment of the device plugin to helm deployment with custom values. This made it possible to also enable time slicing available GPU 🥳 | 16:10:02 | |
| thx for the info, yeah the same as ollama was my assumption. Guess ill stick to vllm depoyment with helm on k8s. | 16:37:54 | |
| 25 Apr 2025 | ||
| Not getting lighter by the release... | 06:52:16 | |
| Redacted or Malformed Event | 06:52:18 | |
| 06:52:33 | |
| luke-skywalker: yes, glibc is not forwards compatible, only backwards compatible. You can check https://github.com/NixOS/nixpkgs/issues/338511#issuecomment-2341496949 and the previous comments, since this is basically the issue you are hitting | 12:24:21 | |
| * luke-skywalker: yes, glibc is not forward compatible, only backwards compatible. You can check https://github.com/NixOS/nixpkgs/issues/338511#issuecomment-2341496949 and the previous comments, since this is basically the issue you are hitting | 12:24:30 | |
| thx 🙏 So just to get it right: is it nixOS (unstable) running a glibc version that is too new for the 17.x images or has the image build with a glibc version that is too new for nixos (unstable) ? 🤔 because nvidia device plugin image versions 14.x/15.x/16.x all work. Do you see any critical issue running clusters on 16.2? It works like a beaty currently testing gpu workload autoscaling. | 12:29:21 | |
| * thx 🙏 So just to get it right: is it nixOS (unstable) running a glibc version that is too new for the 17.x images or has the image been build with a glibc version that is too new for nixos (unstable) ? 🤔 because nvidia device plugin image versions 14.x/15.x/16.x all work. Do you see any critical issue running clusters on 16.2? It works like a beaty currently testing gpu workload autoscaling. | 12:29:39 | |
| * thx 🙏 So just to get it right: is it nixOS (unstable) running a glibc version that is too new for the 17.x images or has the image been build with a glibc version that is too new for nixos (unstable) ? 🤔 because nvidia device plugin image versions 14.x/15.x/16.x all work. Do you see any critical issue running clusters on 16.2? It works like a beaty currently testing gpu workload autoscaling and I would hate to let that go 😅 | 12:30:04 | |
| hi! good news, I was able to reproduce and have a fix; this is very related to an issue reported to nvidia-container-toolkit. Let me explain | 12:52:45 | |
| im all ears 🤩 | 12:53:11 | |
| https://gist.github.com/ereslibre/483fec3217ffca38b3244df42a477db2 | 13:00:36 | |
| this is related to upstream issue https://github.com/NVIDIA/nvidia-container-toolkit/issues/944 somehow. We need to figure out the best way to handle this, but at least you have two workarounds for the time being, none of them is ideal... | 13:04:11 | |
| I see. If Ill have to I would probably opt for editing | 13:07:54 | |
| * I see. If Ill have to I would probably opt for editing | 13:08:09 | |
| * I see. If Ill have to I would probably opt for editing | 13:08:17 | |
| yeah, updating /var/run/cdi/nvidia-container-toolkit.json is flaky as I exposed it, it expects ldconfig to be present within the container at the specified path | 13:10:27 | |
| good to know. well until I see a good reason not to and everything works as needed, I will stick with 16.2 for the time being then. | 13:13:16 | |