lol

python312Packages.pytorch3d: init at 0.7.8

Bootstrapped with nix-init and built with cudaSupport=true.
Yet to run any tests beyond pythonImportsCheck

+60
+58
pkgs/development/python-modules/pytorch3d/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + setuptools, 6 + wheel, 7 + torch, 8 + iopath, 9 + cudaPackages, 10 + config, 11 + cudaSupport ? config.cudaSupport, 12 + }: 13 + 14 + assert cudaSupport -> torch.cudaSupport; 15 + 16 + buildPythonPackage rec { 17 + pname = "pytorch3d"; 18 + version = "0.7.8"; 19 + pyproject = true; 20 + 21 + src = fetchFromGitHub { 22 + owner = "facebookresearch"; 23 + repo = "pytorch3d"; 24 + rev = "V${version}"; 25 + hash = "sha256-DEEWWfjwjuXGc0WQInDTmtnWSIDUifyByxdg7hpdHlo="; 26 + }; 27 + 28 + nativeBuildInputs = lib.optionals cudaSupport [ cudaPackages.cuda_nvcc ]; 29 + build-system = [ 30 + setuptools 31 + wheel 32 + ]; 33 + dependencies = [ 34 + torch 35 + iopath 36 + ]; 37 + buildInputs = [ (lib.getOutput "cxxdev" torch) ]; 38 + 39 + env = 40 + { 41 + FORCE_CUDA = cudaSupport; 42 + } 43 + // lib.optionalAttrs cudaSupport { 44 + TORCH_CUDA_ARCH_LIST = "${lib.concatStringsSep ";" torch.cudaCapabilities}"; 45 + }; 46 + 47 + pythonImportsCheck = [ "pytorch3d" ]; 48 + 49 + meta = { 50 + description = "FAIR's library of reusable components for deep learning with 3D data"; 51 + homepage = "https://github.com/facebookresearch/pytorch3d"; 52 + license = lib.licenses.bsd3; 53 + maintainers = with lib.maintainers; [ 54 + pbsds 55 + SomeoneSerge 56 + ]; 57 + }; 58 + }
+2
pkgs/top-level/python-packages.nix
··· 10467 10467 10468 10468 pytomorrowio = callPackage ../development/python-modules/pytomorrowio { }; 10469 10469 10470 + pytorch3d = callPackage ../development/python-modules/pytorch3d { }; 10471 + 10470 10472 pytouchlinesl = callPackage ../development/python-modules/pytouchlinesl { }; 10471 10473 10472 10474 pyuca = callPackage ../development/python-modules/pyuca { };