!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

288 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda58 Servers

Load older messages


SenderMessageTime
20 Dec 2025
@le-chat:matrix.orgle-chat I'm just copying/symlinking something like libcuda* lib*nvidia* libnv* from the directory where the toolkit put them.
Once upon a time I've been required (for trtexec) to run patchelf --add-rpath /run/opengl-driver/lib on these copies, but that was on older Nixos, I don't know if it's necessary now.
19:24:19
21 Dec 2025
@ss:someonex.netSomeoneSerge (back on matrix)s/idea for now/idea for the past 4+ years that keeps running into penny counting and compliance excuses/ Ftfy01:23:14
@adrian-gierakowski:matrix.orgadrian-gierakowski
In reply to @ss:someonex.net
s/idea for now/idea for the past 4+ years that keeps running into penny counting and compliance excuses/
Ftfy
Yeah, @glepage:matrix.org: why not now?
09:01:01
@glepage:matrix.orgGaétan LepageWell, because we unfortunately are quite busy with a lot of maintenance work. It is hard to find some time to work on those more long-term projects.09:32:42
@adrian-gierakowski:matrix.orgadrian-gierakowski
In reply to @glepage:matrix.org
Well, because we unfortunately are quite busy with a lot of maintenance work. It is hard to find some time to work on those more long-term projects.
I'd be happy to help if there is anything I could do to speed this up.
12:00:04
@rpcruz:matrix.orgrpcruz joined the room.15:50:06
@rpcruz:matrix.orgrpcruzHey guys, does anyone else have a setup with A100 (or some such) that require nvidia-fabricmanager? Could you maybe share with me the relevant .nix configuration bits? (If using a relatively modern NixOS - 25.05 or 25.11) hardware.nvidia.datacenter.enable=true produces for me a broken nv-fabricmanager with undefined symbols. I managed to make it work by packaging nvidia-fabricmanager myself, but it is a bit ugly and as a novice I am not sure everything is well done. If anyone has a configuration with nvidia-fabricmanager that could share with me that would be great...!16:05:31
@connorbaker:matrix.orgconnor (he/him)A lot of the functionality gated behind datacenter-grade GPUs or multi-GPU setups is out of the reach of the maintainers at the moment as we’ve just recently been able to get a Hydra set up to build packages and run a few GPU checks. Part of the quick iteration time I’ve had in the past is because I own a 4090 and so can benchmark and test quickly. But for bigger stuff, the only approach I’ve had any luck with is using Lambda Labs to rent multi-GPU instances for fairly cheap and try Nix-built binaries on them. But that doesn’t test using NixOS as the host system or any other number of features unique to the hardware (or even specific code paths). If you have such hardware or have access to it, please don’t hesitate to open PRs. Access to hardware (among other things like time and burnout) are big blockers for us supporting more stuff. We can always coach or provide feedback on packaging! And we can certainly use such an opportunity to update (or make) contributing documents.19:01:11
27 Dec 2025
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) changed their display name from matthewcroughan to matthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192).14:42:47
28 Dec 2025
@aliarokapis:matrix.orgAlexandros LiarokapisAre nixpkgs built packages reliant on /run/opengl-driver to find libcuda.so.1 on non-nixos systems as well?23:53:35
@aliarokapis:matrix.orgAlexandros LiarokapisI guess OpenGL-driver symlinkfarm is responsible for all driver-bound bridge libraries…23:57:15
29 Dec 2025
@aliarokapis:matrix.orgAlexandros LiarokapisI was thinking there is an authoritative source of all needed kernel bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and auto implement a /run/opengl symlinker for nix standalone systems and oci containers00:07:52
@aliarokapis:matrix.orgAlexandros Liarokapis* I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and auto implement a /run/opengl symlinker for nix standalone systems and oci containers00:08:05
@aliarokapis:matrix.orgAlexandros Liarokapis* I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic :run/opengl symlinker for nix standalone systems and oci containers00:08:23
@aliarokapis:matrix.orgAlexandros Liarokapis* I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic /run/opengl symlinker for nix standalone systems and oci containers00:08:29
@aliarokapis:matrix.orgAlexandros Liarokapis* I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic /run/opengl l-driver symlinker for nix standalone systems and oci containers00:08:40
@aliarokapis:matrix.orgAlexandros Liarokapis* I was thinking there is an authoritative source of all needed kernel-driver bound libraries and that is the nvidia container toolkit. One could mimic the search procedure and implement an automatic /run/opengl-driver symlinker for nix standalone systems and oci containers00:08:51
@apyh:matrix.orgapyhyeah, they are. most folks will use nixgl or nixglhost to work around this00:09:12
@apyh:matrix.orgapyhi use nixglhost wrappers for my binaries in oci containers00:09:25
@aliarokapis:matrix.orgAlexandros LiarokapisI was thinking of the issues specified here https://github.com/soupglasses/nix-system-graphics#but-why-another-nix-with-opengl-project00:10:57
@aliarokapis:matrix.orgAlexandros LiarokapisNow nix system graphics is a nice approach but has the limitation of having to specify the nvidia driver version in a system manager config to switch it is not automatic which really hurts usability00:13:06
@aliarokapis:matrix.orgAlexandros LiarokapisI was thinking something more in the lines of actually generating the symlink farm populating with the proper host system library symlinks00:18:17
@aliarokapis:matrix.orgAlexandros LiarokapisWould probably also work for mesa on nix standalone systems as well00:19:29
@aliarokapis:matrix.orgAlexandros LiarokapisOne could probably directly reuse the discovery functionality of the nvidia container toolkit go library00:29:52
@aliarokapis:matrix.orgAlexandros Liarokapis* One could probably directly reuse the discovery functionality of the nvidia container toolkit go library (or flatboat or similar)00:49:05
@aliarokapis:matrix.orgAlexandros Liarokapis* One could probably directly reuse the discovery functionality of the nvidia container toolkit go library (or flatpak or similar)00:49:13
@glepage:matrix.orgGaétan Lepage Hi!
I finally found some time to work on the llama-cpp-python-libcuda.so-stubs-missing bug and fixed outlines by skipping its pythonImportsCheckHook and tests when cudaSupport was enabled.
This allowed me to finally unblock the vllm bump.
It builds fine with and without cudaSupport. Feel free to test/review: https://github.com/NixOS/nixpkgs/pull/467418
17:36:41
@connorbaker:matrix.orgconnor (he/him)Good post about the exact problem we run into when trying to create dynamic libraries for Magma with our default set of CUDA capabilities: https://fzakaria.com/2025/12/28/huge-binaries18:06:21
@connorbaker:matrix.orgconnor (he/him)I won't be in the weekly call tomorrow btw18:06:33
4 Aug 2022
@winterqt:nixos.devWinter (she/her) joined the room.03:26:42

Show newer messages


Back to Room ListRoom Version: 9