nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 19 lines 839 B view raw
1version : builtins.getAttr version { 2 "2.0.0" = { 3 x86_64-darwin-cpu = { 4 name = "libtorch-macos-2.0.0.zip"; 5 url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-2.0.0.zip"; 6 hash = "sha256-u6y5IeYoiOC0yQ/k6JCChDs9lXWccLxUorgR8L62lkM="; 7 }; 8 x86_64-linux-cpu = { 9 name = "libtorch-cxx11-abi-shared-with-deps-2.0.0-cpu.zip"; 10 url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.0.0%2Bcpu.zip"; 11 hash = "sha256-BoZQ2MC1CDVVGfX3SHC3mEpLGWO8XK7AcLcHJXDsXuc="; 12 }; 13 x86_64-linux-cuda = { 14 name = "libtorch-cxx11-abi-shared-with-deps-2.0.0-cu118.zip"; 15 url = "https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.0.0%2Bcu118.zip"; 16 hash = "sha256-Dpw9kQdA1NI9EOT7JBKwQP4wZT6lizcnKKTQ8WVJCZc="; 17 }; 18 }; 19}