NixOS CUDA | 324 Members | |
| CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda | 64 Servers |
| Sender | Message | Time |
|---|---|---|
| 21 Dec 2022 | ||
| Our project has a dependency on the MS Onnxruntime w/CUDA support. At present the, MS OnnxRuntime 1.13 release requires Cuda 11.6 and cuDNN 8.2.4, however, search the NixOS repo, we find 'pkgs.cudaPackages_11_6.cudatoolkit' but various other versions of cuDNN (i.e. 8.3.2) -- but no 8.2.4 package. A few weeks back, I went looking for help on NixOS Discourse (See https://discourse.nixos.org/t/how-to-install-a-specific-version-of-cuda-and-cudnn/21725) -- where SergeK kindly pointed me to this forum. We're complete newbies when it comes to NixOS, so we're looking for some help for get the cuDNN 8.2.4 package added -- or maybe its already there but we just haven't unearthed it yet! Anyway, any tips or suggestions to help us get this figured out would be greatly appreciated. Thx! | 17:45:23 | |
| * Our project has a dependency on the MS Onnxruntime w/CUDA support. At present the, MS OnnxRuntime 1.13 release requires Cuda 11.6 and cuDNN 8.2.4, however, searching the NixOS repo, we find the 'pkgs.cudaPackages_11_6.cudatoolkit' and various other versions of cuDNN (e.g.. 8.3.2) -- but no 8.2.4 package. A few weeks back, I went looking for help on NixOS Discourse (See https://discourse.nixos.org/t/how-to-install-a-specific-version-of-cuda-and-cudnn/21725) -- where SergeK kindly pointed me to this forum. We're complete newbies when it comes to NixOS, so we're looking for some help for get the cuDNN 8.2.4 package added -- or maybe its already there but we just haven't unearthed it yet! Anyway, any tips or suggestions to help us get this figured out would be greatly appreciated. Thx! | 17:53:59 | |
| can you build stuff using a checkout of nixpkgs? | 23:25:22 | |
| 22 Dec 2022 | ||
| 17:59:25 | ||
Hello, I'm using shell.nix with Arch Linux, and I'm trying to use python310Packages.pycuda in my Python project, but when I import pycuda.driver, Python complained about missing of libcuda.so.1 | 18:04:05 | |
Is this package only available in NixOS? Or do I need some setup to link my host libcuda.so.1 into shell.nix? | 18:05:57 | |
| 18:06:21 | |
*
| 18:06:29 | |
| if you are not using nixos you need nixGL: https://github.com/guibou/nixGL for cuda to work | 18:11:11 | |
| (and other graphics stuff) | 18:11:24 | |
Thanks, I only know that nixGL is needed for OpenGL and Vulkan | 18:13:42 | |
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 | |
| As mentioned in the thread, you'd need to add a This should introduce in nixpkgs an attribute | 18:22:27 | |
| And onnxruntime-gpu support in nixpkgs sounds exciting, I really hope you make something out of it | 18:24:40 | |
| 25 Dec 2022 | ||
| 10:36:33 | ||
| 28 Dec 2022 | ||
| 21:09:19 | ||
| 21:09:30 | ||
| 30 Dec 2022 | ||
| 09:38:53 | ||
| i get a warning from cachix | 09:39:27 | |
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 | |
| I just found it from this page | 09:40:09 | |
| https://nixos.wiki/wiki/CUDA | 09:40:10 | |
| 10:43:28 | ||
| how do I install a different cuda toolkit version | 12:55:26 | |
| for what? | 22:47:45 | |
| you can use like cudatoolkit_11_5 instead of just cudatoolkit | 22:48:00 | |
| 31 Dec 2022 | ||
| ah, I see, because different programs have different version requirements, CUDA is often like that | 04:19:53 | |
| But maybe I should approach the problem from another end, what's the recommended way to run stable diffusion on NixOS? | 04:24:16 | |
| fyi https://github.com/NixOS/nixpkgs/pull/208232 | 12:45:51 | |
| 1 Jan 2023 | ||
| https://fxtwitter.com/pytorch/status/1609334425384517633 oops. we are not affected | 04:59:29 | |