NixOS CUDA | 336 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 |
|---|---|---|
| 2 Feb 2023 | ||
| well it mat not be pretty, buth this deos give me what I need:
| 22:54:36 | |
it would be nice if cudaPackages.tensorrt had an override method so that I could override the version values without having to reimplement half of the derrivation | 22:55:27 | |
If you're going to use nixpkgs packages that rely on tensorrt, you might also want to re-evaluate cudaPackages in an overlay to make sure they all use your version of tensorrt | 22:57:14 | |
| hmm -- ok that makes sense | 22:57:57 | |
There's an example in the manual, cf. the overrideScope' bit https://nixos.org/manual/nixpkgs/unstable/#cuda | 22:58:51 | |
| thanks! - I'm out of time for today, but I'll take a look tomorrow | 22:59:28 | |
| Cheers! | 22:59:43 | |
| 6 Feb 2023 | ||
| ignore this, just trying to get an unread notification to go away... | 18:11:06 | |
| left the threads beta, because unread notifications were driving me nuts | 19:43:58 | |
| does this message show up as a simple reply now? | 19:44:47 | |
| yes, it does | 19:44:54 | |
| oh please tell me how to do that | 20:44:06 | |
| 7 Feb 2023 | ||
| https://github.com/NixOS/nixpkgs/pull/215091 | 17:32:46 | |
| 8 Feb 2023 | ||
In reply to @tpw_rules:matrix.orgin element labs settings there is a big leave button 😄 | 11:55:20 | |
| 9 Feb 2023 | ||
| 17:34:22 | ||
| A recurring theme really: https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$g1YvCdKTL93lLBfdCAs7VrHKtBzWEmgHvztNbbog0MU?via=nixos.org&via=matrix.org&via=tchncs.de | 17:36:51 | |
| 10 Feb 2023 | ||
| 12:52:42 | ||
| 12:55:06 | ||
| https://youtu.be/H3AQnlpxk0c?t=57 | 23:13:41 | |
| Note https://github.com/NixOS/nixpkgs/pull/215578 | 23:15:51 | |
| 11 Feb 2023 | ||
| 05:30:10 | ||
| Hey, uhm, would this be the place I would talk about getting an nvidia gpu functional within a container? | 05:43:14 | |
In reply to @ss:someonex.netThe curse of purity | 10:18:30 | |
| ... and I managed to stumble my way through it. Just if anyone else finds themselves in the situation trying to get nvidia-container-runtime working with conatinerd -- running into "UNKNOWN" errors whenever invoking commands within the container. The additional trick, outside of getting nvidia working on the host, and the containerd configuration from the guides, is to leverage the mkNvidiaContainerPkg derivation in nixpkgs, taking after nvidia-podman but importantly remembering to comment out the no-cgroups setting. | 12:31:42 | |
| * ... and I managed to stumble my way through it. Just if anyone else finds themselves in the situation trying to get nvidia-container-runtime working with conatinerd -- running into "UNKNOWN" errors whenever invoking commands within the container. The additional trick, outside of getting nvidia working on the host, and the containerd configuration from the guides, is to leverage the mkNvidiaContainerPkg derivation in nixpkgs, taking after nvidia-podman but importantly remembering to comment out the no-cgroups setting. Oh, and adding your nvidia-containerd derivation to the containerd systemd service path. | 12:44:49 | |
| Hm, I never dealt with containerd, but basic podman and docker with gpu support seemed to just work for me | 13:26:14 | |
In reply to @FRidh:matrix.orgAre you familiar with Guix's "grafts"? I just overheard about them, they seem to aim at solving a similar issue | 13:27:13 | |
| Yeah, I think it would have just worked if I was using docker or podman. Really, podman was pretty close, it is just that containerd is using cgroupsv2 and the podman config.toml has no-cgroups set to true. | 13:30:13 | |
| But alas. I am working with the kubernetes config in nixpkgs, which is using containerd. | 13:30:53 | |
| Yes, I think this was based on https://github.com/NixOS/rfcs/pull/3 | 15:33:45 | |