Commit 7c0b3127 authored by Ben Darwin's avatar Ben Darwin
Browse files

python311Packages.torchgpipe: remove at 0.0.7

parent f15be70b
Loading
Loading
Loading
Loading
+0 −42
Original line number Diff line number Diff line
{ 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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };