!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

291 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
18 Sep 2025
@connorbaker:matrix.orgconnor (he/him) I’ve got a long day ahead of me, but SomeoneSerge (back on matrix)to follow back up on earlier, in https://github.com/NixOS/nixpkgs/pull/437723 I made changes to config to allow NVIDIA’s licenses when cudaSupport is true. That means users can build CUDA packages without using the impure flag and providing a custom config with allowUnfree, allowUnfreePredicate, or allowlistedLicenses, just by building off of pkgsCuda or pkgsForCudaArch. I think that’s important for the UX. Also, since we don’t need the impure flag we can benefit from evaluation caching.
Like all Nixpkgs “variants” (the term I’ve seen used to describe different instantiations of Nixpkgs within Nixpkgs, like pkgsLLVM), there is an evaluation cost to using those attributes, but it beats repeatedly editing a config.nix file.
Of course, for out-of-tree consumers (like user flakes) configuring Nixpkgs exactly once when it is imported is preferred, but not everyone can or wants to do that.
16:13:20
@connorbaker:matrix.orgconnor (he/him)In further iterations I’ll try to move the licenses into lib.licenses so they’re available there instead of in _cuda.lib.licenses; we should be using those licenses instead of ad-hoc ones anyway.16:15:14
@connorbaker:matrix.orgconnor (he/him)Which brings me to another great irritation — should older versions of software refer specifically to older versions of the license? Do we need to do something to preserve them or vendor them in tree? If the license contains clauses allowing it to be updated without notice, is that enforceable everywhere?16:17:41
@connorbaker:matrix.orgconnor (he/him) *

Which brings me to another great irritation — should older versions of software refer specifically to older versions of the license? Do we need to do something to preserve them or vendor them in tree? If the license contains clauses allowing it to be updated without notice, is that enforceable everywhere?

Ignore that; licenses are complicated and I can’t give myself a migraine this early.

16:18:22
@ss:someonex.netSomeoneSerge (back on matrix) Posted a response to the allowUnfree part 20:11:27
20 Sep 2025
@connorbaker:matrix.orgconnor (he/him)Posted a reply back21:45:34
21 Sep 2025
@tomberek:matrix.orgtomberekHey, through the GitHub Open Source security program we can get a significant amount of Azure credits. Would the CUDA team be able to effectively use that? Would that make a difference in the maintenance burden?14:10:32
@ss:someonex.netSomeoneSerge (back on matrix)I'm afraid that expert-hours are 146% the scarcest resource right now (as always?)15:48:56
@ss:someonex.netSomeoneSerge (back on matrix) connor (he/him) (UTC-7): repeatedly mentioned he's been experimenting with building nixos images for Azure 15:49:27
@ss:someonex.netSomeoneSerge (back on matrix) If we could have ephemeral azure instances with a mutable nix store that would be amazing 15:50:19
22 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) Judging by Gaétan Lepage's emoji reaction, he's already imagining them nixpkgs-reviews going brrrrrrrr. Gaétan Lepage would you have the availability for this one? 08:01:20
@glepage:matrix.orgGaétan LepageTo work on the Azure stuff?09:16:35
@glepage:matrix.orgGaétan Lepage I have gained access to a beefy builder since then, so I'm less constrained than before on the x86_64-linux side of things. 09:17:08
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) SomeoneSerge (back on matrix): can you bump or have you bumped privately https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/opensfm/default.nix#L144 ? 20:19:03
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I need it for https://github.com/NixOS/nixpkgs/pull/44200320:19:15
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)because none of the SfM tools work properly in nixpkgs anymore20:19:27
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)SfM tools are tools that take a dir of image and tag it with inferred data like rotation, coordinates etc, to pipe into gaussian splat utils like brush20:19:52
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://github.com/NixOS/nixpkgs/pull/43867220:43:43
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)hmm, this gets close to fixing colmap20:43:50
23 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) matthewcroughan: hard pressed right now, maybe end of week... 00:30:01
@hexa:lossy.networkhexadid anyone here make substitions from the flox cache work yet?01:51:21
@glepage:matrix.orgGaétan LepageI had some cache hits is this is your question08:23:23
@glepage:matrix.orgGaétan Lepage FYI Zowoq has restored the cuda jobset on nix-community:
https://matrix.to/#/%21PbtOpdWBSRFbEZRLIf%3Anumtide.com/%240hueN5_QPZEhj5g4nqSa-gFgmCYe3CMKlG79bd2E-nM?via=blad.is&via=matrix.org&via=envs.net
08:24:47
@hugo:okeso.euHugo

@ss:someonex.net Thanks for your feedback on my PR adding Cuda tests.

I implemented most, but cannot test because I cannot rebuild xformers with CUDA enabled 🫤. I tried many times on multiple machines but no luck. It builds fine without Cuda though.

10:19:57
@hugo:okeso.euHugoRedacted or Malformed Event10:20:52
@hugo:okeso.euHugoScreenshot_20250923_122127.png
Download Screenshot_20250923_122127.png
10:22:03
@hugo:okeso.euHugoScreenshot_20250923_122117.png
Download Screenshot_20250923_122117.png
10:22:24
@hugo:okeso.euHugoI also find it really weird that CPU stays at 100% while the build is stuck.10:22:25
@hugo:okeso.euHugoIs that a known bug in Nix or in the build tools?10:22:55
@a-kenji:matrix.orgkenji changed their display name from a-kenji to kenji.10:42:31

Show newer messages


Back to Room ListRoom Version: 9