Merge pull request #28386 from ericsagnes/pkg-update/pytorch

pytorch: 0.1.12 -> 0.2.0
This commit is contained in:
Frederik Rietdijk 2017-08-21 16:57:09 +02:00 committed by GitHub
commit b7b815b45d
3 changed files with 37 additions and 5 deletions

View File

@ -2,7 +2,7 @@
git, stdenv }:
buildPythonPackage rec {
version = "0.1.12";
version = "0.2.0";
pname = "pytorch";
name = "${pname}-${version}";
@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "pytorch";
repo = "pytorch";
rev = "v${version}";
sha256 = "0r8mf4xya76gz83y5z3hfxh0rydkydafhipl8g7d0bfrgw961jy9";
sha256 = "112mp3r70d8f15dhxm6k7912b5i6c2q8hv9462s808y84grr2jdm";
};
checkPhase = ''

View File

@ -0,0 +1,30 @@
{ buildPythonPackage
, fetchPypi
, six
, numpy
, pillow
, pytorch
, lib }:
buildPythonPackage rec {
version = "0.1.9";
pname = "torchvision";
name = "${pname}-${version}";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
sha256 = "016rjfh9w1x4xpw15ryxsvq3j2li17nd3a7qslnf3241hc6vdcwf";
};
propagatedBuildInputs = [ six numpy pillow pytorch ];
meta = {
description = "PyTorch vision library";
homepage = http://pytorch.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ericsagnes ];
};
}

View File

@ -27068,6 +27068,8 @@ EOF
};
};
torchvision = callPackage ../development/python-modules/torchvision { };
jenkinsapi = buildPythonPackage rec {
name = "jenkinsapi-${version}";
version = "0.2.32";