diff --git a/pkgs/development/python-modules/torchgpipe/default.nix b/pkgs/development/python-modules/torchgpipe/default.nix deleted file mode 100644 index f96add92f0cc..000000000000 --- a/pkgs/development/python-modules/torchgpipe/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 8a2789e5dc6b..69a78d27314c 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -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 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 455b2ddbff3b..bcfb9b58eb98 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };