Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.causal-conv1d 0 -> 1 attrpath: python3Packages.causal-conv1d Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/bxbadgniv41nxsq14k3cg9l9qjis6bdz-packages.json.drv building '/nix/store/bxbadgniv41nxsq14k3cg9l9qjis6bdz-packages.json.drv'... Going to be running update for following packages: - python3.13-causal-conv1d-1.5.4 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-causal-conv1d-1.5.4: UPDATING ... - python3.13-causal-conv1d-1.5.4: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/causal-conv1d/default.nix b/pkgs/development/python-modules/causal-conv1d/default.nix index e2dd6730c877..4c447c06055a 100644 --- a/pkgs/development/python-modules/causal-conv1d/default.nix +++ b/pkgs/development/python-modules/causal-conv1d/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "causal-conv1d"; - version = "1.5.4"; + version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Dao-AILab"; repo = "causal-conv1d"; tag = "v${version}"; - hash = "sha256-ELuvnKP2g1I2SuaWWiibXh/oDzp4n0vXkm4oeNPOdIw="; + hash = "sha256-hFaF/oMdScDpdq+zq8WppWe9GONWppEEx2pIcnaALiI="; }; build-system = [ No auto update branch exists Old version 1.5.4" not present in staging derivation file with contents: { lib, buildPythonPackage, fetchFromGitHub, ninja, setuptools, torch, cudaPackages, rocmPackages, config, cudaSupport ? config.cudaSupport, rocmSupport ? config.rocmSupport, rocmGpuTargets ? rocmPackages.clr.localGpuTargets or rocmPackages.clr.gpuTargets, which, }: buildPythonPackage rec { pname = "causal-conv1d"; version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "Dao-AILab"; repo = "causal-conv1d"; tag = "v${version}"; hash = "sha256-hFaF/oMdScDpdq+zq8WppWe9GONWppEEx2pIcnaALiI="; }; build-system = [ ninja setuptools torch ]; nativeBuildInputs = [ which ] ++ lib.optionals rocmSupport [ rocmPackages.clr ]; buildInputs = lib.optionals cudaSupport ( with cudaPackages; [ cuda_cudart # cuda_runtime.h, -lcudart cuda_cccl libcusparse # cusparse.h libcusolver # cusolverDn.h cuda_nvcc libcublas ] ) ++ lib.optionals rocmSupport ( with rocmPackages; [ rocm-core rocm-device-libs rocm-runtime rocm-comgr hipblas rocblas hipcub rocprim ] ); dependencies = [ torch ]; # pytest tests not enabled due to GPU dependency pythonImportsCheck = [ "causal_conv1d" ]; env = { CAUSAL_CONV1D_FORCE_BUILD = "TRUE"; } // lib.optionalAttrs cudaSupport { CUDA_HOME = "${lib.getDev cudaPackages.cuda_nvcc}"; } // lib.optionalAttrs rocmSupport { ROCM_PATH = "${rocmPackages.clr}"; HIP_ARCHITECTURES = builtins.concatStringsSep "," rocmGpuTargets; CPLUS_INCLUDE_PATH = lib.makeSearchPath "include" [ rocmPackages.hipcub rocmPackages.rocprim ]; }; meta = { description = "Causal depthwise conv1d in CUDA with a PyTorch interface"; homepage = "https://github.com/Dao-AILab/causal-conv1d"; license = lib.licenses.bsd3; # The package requires either CUDA or ROCm. # It doesn't work without either, nor with both. broken = cudaSupport == rocmSupport; }; }