diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e2bbaa..54ce6f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#91](https://github.com/utensils/comfyui-nix/issues/91)) ### Changed +- torchaudio is now listed as a dependency of the bundled ComfyUI-MMAudio and + ComfyUI-WanVideoWrapper nodes rather than of ComfyUI itself, since upstream + ComfyUI dropped it (Comfy-Org/ComfyUI#16457). It is still shipped while those + nodes are bundled, so the package contents are unchanged. + ([#121](https://github.com/utensils/comfyui-nix/issues/121)) - Updated ComfyUI to upstream `v0.44.0` (from `v0.37.0`). Updated its pinned dependencies: frontend `1.52.7` -> `1.57.6`, workflow templates `0.11.66` -> `0.11.101` (core `0.3.357` -> `0.3.392`, JSON `0.1.92` -> `0.1.127`, diff --git a/nix/custom-nodes.nix b/nix/custom-nodes.nix index 4ad0299..48a7eb7 100644 --- a/nix/custom-nodes.nix +++ b/nix/custom-nodes.nix @@ -347,6 +347,7 @@ let open-clip-torch accelerate ftfy + torchaudio ]; meta = with lib; { @@ -430,6 +431,7 @@ let opencv4 scipy einops + torchaudio ]; meta = with lib; { diff --git a/nix/packages.nix b/nix/packages.nix index cc46afa..2582844 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -251,6 +251,9 @@ let # PuLID dependencies onnxruntime # ONNX runtime ] + # MMAudio + WanVideoWrapper dependency. Upstream ComfyUI dropped torchaudio + # (Comfy-Org/ComfyUI#16457); it ships only because these bundled nodes import it. + ++ lib.optionals (ps ? torchaudio && available ps.torchaudio) [ ps.torchaudio ] ++ [ ps."color-matcher" ] # Color matching (hyphenated name needs quoting) # Common custom-node deps ("it just works" set) ++ lib.optionals (ps ? ollama && available ps.ollama) [ ps.ollama ] @@ -269,7 +272,6 @@ let optionals = torchPackages ++ lib.optionals (ps ? torchvision && available ps.torchvision) [ ps.torchvision ] - ++ lib.optionals (ps ? torchaudio && available ps.torchaudio) [ ps.torchaudio ] ++ lib.optionals (ps ? torchsde && available ps.torchsde) [ ps.torchsde ] # kornia-rs is still marked bad on aarch64-linux in pinned nixpkgs. ++ lib.optionals (