!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
6 Jun 2026
@seudonym:matrix.orgWahid Khan/nix/store/jsf4ks2kqw05n46zil6qgka27zbh1d6b-magma-2.9.0 /nix/store/ylzb5fvjs1sn7qr4rpjmjpw0ksvf8b0x-magma-2.9.0-test13:42:40
@thefossguy:matrix.orgPratham Patel now test if it is really cached or not nix path-info --refresh --store $FloxCache /nix/store/jsf4ks2kqw05n46zil6qgka27zbh1d6b-magma-2.9.0 13:44:25
@seudonym:matrix.orgWahid Khanis $FloxCache supposed to be in my env? bc it isnt13:44:58
@thefossguy:matrix.orgPratham Patelnix config show | grep substituter | grep flox13:45:20
@seudonym:matrix.orgWahid Khanyeah thats as expected it shows cache.flox.org13:45:40
@seudonym:matrix.orgWahid Khan.dev13:45:54
@seudonym:matrix.orgWahid Khan*13:45:55
@seudonym:matrix.orgWahid Khan substituters = https://cache.flox.dev https://cache.nixos.org/ 13:46:03
@thefossguy:matrix.orgPratham Patel cache.flox.dev is $FloxCache 13:46:06
@seudonym:matrix.orgWahid Khanalright so i'll do that in path-info args then13:46:23
@seudonym:matrix.orgWahid Khanimage.png
Download image.png
13:47:07
@thefossguy:matrix.orgPratham Patelyeah, not cached13:47:17
@seudonym:matrix.orgWahid Khanrip13:47:22
@thefossguy:matrix.orgPratham Patel a --refresh didn't fix it 13:47:29
@thefossguy:matrix.orgPratham Patel^13:47:39
@seudonym:matrix.orgWahid Khanhmm okay13:47:46
@seudonym:matrix.orgWahid Khanif it fails to build for wtv reason13:47:53
@seudonym:matrix.orgWahid Khani'll try overriding torch with torch-bin13:48:01
@seudonym:matrix.orgWahid Khanthanks for the help man, learnt a lot13:49:52
@seudonym:matrix.orgWahid Khanit built magma then proceeded to build onnxruntime and torch from source lol15:48:23
@seudonym:matrix.orgWahid Khaneven with max jobs set to 1 my session died15:48:39
@glepage:matrix.orgGaétan Lepagemagma is one of torch's dependencies. About our cache: https://matrix.to/#/!eWOErHSaiddIbsUNsJ:nixos.org/$zijKRUrBGB9ikZH0lM7G3-9bVMcAzXGf3pNobjniK8s?via=nixos.org&via=matrix.org&via=nixos.dev https://matrix.to/#/!eWOErHSaiddIbsUNsJ:nixos.org/$GKkzHkwmaw-P0G1x1FJskgeNxTOHXLGVhnNj0v6EHzo?via=nixos.org&via=matrix.org&via=nixos.dev18:39:48
@glepage:matrix.orgGaétan Lepage Also, you don't want to build torch from source nowadays (unless you have a very powerful system).
If you still want to build things, you may set cudaCapabilities to whatever corresponds to yo
18:41:27
@glepage:matrix.orgGaétan Lepage * Also, you don't want to build torch from source nowadays (unless you have a very powerful system).
If you still want to build things, you may set cudaCapabilities that correspond to your GPU.
https://developer.nvidia.com/cuda/gpus
18:41:52
@glepage:matrix.orgGaétan Lepage* magma is one of torch's (build) dependencies. About our cache: https://matrix.to/#/!eWOErHSaiddIbsUNsJ:nixos.org/$zijKRUrBGB9ikZH0lM7G3-9bVMcAzXGf3pNobjniK8s?via=nixos.org&via=matrix.org&via=nixos.dev https://matrix.to/#/!eWOErHSaiddIbsUNsJ:nixos.org/$GKkzHkwmaw-P0G1x1FJskgeNxTOHXLGVhnNj0v6EHzo?via=nixos.org&via=matrix.org&via=nixos.dev18:43:05
@glepage:matrix.orgGaétan Lepage *

Also, you don't want to build torch from source nowadays (unless you have a very powerful system).
If you still want to build things, you may set cudaCapabilities that correspond to your GPU.
https://developer.nvidia.com/cuda/gpus

It will significantly speed-up compilation compared to targeting the default ones.

18:44:08
@seudonym:matrix.orgWahid Khanohh okay19:32:40
@seudonym:matrix.orgWahid Khanthank you, i'll look into this19:33:33
7 Jun 2026
@seudonym:matrix.orgWahid Khanlooks like the cache doesnt have torchaudio or torch 🥹06:48:11
@seudonym:matrix.orgWahid Khanokay its probably bc i have nixpkgs url set to a local repo.07:02:50

Show newer messages


Back to Room ListRoom Version: 9