mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[PR #3388] fix: make torchaudio optional in recovery and installers #3256
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#3256
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/3388
Author: @0nikod
Created: 10/17/2026
Status: 🔄 Open
Base:
main← Head:fix/optional-torchaudio-installation📝 Commits (1)
315c7dafix: make torchaudio optional in recovery and installers📊 Changes
4 files changed (+5 additions, -6 deletions)
View changed files
📝
glob/manager_util.py(+2 -3)📝
notebooks/comfyui_colab_with_manager.ipynb(+1 -1)📝
scripts/install-comfyui-venv-linux.sh(+1 -1)📝
scripts/install-comfyui-venv-win.bat(+1 -1)📄 Description
Summary
Treat torchaudio as optional in PyTorch recovery checks and remove it from the explicit installation commands in the Linux/Windows venv scripts and Colab notebook.
Background
ComfyUI removed its mandatory torchaudio dependency in https://github.com/Comfy-Org/ComfyUI/pull/16457. Manager still required torchaudio in its recovery checks and explicitly installed it in several installation entry points.
Replaces #3387 with the installation entry points included.
Changes
Reproduction
With unchanged torch and torchvision versions installed but no torchaudio, Manager previously logged:
This environment now passes the recovery check without an error or rollback caused by optional torchaudio. The three installation entry points no longer explicitly request torchaudio.
Testing
bash -n scripts/install-comfyui-venv-linux.sh: passed.UV_CACHE_DIR=/tmp/manager-uv-cache uv run --offline --no-project --with aiohttp --with ruff ruff check --no-cache .: passed.git diff --check, staged diff check, andgit diff HEAD^ HEAD --check: passed.Compatibility
Existing torchaudio installations are not uninstalled. Custom nodes that need it can continue using it. Required torch and torchvision recovery behavior remains unchanged; when another condition triggers rollback, the existing rollback commands may still install torchaudio. Existing package blacklists and snapshot protection are retained. No package versions, installation indexes, runtime dependencies, or snapshot formats change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.