Merge pull request #312729 from bcdarwin/python3-torchgpipe-remove

python311Packages.torchgpipe: remove at 0.0.7
This commit is contained in:
Weijia Wang 2024-05-19 00:56:07 +02:00 committed by GitHub
commit c06e9b0803
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 44 deletions

View File

@ -1,42 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, torch
}:
buildPythonPackage rec {
pname = "torchgpipe";
version = "0.0.7";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "kakaobrain";
repo = pname;
rev = "v${version}";
sha256 = "0ki0njhmz1i3pkpr3y6h6ac7p5qh1kih06mknc2s18mfw34f2l55";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
'';
propagatedBuildInputs = [ torch ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
"test_inplace_on_requires_grad"
"test_input_requiring_grad"
];
meta = with lib; {
description = "GPipe implemented in Pytorch and optimized for CUDA rather than TPU";
homepage = "https://torchgpipe.readthedocs.io";
license = licenses.asl20;
maintainers = [ maintainers.bcdarwin ];
};
}

View File

@ -516,6 +516,7 @@ mapAliases ({
TheanoWithCuda = theanoWithCuda; # added 2023-02-19
TheanoWithoutCuda = theanoWithoutCuda; # added 2023-02-19
thumborPexif = throw "thumborPexif has been removed, because it was unused."; # added 2024-01-07
torchgpipe = throw "torchgpipe has been removed, because it appears unmaintained and Pytorch now includes pipeline parallelism support"; # added 2024-05-18
torrent_parser = torrent-parser; # added 2023-11-04
transip = throw "transip has been removed because it is no longer maintained. TransIP SOAP V5 API was marked as deprecated"; # added 2023-02-27
py-tree-sitter = throw "Was merged with tree-sitter."; # added 2024-03-20

View File

@ -15303,8 +15303,6 @@ self: super: with self; {
torchdiffeq = callPackage ../development/python-modules/torchdiffeq { };
torchgpipe = callPackage ../development/python-modules/torchgpipe { };
torchmetrics = callPackage ../development/python-modules/torchmetrics { };
torchio = callPackage ../development/python-modules/torchio { };