!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
21 Jan 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.22:37:17
@ss:someonex.netSomeoneSerge (back on matrix) * CUDA support is optional. If you enable it you have to rebuild ollama. It should be cached in nix-community cachix (more specifically, (import <nixpkgs> { config.cudaSupport = true; }).ollama should be) 21:15:17
23 Jan 2025
@ss:someonex.netSomeoneSerge (back on matrix) connor (he/him) (UTC-7): we never published that community update, you think you'd be able to find the time to push that over the line? 14:37:45
24 Jan 2025
@connorbaker:matrix.orgconnor (he/him)Ah yeah; do you remember if I had a draft or if you did?06:31:29
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @ss:someonex.net
https://pad.lassul.us/DwBgo1SZSzSVL29wsnK0fg#
^
08:52:02
@leighleighleigh:matrix.org@leighleighleigh:matrix.org left the room.20:40:08
25 Jan 2025
@caniko:matrix.orgcaniko
In reply to @ss:someonex.net
CUDA support is optional. If you enable it you have to rebuild ollama. It should be cached in nix-community cachix (more specifically, (import <nixpkgs> { config.cudaSupport = true; }).ollama should be)
Really? It used compile stuff in C back when I did this the last time
14:31:28
@caniko:matrix.orgcanikoperhaps something changed?14:31:42
@caniko:matrix.orgcanikoI just checked, it has parts that are written in C 😄14:33:59
@caniko:matrix.orgcanikodoes nix get the build requirements by itself?14:34:35
@ss:someonex.netSomeoneSerge (back on matrix)The build recipe is described in nixpkgs, and its behaviour can be modified by a few parameters: https://github.com/NixOS/nixpkgs/blob/7b0f4d83a902d8718df0f09bad5c34670b72cda6/pkgs/by-name/ol/ollama/package.nix#L32-L4014:37:53
@ss:someonex.netSomeoneSerge (back on matrix) (import <nixpkgs> { config.cudaSupport = true; }).ollama in nixos-unstable seems to build fine, idk about the runtime: https://hydra.nix-community.org/build/2851634 14:39:00
@caniko:matrix.orgcanikoOK, very cool. Thank you14:41:56
@caniko:matrix.orgcanikowill you work towards caching ollama with cuda?14:42:12
@ss:someonex.netSomeoneSerge (back on matrix) The build results of this hydra instance are cached in https://nix-community.org/cache/ 14:42:43
@caniko:matrix.orgcanikowow, it is cached already 😄14:43:27
@caniko:matrix.orgcanikoOK, great.14:43:36
@ss:someonex.netSomeoneSerge (back on matrix) Yes, thanks to the community-funded nix-community project: https://discourse.nixos.org/t/cuda-cache-for-nix-community/56038 15:01:25
@connorbaker:matrix.orgconnor (he/him)Good news: I got some experience writing tests for setup hooks in https://github.com/NixOS/nixpkgs/pull/370750, so I’m writing tests this weekend for the CUDA setup hooks I have in https://github.com/ConnorBaker/cuda-packages18:58:37
@connorbaker:matrix.orgconnor (he/him) Kevin Mittman: I don’t know if you’re able to raise this internally, but https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#deprecated-toolchains seems like it should have a list of toolchains or something instead of being empty. Are you able to, or would you mind, seeing if it’s supposed to be empty? 19:03:47
26 Jan 2025
@hexa:lossy.networkhexawandb build failure on python-updates https://hydra.lossy.network/build/264933222:26:22
@hexa:lossy.networkhexanot sure anyone here cares about that, but samuela used to22:26:52
27 Jan 2025
@justbrowsing:matrix.orgKevin Mittman (UTC-8)
In reply to @connorbaker:matrix.org
Kevin Mittman: I don’t know if you’re able to raise this internally, but https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#deprecated-toolchains seems like it should have a list of toolchains or something instead of being empty. Are you able to, or would you mind, seeing if it’s supposed to be empty?
Fixed (for some definition of that)
06:08:56
@connorbaker:matrix.orgconnor (he/him)I'm treating that doc as meeting notes -- I started drafting an update here: https://pad.lassul.us/ptoW_p-KSPWlD7Ep2Bx66A Did we ever have an announcement anywhere about CUDA packages being available through the nix-community cache?23:10:44
29 Jan 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their display name from matthewcroughan to matthewcroughan (already in Brussels).13:35:17
30 Jan 2025
@glepage:matrix.orgGaétan Lepage Which package provides libcusparseLt.so.0 ? 14:45:19
@glepage:matrix.orgGaétan Lepage I tried lib.getLib cudaPackages.libcusparse but it doesn't have it. 14:46:25
@glepage:matrix.orgGaétan Lepage Looks like we need to wait for https://github.com/NixOS/nixpkgs/pull/306172 14:50:07
@ruroruro:matrix.orgruroCan somebody review/merge this PR https://github.com/NixOS/nixpkgs/pull/371640 please?16:22:09
@ruroruro:matrix.orgruroAlso, I occasionally have some free time and I would like to spend it on improving the state of CUDA in nixpkgs/NixOS. Do you have any suggestions for which issues I should start with? Alternatively, I could just start going down the list of eval/build failures on the nix-community CUDA builder...16:24:29

Show newer messages


Back to Room ListRoom Version: 9