!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
22 Dec 2022
@ss:someonex.netSomeoneSerge (back on matrix) libcuda.so.1 comes with your nvidia driver, and applications built with nix expect driver-related libraries to be available in /run/opengl-driver/lib; you could use nixGL as suggested, or you could try symlinking your system's nvidia libraries into that directory (although it's not always guaranteed to work) 18:16:10
@ss:someonex.netSomeoneSerge (back on matrix)

As mentioned in the thread, you'd need to add a "8.2.4" attribute in cudnn/extension.nix like in this diff and ensure that "11.6" is listed among supportedCudaVersions

This should introduce in nixpkgs an attribute cudaPackages_11_6.cudnn_8_2_4

18:22:27
@ss:someonex.netSomeoneSerge (back on matrix)And onnxruntime-gpu support in nixpkgs sounds exciting, I really hope you make something out of it18:24:40
25 Dec 2022
@ahsmha:matrix.orgahmed left the room.10:36:33
28 Dec 2022
@phaer:matrix.orgphaer joined the room.21:09:19
@phaer:matrix.orgphaer left the room.21:09:30
30 Dec 2022
@iopq:matrix.orgiopq joined the room.09:38:53
@iopq:matrix.orgiopqi get a warning from cachix09:39:27
@iopq:matrix.orgiopq trace: warning: The option nix.binaryCaches' defined in /etc/nixos/cachix/cuda-maintainers.nix' and /etc/nixos/cachix.nix' has been renamed to nix.settings.substituters'.
trace: warning: The option nix.binaryCachePublicKeys' defined in /etc/nixos/cachix/cuda-maintainers.nix' has been renamed to `nix.settings.trusted-public-keys'.
09:39:28
@iopq:matrix.orgiopqI just found it from this page09:40:09
@iopq:matrix.orgiopqhttps://nixos.wiki/wiki/CUDA09:40:10
@schnecfk:ruhr-uni-bochum.deCRTified (old handle) left the room.10:43:28
@iopq:matrix.orgiopqhow do I install a different cuda toolkit version12:55:26
@tpw_rules:matrix.orgtpw_rulesfor what?22:47:45
@tpw_rules:matrix.orgtpw_rulesyou can use like cudatoolkit_11_5 instead of just cudatoolkit22:48:00
31 Dec 2022
@iopq:matrix.orgiopqah, I see, because different programs have different version requirements, CUDA is often like that04:19:53
@iopq:matrix.orgiopqBut maybe I should approach the problem from another end, what's the recommended way to run stable diffusion on NixOS?04:24:16
@hexa:lossy.networkhexafyi https://github.com/NixOS/nixpkgs/pull/20823212:45:51
1 Jan 2023
@tpw_rules:matrix.orgtpw_ruleshttps://fxtwitter.com/pytorch/status/1609334425384517633 oops. we are not affected04:59:29
@ss:someonex.netSomeoneSerge (back on matrix)Hey folks, Feliz Navidad and happy ending of that ridiculous year. You're all awesome15:22:01
@ss:someonex.netSomeoneSerge (back on matrix) * Hey folks, (late) Feliz Navidad and happy ending of that ridiculous year. You're all awesome15:37:34
@hexa:lossy.networkhexapython-updates updates numpy past 1.24.0 and numba is lagging behind as usual17:06:58
3 Jan 2023
@skainswo:matrix.orgSamuel Ainsworth
In reply to @iopq:matrix.org
trace: warning: The option nix.binaryCaches' defined in /etc/nixos/cachix/cuda-maintainers.nix' and /etc/nixos/cachix.nix' has been renamed to nix.settings.substituters'.
trace: warning: The option nix.binaryCachePublicKeys' defined in /etc/nixos/cachix/cuda-maintainers.nix' has been renamed to `nix.settings.trusted-public-keys'.
This is an issue with cachix. I would recommend updating your cachix version to the latest stable, and re-running cachix use cuda-maintainers. If that doesn't work, I would file a bug report with cachix
04:19:22
@lromor:matrix.orglromor joined the room.22:40:17
@lromor:matrix.orglromorHi, I noticed that the nixos docs are a bit old, what's the right way to define a nix-shell to use cuda? Shall we update the documentation as well? It looks like the non-FHS version of not working. Any clues?22:45:10
4 Jan 2023
@skainswo:matrix.orgSamuel Ainsworth
In reply to @lromor:matrix.org
Hi, I noticed that the nixos docs are a bit old, what's the right way to define a nix-shell to use cuda? Shall we update the documentation as well? It looks like the non-FHS version of not working. Any clues?
Hi lromor: what software are you trying to use exactly? The most up to date documentation lives on nixos.wiki
08:09:48
@skainswo:matrix.orgSamuel Ainsworth* Hi lromor: what software are you trying to use exactly? The most up to date cuda documentation lives on nixos.wiki08:10:12
@lromor:matrix.orglromorHi, this is the page:08:19:40
@lromor:matrix.orglromorhttps://nixos.wiki/wiki/CUDA08:19:45
@lromor:matrix.orglromorthe cuda-fhs.nix seems to work. I'm testing these things against official NVIDIA cuda-samples . I have a 4090 and most of the samples work except cuFFT ones.08:20:58

Show newer messages


Back to Room ListRoom Version: 9