!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

You have reached the beginning of time (for this room).


SenderMessageTime
7 May 2025
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) connor (he/him) (UTC-7): your shims are basically fixups for manifests aren't they? 20:03:39
@connorbaker:matrix.orgconnor (he/him) (UTC-7)Yep!20:04:17
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) Now I want (aside from the stuff already listed in TODO): snapshots of nixpkgs attribute trees AND snapshots of callable arguments' functionArgs 20:42:24
@connorbaker:matrix.orgconnor (he/him) (UTC-7) There's a builtin for functionArgs which is probably a little more in-depth than the __functionArgs I used: https://github.com/NixOS/nix/blob/1e822bd4149a8bce1da81ee2ad9404986b07914c/src/libexpr/primops.cc#L3135 20:47:12
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) There's lib.functionArgs too 20:48:11
@kaya:catnip.eekaya changed their profile picture.21:21:02
@rosscomputerguy:matrix.orgTristan Ross joined the room.21:46:04
@rosscomputerguy:matrix.orgTristan RossI have joined here because I may do CUDA stuff with my Ampere Altra Max M128-26 and RTX 5070.21:46:43
@hacker1024:matrix.orghacker1024Ooh is that SBSA then? Good luck lol21:47:47
@rosscomputerguy:matrix.orgTristan Ross
In reply to @hacker1024:matrix.org
Ooh is that SBSA then? Good luck lol
Yep, SBSA and ACPI
21:49:07
@ss:someonex.netSomeoneSerge (Ever OOMed by Element)Isn't this going to be like literally the first time anybody actually uses sbsa version of cuda in Nixpkgs?21:49:09
@rosscomputerguy:matrix.orgTristan Ross
In reply to @ss:someonex.net
Isn't this going to be like literally the first time anybody actually uses sbsa version of cuda in Nixpkgs?
Maybe
21:49:28
@rosscomputerguy:matrix.orgTristan Ross I built a bunch of CUDA stuff that @[connor (he/him) (UTC-7)] has on Saturday 21:50:07
@rosscomputerguy:matrix.orgTristan RossThere's a lot of things broken lol.21:50:17
@connorbaker:matrix.orgconnor (he/him) (UTC-7)FWIW, I was able to build and train an MLP mixer model this weekend on a GH200 through Lambda Labs using my repo, so proper support is at least in progress lol22:04:12
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) Oh riiight we had multiple cudnns in each package sets and applying fixups to all of them 😅 22:25:08
@connorbaker:matrix.orgconnor (he/him) (UTC-7)Oh god right22:32:51
@ss:someonex.netSomeoneSerge (Ever OOMed by Element)Couple days to the feature freeze, perfect time to remove some public attributes22:33:42
@connorbaker:matrix.orgconnor (he/him) (UTC-7)Welp, time to figure out how I managed to break the multiplexing builder22:34:16
@connorbaker:matrix.orgconnor (he/him) (UTC-7)derp22:40:42
@connorbaker:matrix.orgconnor (he/him) (UTC-7)
diff --git a/pkgs/top-level/cuda-packages.nix b/pkgs/top-level/cuda-packages.nix
index fc4beb3cea0d..a4a8086c7bf1 100644
--- a/pkgs/top-level/cuda-packages.nix
+++ b/pkgs/top-level/cuda-packages.nix
@@ -40,7 +40,7 @@ let
 
   # Utilities
   mkVersionedPackageName =
-    name: version: "name_${lib.replaceStrings [ "." ] [ "_" ] (lib.versions.majorMinor version)}";
+    name: version: name + "_" + lib.replaceStrings [ "." ] [ "_" ] (lib.versions.majorMinor version);
 in
 {
   config,
22:40:45
@connorbaker:matrix.orgconnor (he/him) (UTC-7) SomeoneSerge (UTC+U[-12,12]): you okay with me merging https://github.com/NixOS/nixpkgs/pull/405031? 22:51:56
@ss:someonex.netSomeoneSerge (Ever OOMed by Element)Si por favor22:57:06
@ss:someonex.netSomeoneSerge (Ever OOMed by Element) connor (he/him) (UTC-7): do you think we're creating more confusion by renaming fixups? 23:04:29
@connorbaker:matrix.orgconnor (he/him) (UTC-7)I like(d) the name fixups because it's distinct from "override" (and all the connotations that carries); I wanted something that gets at the fact the generic builder will get you most of the way to a working package, and that these functions provide the fixes required to go all the way.23:07:09
@connorbaker:matrix.orgconnor (he/him) (UTC-7) Since callPackage is the thing adding .override, I also wanted to steer clear of calling them that because they're supplied to .overrideAttrs and not .override. 23:07:59

Show newer messages


Back to Room ListRoom Version: 9