| 6 Jun 2026 |
Wahid Khan | /nix/store/jsf4ks2kqw05n46zil6qgka27zbh1d6b-magma-2.9.0
/nix/store/ylzb5fvjs1sn7qr4rpjmjpw0ksvf8b0x-magma-2.9.0-test | 13:42:40 |
Pratham 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 |
Wahid Khan | is $FloxCache supposed to be in my env? bc it isnt | 13:44:58 |
Pratham Patel | nix config show | grep substituter | grep flox | 13:45:20 |
Wahid Khan | yeah thats as expected it shows cache.flox.org | 13:45:40 |
Wahid Khan | .dev | 13:45:54 |
Wahid Khan | * | 13:45:55 |
Wahid Khan | substituters = https://cache.flox.dev https://cache.nixos.org/ | 13:46:03 |
Pratham Patel | cache.flox.dev is $FloxCache | 13:46:06 |
Wahid Khan | alright so i'll do that in path-info args then | 13:46:23 |
Wahid Khan |  Download image.png | 13:47:07 |
Pratham Patel | yeah, not cached | 13:47:17 |
Wahid Khan | rip | 13:47:22 |
Pratham Patel | a --refresh didn't fix it | 13:47:29 |
Pratham Patel | ^ | 13:47:39 |
Wahid Khan | hmm okay | 13:47:46 |
Wahid Khan | if it fails to build for wtv reason | 13:47:53 |
Wahid Khan | i'll try overriding torch with torch-bin | 13:48:01 |
Wahid Khan | thanks for the help man, learnt a lot | 13:49:52 |
Wahid Khan | it built magma then proceeded to build onnxruntime and torch from source lol | 15:48:23 |
Wahid Khan | even with max jobs set to 1 my session died | 15:48:39 |
Gaétan Lepage | magma 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.dev | 18:39:48 |
Gaé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 |
Gaé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 |
Gaé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.dev | 18:43:05 |
Gaé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 |
Wahid Khan | ohh okay | 19:32:40 |
Wahid Khan | thank you, i'll look into this | 19:33:33 |
| 7 Jun 2026 |
Wahid Khan | looks like the cache doesnt have torchaudio or torch 🥹 | 06:48:11 |
Wahid Khan | okay its probably bc i have nixpkgs url set to a local repo. | 07:02:50 |