Open hannibalbarx opened 10 months ago
temp workaround:
running this in a cell
!pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
but the following error shows up during "Run ComfyUI with cloudflared (Recommended Way)":
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.1.2+cu118 with CUDA 1108 (you have 2.1.2+cu121) Python 3.10.13 (you have 3.10.12) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details
Duplicate of this issue but it's been closed without any fix:
@hannibalbarx Hello! I have tackled this issue. https://github.com/comfyanonymous/ComfyUI/pull/2459
I've verified that the image generation works successfully when initiated through cloudflared.
Feel free to review my pull request code if you're interested!
Error during Environment Setup:
Installing collected packages: trampoline, einops, torch, xformers, torchvision, torchsde Attempting uninstall: torch Found existing installation: torch 2.1.0+cu121 Uninstalling torch-2.1.0+cu121: Successfully uninstalled torch-2.1.0+cu121 Attempting uninstall: torchvision Found existing installation: torchvision 0.16.0+cu121 Uninstalling torchvision-0.16.0+cu121: Successfully uninstalled torchvision-0.16.0+cu121
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchaudio 2.1.0+cu121 requires torch==2.1.0, but you have torch 2.1.2+cu121 which is incompatible. torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.1.2+cu121 which is incompatible. torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.1.2+cu121 which is incompatible.