!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
23 May 2024
@hexa:lossy.networkhexa

trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpath instead

23:03:51
@hexa:lossy.networkhexa
Already up to date.
❯ rg autoAddOpenGLRunpathHook
nixos/doc/manual/release-notes/rl-2405.section.md
248:- `cudaPackages.autoAddOpenGLRunpathHook` and `cudaPackages.autoAddDriverRunpath` have been deprecated for `pkgs.autoAddDriverRunpath`. Functionality has not changed, but the setuphook has been renamed and moved to the top-level package scope.

pkgs/development/cuda-modules/aliases.nix
15:  autoAddOpenGLRunpathHook =
16:    mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
23:04:40
@hexa:lossy.networkhexa *
❯ rg autoAddOpenGLRunpathHook
nixos/doc/manual/release-notes/rl-2405.section.md
248:- `cudaPackages.autoAddOpenGLRunpathHook` and `cudaPackages.autoAddDriverRunpath` have been deprecated for `pkgs.autoAddDriverRunpath`. Functionality has not changed, but the setuphook has been renamed and moved to the top-level package scope.

pkgs/development/cuda-modules/aliases.nix
15:  autoAddOpenGLRunpathHook =
16:    mkRenamed "autoAddOpenGLRunpathHook" "pkgs.autoAddDriverRunpath"
23:04:44
@hexa:lossy.networkhexathe only two mentions23:04:49
@hexa:lossy.networkhexalet's rule out the release notes for a second 😄 23:04:55
@hexa:lossy.networkhexathat makes the definition the only place????23:05:05
@hexa:lossy.networkhexanix is supposed be lazy, so how does it get evaluated when nobody consumes it?23:05:54
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @hexa:lossy.network
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoFixElfFiles is deprecated, use pkgs.autoFixElfFiles instead
trace: warning: cudaPackages.autoAddOpenGLRunpathHook is deprecated, use pkgs.autoAddDriverRunpath instead
trace: warning: cudaPackages.autoAddDriverRunpath is deprecated, use pkgs.autoAddDriverRunpath instead
There was an autoAddDriverRunpath in cudaPackages, and then there was a @jonringer's PR introducing aliases.nix for cudaPackages, we moved autoAddDriverRunpath to the top-level and added an alias in cudaPackages
23:06:46
@ss:someonex.netSomeoneSerge (matrix works sometimes)I don't it should be evaluated23:07:04
@hexa:lossy.networkhexathis is on release-24.05 fwiw23:07:06
24 May 2024
@aidalgol:matrix.orgaidalgol SomeoneSerge (UTC+3): I didn't quite understand your "deploy this impurely" comment on the libXNVCtrl patch. 18:53:47
@aidalgol:matrix.orgaidalgol * SomeoneSerge (UTC+3): I didn't quite understand your "deploy this impurely" comment on the libXNVCtrl PR. 18:53:49
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @aidalgol:matrix.org
SomeoneSerge (UTC+3): I didn't quite understand your "deploy this impurely" comment on the libXNVCtrl PR.
/run/opengl-driver instead of rpath
18:56:55
@aidalgol:matrix.orgaidalgolAh, right. I'm not certain whether it needs to match the driver version or not.18:57:58
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @aidalgol:matrix.org
Ah, right. I'm not certain whether it needs to match the driver version or not.
Same. I suggest that we test
19:00:03
@connorbaker:matrix.orgconnor (he/him)

Okay, my absolute favorite new functionality in the PR I've been working on is being able to do this:

nix build --impure -L .#cudaPackages_11_8.pkgs.xgboost

and build xgboost with cudaPackages_11_8.

20:56:50
@connorbaker:matrix.orgconnor (he/him) It makes it so much easier to see if something is broken because of the CUDA version 20:57:06
@connorbaker:matrix.orgconnor (he/him)Relevant change https://github.com/NixOS/nixpkgs/pull/306172/commits/98906659f42a774afc6d43bfae795cf9bbf4768b21:06:17
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @connorbaker:matrix.org

Okay, my absolute favorite new functionality in the PR I've been working on is being able to do this:

nix build --impure -L .#cudaPackages_11_8.pkgs.xgboost

and build xgboost with cudaPackages_11_8.

This looks nice but also looks like a way to shoot yourself in the foot and/or cause infinite recursion
21:06:22

Show newer messages


Back to Room ListRoom Version: 9