!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

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


SenderMessageTime
4 Nov 2024
@ss:someonex.netSomeoneSerge (matrix works sometimes)FWIW I see no reason not to implement both approaches (host's libs vs. nixpkgs' libs that match the running kernel) in one tool23:09:19
@ss:someonex.netSomeoneSerge (matrix works sometimes) That could be just two flags: --drivers-from={HOST|<nix expr or a flake ref>} and --export=/run/opengl-driver/lib as the alternative to --run <CMD> 23:12:23
@ss:someonex.netSomeoneSerge (matrix works sometimes)(and then of course there's this whole libcapsule business that's waiting to be tried)23:13:40
@ss:someonex.netSomeoneSerge (matrix works sometimes)Note there was recently somebody in nix-gl-host issues advertising their Rust rewrite23:29:51
5 Nov 2024
@aidalgol:matrix.orgaidalgolHas anyone successfully built blender on unstable with CUDA support enabled recently?02:31:45
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯🤔 Currently, openusd fails in patch phase.08:39:43
@zimbatm:numtide.comJonas Chevalier
In reply to @aidalgol:matrix.org
Has anyone successfully built blender on unstable with CUDA support enabled recently?
looks like it's broken since end of October: https://hydra.nix-community.org/build/1720981
15:13:24
@zimbatm:numtide.comJonas Chevalier
In reply to @ss:someonex.net
Note there was recently somebody in nix-gl-host issues advertising their Rust rewrite
Did you take a look at https://github.com/NVIDIA/nvidia-container-toolkit already? I think they are battling with similar issues, plus sandboxing on top. It seems like they are using ld.so.cache as a loading mechanism instead of the LD_* env var and that might be more robust?
15:16:02
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @zimbatm:numtide.com
Did you take a look at https://github.com/NVIDIA/nvidia-container-toolkit already? I think they are battling with similar issues, plus sandboxing on top. It seems like they are using ld.so.cache as a loading mechanism instead of the LD_* env var and that might be more robust?
Yes that's what we use for docker/podman on nixos
15:16:44
@ss:someonex.netSomeoneSerge (matrix works sometimes)I'm not sure if it's worth reusing because nixGL and nix-gl-host are solving a more general problem; the ctk just assumes an FHS environment, we have to patch it and we have to patch its outputs to make them usable on nixos15:19:32
@ss:someonex.netSomeoneSerge (matrix works sometimes)But yes we should keep in mind the general idea of exporting ld.so.cache. We actually used it at least for some time for the singularity containers15:21:25
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @zimbatm:numtide.com
looks like it's broken since end of October: https://hydra.nix-community.org/build/1720981
In file included from /build/source/intern/cycles/scene/image_vdb.cpp:5:
/build/source/intern/cycles/scene/../scene/image_vdb.h:12:12: fatal error: nanovdb/util/GridHandle.h: No such file or directory
   12 | #  include <nanovdb/util/GridHandle.h>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [intern/cycles/scene/CMakeFiles/cycles_scene.dir/build.make:328: intern/cycles/scene/CMakeFiles/cycles_scene.dir/image_vdb.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 56%] Building CXX object source/blender/makesrna/intern/CMakeFiles/bf_rna.dir/rna_access_compare_override.cc.o
In file included from /build/source/intern/cycles/scene/image.cpp:9:
/build/source/intern/cycles/scene/../scene/image_vdb.h:12:12: fatal error: nanovdb/util/GridHandle.h: No such file or directory
   12 | #  include <nanovdb/util/GridHandle.h>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Well here's the first offender

15:22:59
@ss:someonex.netSomeoneSerge (matrix works sometimes)Ah isn't it nice to have a per-attribute build history15:23:36
@ss:someonex.netSomeoneSerge (matrix works sometimes)So odd that wasn't a thing with hercules15:24:15
@kaya:catnip.eekaya 𖤐 changed their profile picture.23:25:06
6 Nov 2024
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Oh my god another TensorRT release17:06:11
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)I really gotta finish up stuff I’m working on17:06:49
7 Nov 2024
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)wanting to figure out the cost of evaluating a single attribute led me to make https://github.com/ConnorBaker/nix-eval-jobs-python06:06:20
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) wanting to figure out the impact malloc replacements have on nix eval led me to make https://github.com/ConnorBaker/tune-nix-eval
still excited about this one -- plan to add support to optimize zram parameters at some point to see if it's worthwhile to just always disable GC so long as there's RAM (or compressed RAM) available
06:07:36
8 Nov 2024
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)

Pointed out to me today by a coworker:

[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source

[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"

:(

(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)

08:20:41
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) *

Pointed out to me today by a coworker:

[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: path)'
/nix/store/xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source

[connorbaker@nixos-desktop:~]$ nix eval nixpkgs#path --apply '(path: "${path}")'
"/nix/store/6hqgw3kmvcv4glqqs64idkwvp7zx0c11-xnjw9gmfmpppdj6bxpw6cfkspc3h6xwl-source"

:(

(yes, it copies the entirety of nixpkgs from one path in the store to another path in the store)

08:20:48

Show newer messages


Back to Room ListRoom Version: 9