From e88df924a0aa860b5042f2d14c177945ebaf78a8 Mon Sep 17 00:00:00 2001 From: Patsakula Nikita Date: Mon, 27 Mar 2023 19:45:02 +0300 Subject: libtorch-bin: 1.13.1 -> 2.0.0 --- .../libraries/science/math/libtorch/bin.nix | 2 +- .../science/math/libtorch/binary-hashes.nix | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/science/math/libtorch/bin.nix b/pkgs/development/libraries/science/math/libtorch/bin.nix index 34c1b7ad8440b..a47d8260714ab 100644 --- a/pkgs/development/libraries/science/math/libtorch/bin.nix +++ b/pkgs/development/libraries/science/math/libtorch/bin.nix @@ -17,7 +17,7 @@ let # this derivation. However, we should ensure on version bumps # that the CUDA toolkit for `passthru.tests` is still # up-to-date. - version = "1.13.1"; + version = "2.0.0"; device = if cudaSupport then "cuda" else "cpu"; srcs = import ./binary-hashes.nix version; unavailable = throw "libtorch is not available for this platform"; diff --git a/pkgs/development/libraries/science/math/libtorch/binary-hashes.nix b/pkgs/development/libraries/science/math/libtorch/binary-hashes.nix index 5d5c795b6ede2..83533d89b1e8b 100644 --- a/pkgs/development/libraries/science/math/libtorch/binary-hashes.nix +++ b/pkgs/development/libraries/science/math/libtorch/binary-hashes.nix @@ -1,19 +1,19 @@ version : builtins.getAttr version { - "1.13.1" = { + "2.0.0" = { x86_64-darwin-cpu = { - name = "libtorch-macos-1.13.1.zip"; - url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.13.1.zip"; - hash = "sha256-2ITO1hO3qb4lEHO7xV6Dn6bhxI4Ia2TLulqs2LM7+vY="; + name = "libtorch-macos-2.0.0.zip"; + url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-2.0.0.zip"; + hash = "sha256-u6y5IeYoiOC0yQ/k6JCChDs9lXWccLxUorgR8L62lkM="; }; x86_64-linux-cpu = { - name = "libtorch-cxx11-abi-shared-with-deps-1.13.1-cpu.zip"; - url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.13.1%2Bcpu.zip"; - hash = "sha256-AXmlrtGNMVOYbQfvAQDUALlK1F0bMGNdm6RBtVuNvbo="; + name = "libtorch-cxx11-abi-shared-with-deps-2.0.0-cpu.zip"; + url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.0.0%2Bcpu.zip"; + hash = "sha256-BoZQ2MC1CDVVGfX3SHC3mEpLGWO8XK7AcLcHJXDsXuc="; }; x86_64-linux-cuda = { - name = "libtorch-cxx11-abi-shared-with-deps-1.13.1-cu116.zip"; - url = "https://download.pytorch.org/libtorch/cu116/libtorch-cxx11-abi-shared-with-deps-1.13.1%2Bcu116.zip"; - hash = "sha256-CujIDlE9VqUuhSJcvUO6IlDWjmjEt54sMAJ4ZRjuziw="; + name = "libtorch-cxx11-abi-shared-with-deps-2.0.0-cu118.zip"; + url = "https://download.pytorch.org/libtorch/cu118/libtorch-cxx11-abi-shared-with-deps-2.0.0%2Bcu118.zip"; + hash = "sha256-Dpw9kQdA1NI9EOT7JBKwQP4wZT6lizcnKKTQ8WVJCZc="; }; }; } -- cgit 1.4.1