libtorch-bin: 1.12.1 -> 1.13.1

now built with minimum cuda 116

+12 -29
+1 -1
pkgs/development/libraries/science/math/libtorch/bin.nix
··· 17 # this derivation. However, we should ensure on version bumps 18 # that the CUDA toolkit for `passthru.tests` is still 19 # up-to-date. 20 - version = "1.12.1"; 21 device = if cudaSupport then "cuda" else "cpu"; 22 srcs = import ./binary-hashes.nix version; 23 unavailable = throw "libtorch is not available for this platform";
··· 17 # this derivation. However, we should ensure on version bumps 18 # that the CUDA toolkit for `passthru.tests` is still 19 # up-to-date. 20 + version = "1.13.1"; 21 device = if cudaSupport then "cuda" else "cpu"; 22 srcs = import ./binary-hashes.nix version; 23 unavailable = throw "libtorch is not available for this platform";
+10 -27
pkgs/development/libraries/science/math/libtorch/binary-hashes.nix
··· 1 version : builtins.getAttr version { 2 - "1.10.0" = { 3 x86_64-darwin-cpu = { 4 - name = "libtorch-macos-1.10.0.zip"; 5 - url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.10.0.zip"; 6 - hash = "sha256-HSisxHs466c6XwvZEbkV/1kVNBzJOy3uVw9Bh497Vk8="; 7 }; 8 x86_64-linux-cpu = { 9 - name = "libtorch-cxx11-abi-shared-with-deps-1.10.0-cpu.zip"; 10 - url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.10.0%2Bcpu.zip"; 11 - hash = "sha256-wAtA+AZx3HjaFbsrbyfkSXjYM0BP8H5HwCgyHbgJXJ0="; 12 }; 13 x86_64-linux-cuda = { 14 - name = "libtorch-cxx11-abi-shared-with-deps-1.10.0-cu113.zip"; 15 - url = "https://download.pytorch.org/libtorch/cu113/libtorch-cxx11-abi-shared-with-deps-1.10.0%2Bcu113.zip"; 16 - hash = "sha256-jPylK4j0V8SEQ8cZU+O22P7kQ28wanIB0GkBzRGyTj8="; 17 - }; 18 - }; 19 - "1.12.1" = { 20 - x86_64-darwin-cpu = { 21 - name = "libtorch-macos-1.12.1.zip"; 22 - url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.12.1.zip"; 23 - hash = "sha256-HSisxHs466c6XwvZEbkV/1kVNBzJOy3uVw9Bh497Vk8="; 24 - }; 25 - x86_64-linux-cpu = { 26 - name = "libtorch-cxx11-abi-shared-with-deps-1.12.1-cpu.zip"; 27 - url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.12.1%2Bcpu.zip"; 28 - hash = "sha256-bHhC0WTli9vDJv56TaT6iA/d8im9zRkK1TlBuqkh4Wg="; 29 - }; 30 - x86_64-linux-cuda = { 31 - name = "libtorch-cxx11-abi-shared-with-deps-1.12.1-cu116.zip"; 32 - url = "https://download.pytorch.org/libtorch/cu116/libtorch-cxx11-abi-shared-with-deps-1.12.1%2Bcu116.zip"; 33 - hash = "sha256-YRcusDhrHYwIFOzt7vOuUlc11VyEUjIcBzjWEyi/874="; 34 }; 35 }; 36 }
··· 1 version : builtins.getAttr version { 2 + "1.13.1" = { 3 x86_64-darwin-cpu = { 4 + name = "libtorch-macos-1.13.1.zip"; 5 + url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.13.1.zip"; 6 + hash = "sha256-2ITO1hO3qb4lEHO7xV6Dn6bhxI4Ia2TLulqs2LM7+vY="; 7 }; 8 x86_64-linux-cpu = { 9 + name = "libtorch-cxx11-abi-shared-with-deps-1.13.1-cpu.zip"; 10 + url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.13.1%2Bcpu.zip"; 11 + hash = "sha256-AXmlrtGNMVOYbQfvAQDUALlK1F0bMGNdm6RBtVuNvbo="; 12 }; 13 x86_64-linux-cuda = { 14 + name = "libtorch-cxx11-abi-shared-with-deps-1.13.1-cu116.zip"; 15 + url = "https://download.pytorch.org/libtorch/cu116/libtorch-cxx11-abi-shared-with-deps-1.13.1%2Bcu116.zip"; 16 + hash = "sha256-CujIDlE9VqUuhSJcvUO6IlDWjmjEt54sMAJ4ZRjuziw="; 17 }; 18 }; 19 }
+1 -1
pkgs/development/libraries/science/math/libtorch/prefetch.sh
··· 6 version=$1 7 8 bucket="https://download.pytorch.org/libtorch" 9 - CUDA_VERSION=cu113 10 11 url_and_key_list=( 12 "x86_64-darwin-cpu $bucket/cpu/libtorch-macos-${version}.zip libtorch-macos-${version}.zip"
··· 6 version=$1 7 8 bucket="https://download.pytorch.org/libtorch" 9 + CUDA_VERSION=cu116 10 11 url_and_key_list=( 12 "x86_64-darwin-cpu $bucket/cpu/libtorch-macos-${version}.zip libtorch-macos-${version}.zip"