anchor.diff:      pyyaml
     ] ++ lib.optional (pythonOlder "3.5") typing;
   
  +  checkInputs = [ hypothesis ];
     checkPhase = ''
  -    ${cudaStubEnv}python test/run_test.py --exclude dataloader sparse torch utils distributed
  +    ${cudaStubEnv}python test/run_test.py --exclude dataloader sparse torch utils thd_distributed distributed cpp_extensions
     '';
   
     meta = {
  
positive.code: { buildPythonPackage, pythonOlder,
    cudaSupport ? false, cudatoolkit ? null, cudnn ? null,
    fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake,
    linkFarm, symlinkJoin,
    utillinux, which }:
  
  
negative.code:     "LD_LIBRARY_PATH=${cudaStub}\${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ";
  
  in buildPythonPackage rec {
    version = "1.0.0";
    pname = "pytorch";
  
    src = fetchFromGitHub {
  