ComfyUI-Manager icon indicating copy to clipboard operation
ComfyUI-Manager copied to clipboard

Manager installs pre-release torch packages, then undoes the installation

Open Adreitz opened this issue 3 months ago • 2 comments

Given that I use a Mac, I prefer to run the torch/audio/vision nightlies to stay up to date with improvements and fixes. However, starting a few months ago, the installation became much more difficult using ComfyUI-Manager.

To do the installation, I copy the text --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu into Manager's package installation dialog and restart the server. Manager properly downloads the newest versions and places them in the site-packages folder.

However, recently, when ComfyUI starts again, there is a significant pause. The prerelease packages are removed and the newest release versions are installed instead. This will keep happening if I rely on Manager's installation routine. In order to get the prerelease versions properly installed, I now need to move their folders out of site-packages between when Manager installs them and uninstalls them. Once ComfyUI starts with the release PyTorch packages, I then manually delete them, move the prerelease folders back in to site-packages, and restart the server again. This is cumbersome and often requires several attempts.

Is there anything that can be done to fix this?

Adreitz avatar Sep 25 '25 01:09 Adreitz

Same thing here.

Bobstar88 avatar Sep 27 '25 22:09 Bobstar88

Just an update that the issue is still present, but the workaround is a little simpler than I thought before (or perhaps it has simplified due to changes in Comfy and Manager): simply have Comfy running with some version of torch, move the package folders out of site-packages, copy the previous text into the package installation dialog, and restart. Just the fact that the package folders are not present at restart seems to enable the update to happen properly.

Adreitz avatar Nov 03 '25 12:11 Adreitz