9 buildPythonPackage rec {
13 disabled = pythonOlder "3.6";
15 src = fetchFromGitHub {
19 sha256 = "0ki0njhmz1i3pkpr3y6h6ac7p5qh1kih06mknc2s18mfw34f2l55";
23 substituteInPlace setup.py \
24 --replace "'pytest-runner'" ""
27 propagatedBuildInputs = [ torch ];
29 nativeCheckInputs = [ pytestCheckHook ];
31 "test_inplace_on_requires_grad"
32 "test_input_requiring_grad"
36 description = "GPipe implemented in Pytorch and optimized for CUDA rather than TPU";
37 homepage = "https://torchgpipe.readthedocs.io";
38 license = licenses.asl20;
39 maintainers = [ maintainers.bcdarwin ];