Merge pull request #115165 from danieldk/libtorch-bin-1.8.0

libtorch-bin: 1.7.1 -> 1.8.0
This commit is contained in:
Daniël de Kok 2021-03-05 11:48:02 +01:00 committed by GitHub
commit 44c5606792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ let
# this derivation. However, we should ensure on version bumps # this derivation. However, we should ensure on version bumps
# that the CUDA toolkit for `passthru.tests` is still # that the CUDA toolkit for `passthru.tests` is still
# up-to-date. # up-to-date.
version = "1.7.1"; version = "1.8.0";
device = if cudaSupport then "cuda" else "cpu"; device = if cudaSupport then "cuda" else "cpu";
srcs = import ./binary-hashes.nix version; srcs = import ./binary-hashes.nix version;
unavailable = throw "libtorch is not available for this platform"; unavailable = throw "libtorch is not available for this platform";

View File

@ -1,14 +1,14 @@
version: { version: {
x86_64-darwin-cpu = { x86_64-darwin-cpu = {
url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${version}.zip"; url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${version}.zip";
sha256 = "0n93r7bq6wjjxkczp8r5pjm1nvl75wns5higsvh7gsir0j6k7b5b"; hash = "sha256-V1lbztMB09wyWjdiJrwVwJ00DT8Kihy/TC2cKmdBLIE=";
}; };
x86_64-linux-cpu = { x86_64-linux-cpu = {
url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcpu.zip"; url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcpu.zip";
sha256 = "0gpcj90nxyc69p53jiqwamd4gi7wzssk29csxfsyxsrzg3h36s7z"; hash = "sha256-xBaNyI7eiQnSArHMITonrQQLZnZCZK/SWKOTWnxzdpc=";
}; };
x86_64-linux-cuda = { x86_64-linux-cuda = {
url = "https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-${version}.zip"; url = "https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-${version}.zip";
sha256 = "01z61ryrflq306x7ay97k2fqc2q2z9c4c1zcnjfzr6412vg4fjb8"; hash = "sha256-rNEyE4+jfeX7cU0aNYd5b0pZGYT0PNPnDnS1PIsrMeM=";
}; };
} }