| 31 Mar 2023 |
Pedro Alves | ah | 12:38:45 |
SomeoneSerge (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 |
Pedro Alves | it works!! 🎉 | 12:53:11 |
SomeoneSerge (matrix works sometimes) | Hooray! | 12:53:28 |
Pedro Alves | thanks a lot Someone S :) any particular reason your overlay works and just regular nixpkgs doesn't? | 12:53:29 |
Pedro Alves | or just cudaSupport = true leading to a different hash? | 12:53:48 |
SomeoneSerge (matrix works sometimes) | the overlay overrides some three derivations that don't respect the global cudaSupport... | 12:54:22 |
SomeoneSerge (matrix works sometimes) | Ok, tracking in https://github.com/NixOS/nixpkgs/pull/224068 but I really don't have the time to make thisproper rn | 12:57:00 |
SomeoneSerge (matrix works sometimes) | RE: FindCUDAToolkit and scattered components
https://gitlab.kitware.com/cmake/cmake/-/issues/24663
CC Kevin Mittman
| 19:22:32 |
Kevin 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 |
Kevin Mittman (jetlagged/UTC-7) | Pinged the relevant person | 23:24:27 |
| 1 Apr 2023 |
SomeoneSerge (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 |
Kevin Mittman (jetlagged/UTC-7) | I think the idiom is something like they won't play ball | 19:51:05 |
SomeoneSerge (matrix works sometimes) | Figures | 19:51:58 |
Kevin 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 |
SomeoneSerge (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 build | 19:54:40 |
Kevin Mittman (jetlagged/UTC-7) | libcu++ is the third one https://github.com/NVIDIA/thrust | 19:55:30 |
Kevin Mittman (jetlagged/UTC-7) | * libcu++ is the third one https://github.com/NVIDIA/cccl | 19:56:01 |
Kevin Mittman (jetlagged/UTC-7) | also see thrust and cub repos on github | 19:57:09 |
SomeoneSerge (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 |
SomeoneSerge (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 |
Kevin Mittman (jetlagged/UTC-7) | it's ducks cyclic deps, all the way down | 20:00:12 |
SomeoneSerge (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 |
SomeoneSerge (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 | which pakcages has nvidia-smi? | 00:18:34 |
hexa | nix-locate fails me | 00:18:38 |
hexa | * which packages has nvidia-smi? | 00:18:44 |
SomeoneSerge (matrix works sometimes) | /nix/store/8cjrmnbkx47dgh0abxbils0vf0zkabc6-nvidia-x11-525.89.02-6.1.19-bin/bin/nvidia-smi | 00:19:11 |
hexa | thx | 00:19:37 |
connor (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 PSU | 05:59:05 |