| 25 Oct 2025 |
Daniel Fahey | btw I'm having a quick look into https://hydra.nixos-cuda.org/build/1784 | 18:29:42 |
GaƩtan Lepage | Oh good! | 18:48:06 |
asa | is there a reason packages like tensorrt require a manual installation and then running nix-store --add-fixed sha256 TensorRT-10.9.0.34.Linux.x86_64-gnu.cuda-12.8.tar.gz to put them in the nix store? | 21:41:07 |
asa | as opposed to directly downloading the tarball (eg. from https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.9.0/tars/TensorRT-10.9.0.34.Linux.x86_64-gnu.cuda-12.8.tar.gz) under the relevant license | 21:41:45 |
Daniel Fahey | IDK I'm just guessing licensing? | 21:42:17 |
asa | yeah it seems like a weird "nvidia requires you to sign in and agree to their eula" thing | 21:42:41 |
asa | but i don't think(?) it violates their license if private groups that already have agreed to the eula override the tensorrt package to fetch from the url anyway | 21:43:18 |
Daniel Fahey | They relaxed a lot of their law fare bullshit recently | 21:43:38 |
asa | a related question - it appears the tensorrt in nixpkgs is labelled only for x86_64 (possibly because nvidia only offers generic linux binaries for x64), but they offer a tarball for ubuntu 24, would i just be able to override the source for the arm build and let patchelf handle the rest? | 21:44:53 |
asa | * a related question - it appears the tensorrt in nixpkgs is labelled only for x86_64 (possibly because nvidia only offers generic linux binaries for x64), but they only offer a tarball for arm targeting ubuntu 24, would i just be able to override the source for the arm build and let patchelf handle the rest? | 21:45:20 |
asa | * a related question - it appears the tensorrt in nixpkgs is labelled only for x86_64 (possibly because nvidia only offers generic linux binaries for x64), but they only offer a tarball for arm targeting ubuntu 24. would i just be able to override the source for the arm build and let patchelf handle the rest? | 21:45:38 |
Daniel Fahey | Try it out, looks like it needs a new maintainer anyway. I nominate you https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/tensorrt/default.nix | 21:46:58 |
asa | sounds good, perhaps i'll try to figure out how to use nixpkgs' cuda infra first | 21:49:07 |