!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
31 Mar 2023
@pta02:matrix.orgPedro Alvesah12:38:45
@ss:someonex.netSomeoneSerge (matrix works sometimes)

hercules: out /nix/store/rx8bw8k6vk3fw6icil65jxgxh0iih4db-python3.10-tensorflow-gpu-2.11.0

local:

❯ nix path-info  --impure --expr 'let unfree = builtins.getFlake github:SomeoneSerge/nixpkgs-unfree/b8685f9d290118ee7b3dece0008706637f0c14e3; nixpkgs = unfree.inputs.nixpkgs-nixos-unstable; pkgs = import nixpkgs { overlays = [unfree.overlays.basic]; config.cudaSupport = true; config.allowUnfree = true; }; in pkgs.python3Packages.tensorflow'
/nix/store/rx8bw8k6vk3fw6icil65jxgxh0iih4db-python3.10-tensorflow-gpu-2.11.0

And the offender: https://github.com/SomeoneSerge/nixpkgs-unfree/blob/b8685f9d290118ee7b3dece0008706637f0c14e3/nix/overlays.nix#L29

I should move these to nixpkgs

12:40:05
@pta02:matrix.orgPedro Alvesit works!! 🎉12:53:11
@ss:someonex.netSomeoneSerge (matrix works sometimes)Hooray!12:53:28
@pta02:matrix.orgPedro Alves thanks a lot Someone S :) any particular reason your overlay works and just regular nixpkgs doesn't? 12:53:29
@pta02:matrix.orgPedro Alvesor just cudaSupport = true leading to a different hash?12:53:48
@ss:someonex.netSomeoneSerge (matrix works sometimes) the overlay overrides some three derivations that don't respect the global cudaSupport... 12:54:22
@ss:someonex.netSomeoneSerge (matrix works sometimes)Ok, tracking in https://github.com/NixOS/nixpkgs/pull/224068 but I really don't have the time to make thisproper rn12:57:00
@ss:someonex.netSomeoneSerge (matrix works sometimes)

RE: FindCUDAToolkit and scattered components

https://gitlab.kitware.com/cmake/cmake/-/issues/24663

CC Kevin Mittman

19:22:32
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7)
In reply to @ss:someonex.net
Kevin Mittman: do you know if libnvcuvid.so is in any way hardware-dependend/should actually come with the driver? Asking because currently the only derivation in nixpkgs that ships it is linuxPackages.nvidia_x11, as far as I can see
NVCUVID is shipped with the NVIDIA driver and packaged (RPM/Debian) as libnvidia-decode
21:58:12
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) Pinged the relevant person  23:24:27
1 Apr 2023
@ss:someonex.netSomeoneSerge (matrix works sometimes) Kevin Mittman: I've just learned that nvc++ is not the same thing as nvcc, while dealing with NVIDIA/thrust's cmake rules. I don't know yet if we want it or why would we, but just for the record what's the redist status of this "HPC SDK"? 19:48:54
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) I think the idiom is something like they won't play ball 19:51:05
@ss:someonex.netSomeoneSerge (matrix works sometimes)Figures19:51:58
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) cuda_cccl (formerly cuda_thrust) contains thrust, cub, and one other library I don't recall off hand the name 19:53:12
@ss:someonex.netSomeoneSerge (matrix works sometimes)I noticed. I just had a derivation that builds nvidia-thrust with nvcc, and it worked, but I never merged it into nixpkgs, and now I'm thinking: why would we autopatchelf cuda_cccl, when we can use the source build19:54:40
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) libcu++ is the third one https://github.com/NVIDIA/thrust 19:55:30
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) * libcu++ is the third one https://github.com/NVIDIA/cccl 19:56:01
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) also see thrust and cub repos on github 19:57:09
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @justbrowsing:matrix.org
libcu++ is the third one https://github.com/NVIDIA/cccl
Ooooh, so we can get source builds for the missing pieces later as well!
19:57:19
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @justbrowsing:matrix.org
also see thrust and cub repos on github
These two were weird btw, I think I couldn't build CUB without a Thrust check out, and I could build Thrust with cuda support without a CUB check out, which sort of begged a question
19:58:23
@justbrowsing:matrix.orgKevin Mittman (jetlagged/UTC-7) it's ducks cyclic deps, all the way down 20:00:12
@ss:someonex.netSomeoneSerge (matrix works sometimes)
In reply to @justbrowsing:matrix.org
also see thrust and cub repos on github
* These two were weird btw, I think I couldn't build CUB without a Thrust check out, and I could build Thrust with cuda support without a CUB check out, which sort of begged the question
20:01:35
2 Apr 2023
@ss:someonex.netSomeoneSerge (matrix works sometimes) Welp, I think it's not happening this weekend =\ tracking the issue here now: https://github.com/NixOS/nixpkgs/issues/224353 11:25:13
3 Apr 2023
@hexa:lossy.networkhexa which pakcages has nvidia-smi? 00:18:34
@hexa:lossy.networkhexanix-locate fails me 00:18:38
@hexa:lossy.networkhexa * which packages has nvidia-smi? 00:18:44
@ss:someonex.netSomeoneSerge (matrix works sometimes) /nix/store/8cjrmnbkx47dgh0abxbils0vf0zkabc6-nvidia-x11-525.89.02-6.1.19-bin/bin/nvidia-smi 00:19:11
@hexa:lossy.networkhexathx00:19:37
@connorbaker:matrix.orgconnor (he/him)This weekend was awful (didn't get the chance to work on anything) but at least I did my taxes and fixed some fire hazards around my desktop's PSU05:59:05

There are no newer messages yet.


Back to Room ListRoom Version: 9