!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

You have reached the beginning of time (for this room).


SenderMessageTime
24 Jan 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)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

Show newer messages


Back to Room ListRoom Version: 9