ComfyUI/.ci/update_windows
Kaihui-AMD b42cc81be1 Preserve platform-specific PyTorch builds during update (#14902)
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>
2026-07-13 10:39:59 +08:00
..
update_comfyui_stable.bat Add a update/update_comfyui_stable.bat to the standalones. 2024-08-14 22:29:23 -04:00
update_comfyui.bat Update the standalone package updater so it can self update. 2024-02-26 08:51:16 -05:00
update.py Preserve platform-specific PyTorch builds during update (#14902) 2026-07-13 10:39:59 +08:00