StartHua / ComfyUI_Seg_VITON

comfyui-模特换装(Model dress up)
197 stars 33 forks source link

no matching triton #8

Open offmybach opened 8 months ago

offmybach commented 8 months ago

D:\ComfyUI_windows_portable\new_ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Seg_VITON>pip install -r requirements.txt Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting pytorch-lightning==1.5.0 (from -r requirements.txt (line 1)) Downloading pytorch_lightning-1.5.0-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 33.1 MB/s eta 0:00:00 Requirement already satisfied: einops in c:\users\mdmen\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 2)) (0.7.0) Collecting opencv-python==4.7.0.72 (from -r requirements.txt (line 3)) Downloading opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.2/38.2 MB 46.7 MB/s eta 0:00:00 Requirement already satisfied: matplotlib in c:\users\mdmen\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 4)) (3.8.1) Requirement already satisfied: omegaconf in c:\users\mdmen\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 5)) (2.3.0) Collecting transformers==4.33.2 (from -r requirements.txt (line 6)) Downloading transformers-4.33.2-py3-none-any.whl.metadata (119 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.9/119.9 kB 3.5 MB/s eta 0:00:00 Collecting xformers==0.0.19 (from -r requirements.txt (line 7)) Downloading xformers-0.0.19-cp310-cp310-win_amd64.whl.metadata (1.1 kB) ERROR: Could not find a version that satisfies the requirement triton==2.0.0 (from versions: none) ERROR: No matching distribution found for triton==2.0.0

CoreyH commented 8 months ago

This is how I fixed this:

Install Triton via https://github.com/wkpark/triton/actions/runs/7518654030 make sure to use the python 3.11 version (assuming that is what you are using here with comfyui's embedded python)

walalal commented 8 months ago

download triton from https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl and run pip install triton-2.0.0-cp310-cp310-win_amd64.whl.