!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

281 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
7 Dec 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Left a comment17:11:27
@glepage:matrix.orgGaétan LepageThanks a lot. Working on a better solution.17:26:06
8 Dec 2025
@adrian-gierakowski:matrix.orgadrian-gierakowskiis it expected for cudaSupport=true to cause nix itself to be rebuilt? https://github.com/NixOS/nixpkgs/issues/46894711:22:53
@adrian-gierakowski:matrix.orgadrian-gierakowskilooks like so tests related deps causing this 11:23:29
@adrian-gierakowski:matrix.orgadrian-gierakowski *

looks like so tests related deps causing this:

> nix why-depends /nix/store/rf0rkc1p07vgrc25b6br3f35aipipp3g-nix-2.32.4 /nix/store/awc75hb0iz3gnb4qbg3z1g9lk8jqiibi-hwloc-2.12.2-lib
/nix/store/rf0rkc1p07vgrc25b6br3f35aipipp3g-nix-2.32.4
└───/nix/store/i7chz8mn48rgmm1y8a6yy6gk6bs2dv8m-nix-2.32.4
    └───/nix/store/3pvks90shqql6bvb67cc88n21r7b3sx0-nix-util-2.32.4
        └───/nix/store/iq2bbr1l3ka2yfjc93gswsp43xr9a6mr-libblake3-1.8.2
            └───/nix/store/bk2q02fwz5mxa4xvblcl1p89ygllm04f-onetbb-2022.3.0
                └───/nix/store/awc75hb0iz3gnb4qbg3z1g9lk8jqiibi-hwloc-2.12.2-lib
11:26:18
@adrian-gierakowski:matrix.orgadrian-gierakowski Maybe I shouldn't set cudaSupport = true systemwide, but create a separate instance of pkgs for just those package which need cudaSupport? 12:51:02
@albertlarsan68:albertlarsan.frAlbert LarsanIt used to rebuild at least as far back as 25.05, and still rebuilds on 25.11. Some NixOS options change defaults based on the cudaSupport/rocmSupport values.12:59:11
@adrian-gierakowski:matrix.orgadrian-gierakowski Thanks @albertlarsan68:albertlarsan.fr! So would you still recommend setting cudaSupport at system level? 14:29:37
@albertlarsan68:albertlarsan.frAlbert LarsanThat is what I do for the machines that have an Nvidia GPU, for which I eat the cost of building nix (although I have a private binary cache to which I push the closures of the updated machines before uploading the flake update to the machines)14:36:59
9 Dec 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8) Gaétan Lepage: SomeoneSerge (back on matrix): could one of you approve/merge https://github.com/NixOS/nixpkgs/pull/467975? 00:09:23
@ss:someonex.netSomeoneSerge (back on matrix) Robbie Buxton: have you seen https://linus.schreibt.jetzt/posts/ubuntu-images.html? Also stumbled on https://github.com/numtide/nix-vm-test while trying to remember the url 16:35:16
@ss:someonex.netSomeoneSerge (back on matrix)Nix in this case is just a tool we already had for memoization and isolation, it just happens to come with a particularly shitty scheduler16:36:28
@sporeray:matrix.orgRobbie BuxtonNo I haven’t, I’ll take a look, cheers!16:37:26
@ss:someonex.netSomeoneSerge (back on matrix)Any other memoization solution one could build must necessarily be a version of Nix (on top of the actual Nix), likely stripped down and using heuristics instead of trying to faithfully compute the hash "of that and only that which matters"... 16:38:47
@ss:someonex.netSomeoneSerge (back on matrix)Which with the current state of affairs is probably cheaper and more efficient 🤷16:39:14
@ss:someonex.netSomeoneSerge (back on matrix)But mathematically still the same thing16:39:27
@tomberek:matrix.orgtomberekAnyone using impure derivations to explicitly have non-caching behavior?16:42:29
@ss:someonex.netSomeoneSerge (back on matrix)No, that's not really useful?17:07:37
10 Dec 2025
@ss:someonex.netSomeoneSerge (back on matrix) *

No, that's not really useful?

Edit: we generally do want memoization (caching), as well as ability to deterministically name things in sentences "X succeeds (fails)". Just that so far we haven't included all relevant platform info in the derivation, so the equivalence classes are too big. It's one line fixable though

18:29:41
@ss:someonex.netSomeoneSerge (back on matrix) *

No, that's not really useful?

Edit: we generally do want memoization (caching), as well as ability to deterministically name things in sentences "X succeeds (fails)". Just that so far we haven't included all relevant platform info in the derivation, so the equivalence classes are too big. It's one line fixable though

Impure derivations just add sandboxing that needs to be bypassed, and a scheduler that is more of a liability

18:30:29

There are no newer messages yet.


Back to Room ListRoom Version: 9