mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-18 20:38:15 +08:00
When running `pip install -r requirements.txt` during an update, the bare `torch`/`torchvision`/`torchaudio` entries can cause pip to overwrite ROCm, DirectML, XPU, or other platform-specific torch builds with the default PyPI (CUDA) packages. This adds pip constraints to pin torch packages to their current versions when a non-standard build variant (e.g. +rocm, +xpu) is detected, preventing the update from breaking the user's GPU setup. Fixes #14902 Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| update_comfyui_stable.bat | ||
| update_comfyui.bat | ||
| update.py | ||