libtorch-bin: 1.6.0 -> 1.7.0
Changelog: https://github.com/pytorch/pytorch/releases/tag/v1.7.0
This commit is contained in:
parent
533965957e
commit
442ba6668f
@ -12,9 +12,9 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.6.0";
|
||||
version = "1.7.0";
|
||||
device = if cudaSupport then "cuda" else "cpu";
|
||||
srcs = import ./binary-hashes.nix;
|
||||
srcs = import ./binary-hashes.nix version;
|
||||
unavailable = throw "libtorch is not available for this platform";
|
||||
in stdenv.mkDerivation {
|
||||
inherit version;
|
||||
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
version: {
|
||||
x86_64-darwin-cpu = {
|
||||
url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-1.6.0.zip";
|
||||
sha256 = "0d4n7la31qzl4s9pwvm07la7q6lhcwiww0yjpfz3kw6nvx84p22r";
|
||||
url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${version}.zip";
|
||||
sha256 = "1912lklil0i7i10j1fm4qzcq96cc8c281l9fn5gfbwa2wwry0r59";
|
||||
};
|
||||
x86_64-linux-cpu = {
|
||||
url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.6.0%2Bcpu.zip";
|
||||
sha256 = "1975b4zvyihzh89vnwspw0vf9qr05sxj8939vcrlmv3gzvdspcxz";
|
||||
url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcpu.zip";
|
||||
sha256 = "0jdd7bjcy20xz2gfv8f61zdrbzxz5425bnqaaqgrwpzvd45ay8px";
|
||||
};
|
||||
x86_64-linux-cuda = {
|
||||
url = "https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-1.6.0.zip";
|
||||
sha256 = "127qnfyi1faqbm40sbnsyqxjhrqj82bzwqyz7c1hs2bm0zgrrpya";
|
||||
url = "https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-${version}.zip";
|
||||
sha256 = "1ag6lvf3a400ivqq4g9cxpmxzlfrga0y5ssjy0rfpw6i1xljibn6";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user