git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #122539 from danieldk/pytorch-bin-1.8.1

python3Packages.pytorch-bin: 1.8.0 -> 1.8.1

commit676edfabd30f6e8a7f86c047316df05bafbf1d20 authorDaniël de Kok <me@danieldk.eu> dateWed 12 May 2021, 13:43 (6 years ago) parent9fdac85afa7f8d
2 files changed+11−7
pkgs/development/python-modules/pytorch/bin.nix+2−1 pkgs/development/python-modules/pytorch/binary-hashes.nix+9−6
pkgs/development/python-modules/pytorch/bin.nix+2−1
@@ -18,7 +18,7 @@ let
1818 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion;
1919 srcs = import ./binary-hashes.nix version;
2020 unsupported = throw "Unsupported system";
21− version = "1.8.0";
21+ version = "1.8.1";
2222in buildPythonPackage {
2323 inherit version;
2424
@@ -64,6 +64,7 @@ in buildPythonPackage {
6464 meta = with lib; {
6565 description = "Open source, prototype-to-production deep learning platform";
6666 homepage = "https://pytorch.org/";
67+ changelog = "https://github.com/pytorch/pytorch/releases/tag/v${version}";
6768 license = licenses.unfree; # Includes CUDA and Intel MKL.
6869 platforms = platforms.linux;
6970 maintainers = with maintainers; [ danieldk ];
pkgs/development/python-modules/pytorch/binary-hashes.nix+9−6
@@ -1,14 +1,17 @@
11version: {
22 x86_64-linux-37 = {
3− url = "https://download.pytorch.org/whl/cu102/torch-${version}-cp37-cp37m-linux_x86_64.whl";
4− hash = "sha256-bs29RJS0vy0xok3fvf8yvZlTibyGYqRUvUDT6M4gKQc=";
3+ name = "torch-${version}-cp37-cp37m-linux_x86_64.whl";
4+ url = "https://download.pytorch.org/whl/cu102/torch-${version}%2Bcu102-cp37-cp37m-linux_x86_64.whl";
5+ hash = "sha256-79JK2gGlV5Lhbim7GgPCjk++brwpUQE7g7vsrBu06eE=";
56 };
67 x86_64-linux-38 = {
7− url = "https://download.pytorch.org/whl/cu102/torch-${version}-cp38-cp38-linux_x86_64.whl";
8− hash = "sha256-+h45HMo5N9Xeox8xoagKAb1KgGLAOUSMJUu/WljrB4c=";
8+ name = "torch-${version}-cp38-cp38-linux_x86_64.whl";
9+ url = "https://download.pytorch.org/whl/cu102/torch-${version}%2Bcu102-cp38-cp38-linux_x86_64.whl";
10+ hash = "sha256-16h90SdxAgFxmPpgUPA3rBGxs9dtFaCeAgeSpKmtnmQ=";
911 };
1012 x86_64-linux-39 = {
11− url = "https://download.pytorch.org/whl/cu102/torch-${version}-cp39-cp39-linux_x86_64.whl";
12− hash = "sha256-Ixj6yGCuc9xkhsDeIiNnTZ72E5/HXxV68r+Nzk/KVSQ=";
13+ name = "torch-${version}-cp39-cp39-linux_x86_64.whl";
14+ url = "https://download.pytorch.org/whl/cu102/torch-${version}%2Bcu102-cp39-cp39-linux_x86_64.whl";
15+ hash = "sha256-E3RLWpGYbRuKsz0pQv7npmC7WTbdvlYFaxXQYBKT2/8=";
1316 };
1417}