!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
18 Mar 2023
@atrius:matrix.orgmjlbachAh ok, so in general we should use the default's and not override them if we expect to hit the cachix cahce?00:55:06
@ss:someonex.netSomeoneSerge (back on matrix)I see00:55:06
@atrius:matrix.orgmjlbach * Ah ok, so in general we should use the default's and not override them if we expect to hit the cachix cache? 00:55:09
@ss:someonex.netSomeoneSerge (back on matrix) Btw, CUDA_PATH etc usually aren't needed 00:55:14
@atrius:matrix.orgmjlbachI'm planning on compiling some stuff out of tree haha00:55:27
@ss:someonex.netSomeoneSerge (back on matrix)I mean, depends on how exotic is the stuff you're trying to build00:55:28
@atrius:matrix.orgmjlbachvery00:55:32
@atrius:matrix.orgmjlbach🏖️00:55:38
@atrius:matrix.orgmjlbach * 🌴🏖️🍍 00:55:51
@ss:someonex.netSomeoneSerge (back on matrix) But if it's anything reasonable (cmake, lmao, am I really saying this) then just having pkg-config and cmake in shell's packages suffices 00:56:04
@atrius:matrix.orgmjlbachOh really? It will find cuda libraries?00:56:22
@ss:someonex.netSomeoneSerge (back on matrix)Plus the relevant bits of cudaPackages ofc00:56:23
@ss:someonex.netSomeoneSerge (back on matrix)Usually, yes00:56:31
@atrius:matrix.orgmjlbachWould be good to write all this down00:56:34
@atrius:matrix.orgmjlbach * Would be good to write all this down somewhere public 00:56:38
@ss:someonex.netSomeoneSerge (back on matrix)E.g. https://github.com/SomeoneSerge/nix-torchlib-shell00:56:39
@atrius:matrix.orgmjlbachAh this is great, thanks00:56:57
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @atrius:matrix.org
Would be good to write all this down somewhere public
Yea, this definitely needs more work
00:57:18
@atrius:matrix.orgmjlbachHave you tried mixing package versions? Often I can't use the latest nixpkgs versions of various things (e.g TIMM) and used to use poetry 00:57:25
@atrius:matrix.orgmjlbach
In reply to @ss:someonex.net
Yea, this definitely needs more work
I'm happy to collaborate on this!
00:57:33
@atrius:matrix.orgmjlbachI used to help out with nix tensorflow back in the day haha00:57:58
@atrius:matrix.orgmjlbachIt seems like the ML situation has gotten worse until very recently :/ 00:58:18
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @atrius:matrix.org
Have you tried mixing package versions? Often I can't use the latest nixpkgs versions of various things (e.g TIMM) and used to use poetry
No, I haven't tried much. I would usually have one revision of nixpkgs per project, and I wouldn't even fix it with flakes lately, instead I'd have a simple shell.nix use whatever is pinned system-wide, and I'd use direnv
00:59:42
@atrius:matrix.orgmjlbachAh I see, I'll try to figure it out01:01:14
@atrius:matrix.orgmjlbachhave you thought where the info would be? Is there going to be a dedicated cuda/ml nix website like nix.dev, just cleaning up the old wiki articles?01:01:46
@ss:someonex.netSomeoneSerge (back on matrix)I think https://nixos.wiki/wiki/CUDA is good for info. I think it would already help a great deal to have that up to date01:04:29
@ss:someonex.netSomeoneSerge (back on matrix)Longer-term, would be nice to have a public dashboard with stats: what's cached, what's broken, when was the last time something ran01:05:17
@ss:someonex.netSomeoneSerge (back on matrix) * Longer-term, would be nice to have a public dashboard with stats: what's cached, what's broken, since when it's broken, when was the last time something ran 01:05:24
@ss:someonex.netSomeoneSerge (back on matrix) Samuel Ainsworth: I restarted daily builds for the default set of cudaCapabilities, but only for a smaller set of fat packages. It does include pytorch, jax, tf, and then some non-sense I don't remember. Again, I feel like I shouldn't have changed it so abruptly, and we need to handle nixpkgs' defaults first 01:08:01
@ss:someonex.netSomeoneSerge (back on matrix)And maybe it's time we start thinking again about finding dedicated build nodes. I'll maybe check the hercules-in-docker situation too during the weekend, I think it should "just work"01:11:08

There are no newer messages yet.


Back to Room ListRoom Version: 9