Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComfyUI Install problem - ModuleNotFoundError: No module named 'torch' #151

Open
ReinerBforartists opened this issue Nov 16, 2024 · 7 comments

Comments

@ReinerBforartists
Copy link

ReinerBforartists commented Nov 16, 2024

Hey friends.

I try to install EasyAnimate in newest ComfyUI Portable manually. It is newest version and up to date.

When i follow the instructions, and type in pip install -r comfyui/requirements.txt in the EasyAnimate folder then i end in an error in the console.

ModuleNotFoundError: No module named 'torch'

Full console content:

`Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>pip install -r comfyui/requirements.txt
Requirement already satisfied: Pillow in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from -r comfyui/requirements.txt (line 1)) (10.4.0)
Requirement already satisfied: einops in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from -r comfyui/requirements.txt (line 2)) (0.8.0)
Requirement already satisfied: safetensors in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from -r comfyui/requirements.txt (line 3)) (0.4.5)
Collecting timm (from -r comfyui/requirements.txt (line 4))
Using cached timm-1.0.11-py3-none-any.whl.metadata (48 kB)
Collecting tomesd (from -r comfyui/requirements.txt (line 5))
Using cached tomesd-0.1.3-py3-none-any.whl.metadata (9.1 kB)
Requirement already satisfied: torch>=2.1.2 in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from -r comfyui/requirements.txt (line 6)) (2.4.1+cu124)
Collecting torchdiffeq (from -r comfyui/requirements.txt (line 7))
Using cached torchdiffeq-0.2.4-py3-none-any.whl.metadata (440 bytes)
Requirement already satisfied: torchsde in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from -r comfyui/requirements.txt (line 8)) (0.2.6)
Collecting xformers (from -r comfyui/requirements.txt (line 9))
Using cached xformers-0.0.28.post3.tar.gz (7.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "C:\Users\x\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\x\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\x\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\x\AppData\Local\Temp\pip-build-env-woh2kvsk\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\x\AppData\Local\Temp\pip-build-env-woh2kvsk\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "C:\Users\x\AppData\Local\Temp\pip-build-env-woh2kvsk\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\x\AppData\Local\Temp\pip-build-env-woh2kvsk\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 24, in
ModuleNotFoundError: No module named 'torch'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>`

What baffles me here is that it uses my system Python. Not the Comfy Python. Is this correct? Using the Comfy python instead runs nearly through, but ends in another error then.

In my case:

E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install -r comfyui/requirements.txt

It ends in failing to build XFormers. Shall it even build XFormers?

`Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install -r comfyui/requirements.txt
Requirement already satisfied: Pillow in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 1)) (10.4.0)
Requirement already satisfied: einops in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 2)) (0.8.0)
Requirement already satisfied: safetensors in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 3)) (0.4.5)
Requirement already satisfied: timm in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 4)) (1.0.11)
Collecting tomesd (from -r comfyui/requirements.txt (line 5))
Using cached tomesd-0.1.3-py3-none-any.whl.metadata (9.1 kB)
Requirement already satisfied: torch>=2.1.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 6)) (2.4.1+cu124)
Collecting torchdiffeq (from -r comfyui/requirements.txt (line 7))
Using cached torchdiffeq-0.2.4-py3-none-any.whl.metadata (440 bytes)
Requirement already satisfied: torchsde in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 8)) (0.2.6)
Collecting xformers (from -r comfyui/requirements.txt (line 9))
Using cached xformers-0.0.28.post3.tar.gz (7.8 MB)
Preparing metadata (setup.py) ... done
Collecting decord (from -r comfyui/requirements.txt (line 10))
Using cached decord-0.6.0-py3-none-win_amd64.whl.metadata (422 bytes)
Collecting datasets (from -r comfyui/requirements.txt (line 11))
Using cached datasets-3.1.0-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: numpy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 12)) (1.26.4)
Requirement already satisfied: scikit-image in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 13)) (0.24.0)
Requirement already satisfied: opencv-python in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 14)) (4.10.0.84)
Requirement already satisfied: omegaconf in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 15)) (2.3.0)
Requirement already satisfied: SentencePiece in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 16)) (0.2.0)
Requirement already satisfied: albumentations in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 17)) (1.4.15)
Collecting tensorboard (from -r comfyui/requirements.txt (line 20))
Using cached tensorboard-2.18.0-py3-none-any.whl.metadata (1.6 kB)
Requirement already satisfied: beautifulsoup4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 21)) (4.12.3)
Requirement already satisfied: ftfy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 22)) (6.3.0)
Collecting func_timeout (from -r comfyui/requirements.txt (line 23))
Using cached func_timeout-4.3.5.tar.gz (44 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: accelerate>=0.25.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 24)) (1.0.1)
Collecting gradio<=3.48.0,>=3.41.2 (from -r comfyui/requirements.txt (line 25))
Downloading gradio-3.48.0-py3-none-any.whl.metadata (17 kB)
Requirement already satisfied: diffusers>=0.30.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 26)) (0.31.0)
Requirement already satisfied: transformers>=4.37.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 27)) (4.45.2)
Requirement already satisfied: imageio[ffmpeg] in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from -r comfyui/requirements.txt (line 18)) (2.36.0)
Requirement already satisfied: torchvision in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from timm->-r comfyui/requirements.txt (line 4)) (0.19.1+cu124)
Requirement already satisfied: pyyaml in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from timm->-r comfyui/requirements.txt (line 4)) (6.0.2)
Requirement already satisfied: huggingface_hub in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from timm->-r comfyui/requirements.txt (line 4)) (0.25.1)
Requirement already satisfied: filelock in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (3.16.1)
Requirement already satisfied: typing-extensions>=4.8.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (4.12.2)
Requirement already satisfied: sympy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (1.13.3)
Requirement already satisfied: networkx in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (3.3)
Requirement already satisfied: jinja2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (3.1.4)
Requirement already satisfied: fsspec in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (2024.9.0)
Requirement already satisfied: scipy>=1.4.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torchdiffeq->-r comfyui/requirements.txt (line 7)) (1.14.1)
Requirement already satisfied: trampoline>=0.1.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torchsde->-r comfyui/requirements.txt (line 8)) (0.1.2)
Collecting pyarrow>=15.0.0 (from datasets->-r comfyui/requirements.txt (line 11))
Downloading pyarrow-18.0.0-cp311-cp311-win_amd64.whl.metadata (3.4 kB)
Collecting dill<0.3.9,>=0.3.0 (from datasets->-r comfyui/requirements.txt (line 11))
Using cached dill-0.3.8-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: pandas in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from datasets->-r comfyui/requirements.txt (line 11)) (2.2.3)
Requirement already satisfied: requests>=2.32.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from datasets->-r comfyui/requirements.txt (line 11)) (2.32.3)
Requirement already satisfied: tqdm>=4.66.3 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from datasets->-r comfyui/requirements.txt (line 11)) (4.66.5)
Requirement already satisfied: xxhash in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from datasets->-r comfyui/requirements.txt (line 11)) (3.5.0)
Collecting multiprocess<0.70.17 (from datasets->-r comfyui/requirements.txt (line 11))
Using cached multiprocess-0.70.16-py311-none-any.whl.metadata (7.2 kB)
Requirement already satisfied: aiohttp in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from datasets->-r comfyui/requirements.txt (line 11)) (3.10.9)
Requirement already satisfied: packaging in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from datasets->-r comfyui/requirements.txt (line 11)) (23.2)
Requirement already satisfied: tifffile>=2022.8.12 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from scikit-image->-r comfyui/requirements.txt (line 13)) (2024.9.20)
Requirement already satisfied: lazy-loader>=0.4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from scikit-image->-r comfyui/requirements.txt (line 13)) (0.4)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from omegaconf->-r comfyui/requirements.txt (line 15)) (4.9.3)
Requirement already satisfied: pydantic>=2.7.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from albumentations->-r comfyui/requirements.txt (line 17)) (2.9.2)
Requirement already satisfied: albucore>=0.0.15 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from albumentations->-r comfyui/requirements.txt (line 17)) (0.0.16)
Requirement already satisfied: eval-type-backport in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from albumentations->-r comfyui/requirements.txt (line 17)) (0.2.0)
Requirement already satisfied: opencv-python-headless>=4.9.0.80 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from albumentations->-r comfyui/requirements.txt (line 17)) (4.10.0.84)
Requirement already satisfied: imageio-ffmpeg in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from imageio[ffmpeg]->-r comfyui/requirements.txt (line 18)) (0.5.1)
Requirement already satisfied: psutil in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from imageio[ffmpeg]->-r comfyui/requirements.txt (line 18)) (6.0.0)
Collecting av (from imageio[pyav]->-r comfyui/requirements.txt (line 19))
Downloading av-13.1.0-cp311-cp311-win_amd64.whl.metadata (4.6 kB)
Requirement already satisfied: absl-py>=0.4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from tensorboard->-r comfyui/requirements.txt (line 20)) (2.1.0)
Collecting grpcio>=1.48.2 (from tensorboard->-r comfyui/requirements.txt (line 20))
Downloading grpcio-1.68.0-cp311-cp311-win_amd64.whl.metadata (4.0 kB)
Collecting markdown>=2.6.8 (from tensorboard->-r comfyui/requirements.txt (line 20))
Downloading Markdown-3.7-py3-none-any.whl.metadata (7.0 kB)
Requirement already satisfied: protobuf!=4.24.0,>=3.19.6 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from tensorboard->-r comfyui/requirements.txt (line 20)) (4.25.5)
Requirement already satisfied: setuptools>=41.0.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from tensorboard->-r comfyui/requirements.txt (line 20)) (75.1.0)
Requirement already satisfied: six>1.9 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from tensorboard->-r comfyui/requirements.txt (line 20)) (1.16.0)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard->-r comfyui/requirements.txt (line 20))
Downloading tensorboard_data_server-0.7.2-py3-none-any.whl.metadata (1.1 kB)
Collecting werkzeug>=1.0.1 (from tensorboard->-r comfyui/requirements.txt (line 20))
Downloading werkzeug-3.1.3-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: soupsieve>1.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from beautifulsoup4->-r comfyui/requirements.txt (line 21)) (2.6)
Requirement already satisfied: wcwidth in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from ftfy->-r comfyui/requirements.txt (line 22)) (0.2.13)
Collecting aiofiles<24.0,>=22.0 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)
Collecting altair<6.0,>=4.2.0 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Using cached altair-5.4.1-py3-none-any.whl.metadata (9.4 kB)
Requirement already satisfied: fastapi in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.115.2)
Requirement already satisfied: ffmpy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.3.0)
Collecting gradio-client==0.6.1 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading gradio_client-0.6.1-py3-none-any.whl.metadata (7.1 kB)
Requirement already satisfied: httpx in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.27.2)
Collecting importlib-resources<7.0,>=1.3 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)
Collecting markupsafe~=2.0 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Using cached MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl.metadata (3.1 kB)
Requirement already satisfied: matplotlib~=3.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (3.9.2)
Collecting orjson~=3.0 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading orjson-3.10.11-cp311-none-win_amd64.whl.metadata (52 kB)
Collecting pydub (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Using cached pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)
Collecting python-multipart (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading python_multipart-0.0.17-py3-none-any.whl.metadata (1.8 kB)
Collecting semantic-version~=2.0 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Requirement already satisfied: uvicorn>=0.14.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.32.0)
Collecting websockets<12.0,>=10.0 (from gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading websockets-11.0.3-cp311-cp311-win_amd64.whl.metadata (6.8 kB)
Requirement already satisfied: importlib-metadata in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from diffusers>=0.30.1->-r comfyui/requirements.txt (line 26)) (8.5.0)
Requirement already satisfied: regex!=2019.12.17 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from diffusers>=0.30.1->-r comfyui/requirements.txt (line 26)) (2024.9.11)
Requirement already satisfied: tokenizers<0.21,>=0.20 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from transformers>=4.37.2->-r comfyui/requirements.txt (line 27)) (0.20.0)
Requirement already satisfied: jsonschema>=3.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from altair<6.0,>=4.2.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (4.23.0)
Collecting narwhals>=1.5.2 (from altair<6.0,>=4.2.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25))
Downloading narwhals-1.13.5-py3-none-any.whl.metadata (7.4 kB)
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (2.4.3)
Requirement already satisfied: aiosignal>=1.1.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (24.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (6.1.0)
Requirement already satisfied: yarl<2.0,>=1.12.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (1.14.0)
Requirement already satisfied: contourpy>=1.0.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (1.3.0)
Requirement already satisfied: cycler>=0.10 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (4.54.1)
Requirement already satisfied: kiwisolver>=1.3.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (1.4.7)
Requirement already satisfied: pyparsing>=2.3.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (3.2.0)
Requirement already satisfied: python-dateutil>=2.7 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from matplotlib~=3.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->datasets->-r comfyui/requirements.txt (line 11)) (2024.2)
Requirement already satisfied: tzdata>=2022.7 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from pandas->datasets->-r comfyui/requirements.txt (line 11)) (2024.2)
Requirement already satisfied: annotated-types>=0.6.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from pydantic>=2.7.0->albumentations->-r comfyui/requirements.txt (line 17)) (0.7.0)
Requirement already satisfied: pydantic-core==2.23.4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from pydantic>=2.7.0->albumentations->-r comfyui/requirements.txt (line 17)) (2.23.4)
Requirement already satisfied: charset-normalizer<4,>=2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.32.2->datasets->-r comfyui/requirements.txt (line 11)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.32.2->datasets->-r comfyui/requirements.txt (line 11)) (3.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.32.2->datasets->-r comfyui/requirements.txt (line 11)) (1.26.20)
Requirement already satisfied: certifi>=2017.4.17 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from requests>=2.32.2->datasets->-r comfyui/requirements.txt (line 11)) (2024.8.30)
Requirement already satisfied: colorama in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from tqdm>=4.66.3->datasets->-r comfyui/requirements.txt (line 11)) (0.4.6)
Requirement already satisfied: click>=7.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from uvicorn>=0.14.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (8.1.7)
Requirement already satisfied: h11>=0.8 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from uvicorn>=0.14.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.14.0)
Requirement already satisfied: starlette<0.41.0,>=0.37.2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from fastapi->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.40.0)
Requirement already satisfied: anyio in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from httpx->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (4.6.2.post1)
Requirement already satisfied: httpcore==1.* in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from httpx->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (1.0.6)
Requirement already satisfied: sniffio in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from httpx->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (1.3.1)
Requirement already satisfied: zipp>=3.20 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from importlib-metadata->diffusers>=0.30.1->-r comfyui/requirements.txt (line 26)) (3.20.2)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from sympy->torch>=2.1.2->-r comfyui/requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (2024.10.1)
Requirement already satisfied: referencing>=0.28.4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.35.1)
Requirement already satisfied: rpds-py>=0.7.1 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio<=3.48.0,>=3.41.2->-r comfyui/requirements.txt (line 25)) (0.20.0)
Requirement already satisfied: propcache>=0.2.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from yarl<2.0,>=1.12.0->aiohttp->datasets->-r comfyui/requirements.txt (line 11)) (0.2.0)
Downloading tomesd-0.1.3-py3-none-any.whl (11 kB)
Downloading torchdiffeq-0.2.4-py3-none-any.whl (32 kB)
Using cached decord-0.6.0-py3-none-win_amd64.whl (24.7 MB)
Downloading datasets-3.1.0-py3-none-any.whl (480 kB)
Downloading tensorboard-2.18.0-py3-none-any.whl (5.5 MB)
---------------------------------------- 5.5/5.5 MB 7.1 MB/s eta 0:00:00
Downloading gradio-3.48.0-py3-none-any.whl (20.3 MB)
---------------------------------------- 20.3/20.3 MB 7.2 MB/s eta 0:00:00
Downloading gradio_client-0.6.1-py3-none-any.whl (299 kB)
Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Using cached altair-5.4.1-py3-none-any.whl (658 kB)
Using cached dill-0.3.8-py3-none-any.whl (116 kB)
Downloading grpcio-1.68.0-cp311-cp311-win_amd64.whl (4.4 MB)
---------------------------------------- 4.4/4.4 MB 7.4 MB/s eta 0:00:00
Downloading importlib_resources-6.4.5-py3-none-any.whl (36 kB)
Downloading Markdown-3.7-py3-none-any.whl (106 kB)
Using cached MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl (17 kB)
Using cached multiprocess-0.70.16-py311-none-any.whl (143 kB)
Downloading orjson-3.10.11-cp311-none-win_amd64.whl (136 kB)
Downloading pyarrow-18.0.0-cp311-cp311-win_amd64.whl (25.1 MB)
---------------------------------------- 25.1/25.1 MB 7.2 MB/s eta 0:00:00
Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Downloading tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB)
Downloading websockets-11.0.3-cp311-cp311-win_amd64.whl (124 kB)
Downloading werkzeug-3.1.3-py3-none-any.whl (224 kB)
Downloading av-13.1.0-cp311-cp311-win_amd64.whl (25.8 MB)
---------------------------------------- 25.8/25.8 MB 6.6 MB/s eta 0:00:00
Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Downloading python_multipart-0.0.17-py3-none-any.whl (24 kB)
Downloading narwhals-1.13.5-py3-none-any.whl (208 kB)
Building wheels for collected packages: xformers, func_timeout
Building wheel for xformers (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [229 lines of output]
Looks like we are using CUDA 12.1 which segfaults when provided with the -generate-line-info flag. Disabling it.
fatal: not a git repository (or any of the parent directories): .git
Looks like we are using CUDA 12.1 which segfaults when provided with the -generate-line-info flag. Disabling it.
running bdist_wheel
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:495: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
creating build\lib.win-amd64-cpython-311\xformers
copying xformers\attn_bias_utils.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\checkpoint.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\info.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\test.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\utils.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_cpp_lib.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_deprecation_warning.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_init_.py -> build\lib.win-amd64-cpython-311\xformers
creating build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_attn_decoding.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_core.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_indexing.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_mem_eff_attention.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_merge_attentions.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_multi_head_dispatch.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_nystrom_utils.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_revnet.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sddmm.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sequence_parallel_fused.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sp24.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_swiglu.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_tiled_matmul.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\utils.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
creating build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\activations.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\input_projection.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\multi_head_dispatch.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\patch_embedding.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\residual.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\reversible.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\simplicial_embedding.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components_init_.py -> build\lib.win-amd64-cpython-311\xformers\components
creating build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\block_configs.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\block_factory.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\hydra_helper.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\model_factory.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\weight_init.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory_init_.py -> build\lib.win-amd64-cpython-311\xformers\factory
creating build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\hierarchical_configs.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\test_utils.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\timm_sparse_attention.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers_init_.py -> build\lib.win-amd64-cpython-311\xformers\helpers
creating build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\common.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\differentiable_collectives.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\indexing.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\ipc.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\modpar_layers.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\rmsnorm.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\rope_padded.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\seqpar.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\sequence_parallel_fused_ops.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\sp24.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\swiglu_op.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\tiled_matmul.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\unbind.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops
creating build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\api.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\device_limits.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\find_slowest.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler_dcgm.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler_dcgm_impl.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profile_analyzer.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler_init_.py -> build\lib.win-amd64-cpython-311\xformers\profiler
creating build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\blocksparse_tensor.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\csr_tensor.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\utils.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse_csr_ops.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse_init_.py -> build\lib.win-amd64-cpython-311\xformers\sparse
creating build\lib.win-amd64-cpython-311\xformers\triton
copying xformers\triton\vararg_kernel.py -> build\lib.win-amd64-cpython-311\xformers\triton
copying xformers\triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\triton
creating build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\bert_padding.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_interface.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_triton.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_triton_og.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_blocksparse_attention.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_blocksparse_attn_interface.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\fused_softmax.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
creating build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\batch_fetch_results.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\batch_submit.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_grid_search.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_tasks.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_with_submitit.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
creating build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code\dataset.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code\model_wrapper.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
creating build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\attention_mask.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\attention_patterns.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\base.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\compositional.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\core.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\favor.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\fourier_mix.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\global_tokens.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\lambda_layer.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\linformer.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\local.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\nystrom.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\ortho.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\pooling.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\random.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\scaled_dot_product.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\sparsity_config.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\utils.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\visual.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention_sputnik_sparse.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\attention creating build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\base.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward copying xformers\components\feedforward\conv_mlp.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\mixture_of_experts.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\mlp.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
creating build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\base.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\param.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\rotary.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\sine.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\vocab.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
creating build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps\base.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps\softmax.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
creating build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\attn_bias.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck_decoder.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck_splitk.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\common.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\cutlass.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\dispatch.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\flash.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\flash3.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\torch_attention_compat.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\triton_splitk.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
creating build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\k_index_select_cat.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\k_scaled_index_add.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\rmsnorm_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\rope_padded_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\tiled_matmul_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
creating build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
copying xformers\ops\fmha_triton\splitk_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
copying xformers\ops\fmha_triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers\patch_embed.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers\rotary.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
copying xformers_flash_attn\losses\cross_entropy.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
copying xformers_flash_attn\losses_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\baichuan.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\bert.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\bigcode.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\btlm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\falcon.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gpt.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gptj.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gpt_neox.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\llama.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\opt.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\vit.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\block.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\embedding.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\mha.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\mlp.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\activations.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\fused_dense.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\layer_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\rms_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\benchmark.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\distributed.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\generation.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\pretrained.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\cross_entropy.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\k_activations.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\layer_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\linear.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\mlp.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\rotary.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
running build_ext
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:380: UserWarning: Error checking compiler version for cl: [WinError 2] Das System kann die angegebene Datei nicht finden
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:414: UserWarning: The detected CUDA version (12.1) has a minor version mismatch with the version that was used to compile PyTorch (12.4). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'xformers._C_flashattention' extension
creating build\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc\flash_attn
creating build\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc\flash_attn\src
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc\flash_attn -IC:\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc\flash_attn\src -IC:\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc\cutlass\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\TH -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\include" -IE:\comfynew\ComfyUI_windows_portable\python_embeded\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" /EHsc /TpC:\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc/flash_attn/flash_api.cpp /Fobuild\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-ie6fj622\xformers_b24e13656ca34102b46b112b70390aa8\third_party\flash-attention\csrc/flash_attn/flash_api.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -O3 -std=c++17 /MP /Zc:lambda /Zc:preprocessor /Zc:__cplusplus -DFLASHATTENTION_DISABLE_ALIBI -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C_flashattention -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17
cl : Befehlszeile warning D9002 : Unbekannte Option "-O3" wird ignoriert.
cl : Befehlszeile warning D9002 : Unbekannte Option "-std=c++17" wird ignoriert.
flash_api.cpp
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch/csrc/python_headers.h(12): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "Python.h": No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for xformers
Running setup.py clean for xformers
Building wheel for func_timeout (setup.py) ... done
Created wheel for func_timeout: filename=func_timeout-4.3.5-py3-none-any.whl size=15109 sha256=950a7af5ab197f3f69e92dd5cc8163b1e300f77fd93280ed6d84aa07b5626439
Stored in directory: c:\users\x\appdata\local\pip\cache\wheels\07\e6\86\f23164d12c3134966614102db8e7956ab359faf7ffd78703ce
Successfully built func_timeout
Failed to build xformers
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xformers)

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>`

@ReinerBforartists ReinerBforartists changed the title Install problem - ModuleNotFoundError: No module named 'torch' ComfyUI Install problem - ModuleNotFoundError: No module named 'torch' Nov 16, 2024
@yunkchen
Copy link
Collaborator

E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install xformers

The last command is right, you should using correct python env.
Cloud you run this command again?

@ReinerBforartists
Copy link
Author

It still errors out.

Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install xformers
Collecting xformers
Using cached xformers-0.0.28.post3.tar.gz (7.8 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: torch>=2.4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from xformers) (2.4.1+cu124)
Requirement already satisfied: numpy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from xformers) (1.26.4)
Requirement already satisfied: filelock in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (3.16.1)
Requirement already satisfied: typing-extensions>=4.8.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (4.12.2)
Requirement already satisfied: sympy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (1.13.3)
Requirement already satisfied: networkx in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (3.3)
Requirement already satisfied: jinja2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (3.1.4)
Requirement already satisfied: fsspec in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (2024.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from jinja2->torch>=2.4->xformers) (3.0.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from sympy->torch>=2.4->xformers) (1.3.0)
Building wheels for collected packages: xformers
Building wheel for xformers (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [229 lines of output]
Looks like we are using CUDA 12.1 which segfaults when provided with the -generate-line-info flag. Disabling it.
fatal: not a git repository (or any of the parent directories): .git
Looks like we are using CUDA 12.1 which segfaults when provided with the -generate-line-info flag. Disabling it.
running bdist_wheel
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:495: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
creating build\lib.win-amd64-cpython-311\xformers
copying xformers\attn_bias_utils.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\checkpoint.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\info.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\test.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\utils.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_cpp_lib.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_deprecation_warning.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_init_.py -> build\lib.win-amd64-cpython-311\xformers
creating build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_attn_decoding.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_core.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_indexing.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_mem_eff_attention.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_merge_attentions.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_multi_head_dispatch.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_nystrom_utils.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_revnet.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sddmm.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sequence_parallel_fused.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sp24.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_swiglu.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_tiled_matmul.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\utils.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
creating build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\activations.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\input_projection.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\multi_head_dispatch.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\patch_embedding.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\residual.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\reversible.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\simplicial_embedding.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components_init_.py -> build\lib.win-amd64-cpython-311\xformers\components
creating build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\block_configs.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\block_factory.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\hydra_helper.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\model_factory.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\weight_init.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory_init_.py -> build\lib.win-amd64-cpython-311\xformers\factory
creating build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\hierarchical_configs.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\test_utils.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\timm_sparse_attention.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers_init_.py -> build\lib.win-amd64-cpython-311\xformers\helpers
creating build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\common.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\differentiable_collectives.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\indexing.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\ipc.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\modpar_layers.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\rmsnorm.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\rope_padded.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\seqpar.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\sequence_parallel_fused_ops.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\sp24.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\swiglu_op.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\tiled_matmul.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\unbind.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops
creating build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\api.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\device_limits.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\find_slowest.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler_dcgm.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler_dcgm_impl.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profile_analyzer.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler_init_.py -> build\lib.win-amd64-cpython-311\xformers\profiler
creating build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\blocksparse_tensor.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\csr_tensor.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\utils.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse_csr_ops.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse_init_.py -> build\lib.win-amd64-cpython-311\xformers\sparse
creating build\lib.win-amd64-cpython-311\xformers\triton
copying xformers\triton\vararg_kernel.py -> build\lib.win-amd64-cpython-311\xformers\triton
copying xformers\triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\triton
creating build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\bert_padding.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_interface.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_triton.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_triton_og.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_blocksparse_attention.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_blocksparse_attn_interface.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\fused_softmax.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
creating build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\batch_fetch_results.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\batch_submit.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_grid_search.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_tasks.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_with_submitit.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
creating build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code\dataset.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code\model_wrapper.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
creating build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\attention_mask.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\attention_patterns.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\base.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\compositional.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\core.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\favor.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\fourier_mix.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\global_tokens.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\lambda_layer.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\linformer.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\local.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\nystrom.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\ortho.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\pooling.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\random.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\scaled_dot_product.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\sparsity_config.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\utils.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\visual.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention_sputnik_sparse.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
creating build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\base.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\conv_mlp.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\mixture_of_experts.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\mlp.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
creating build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\base.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\param.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\rotary.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\sine.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\vocab.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
creating build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps\base.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps\softmax.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
creating build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\attn_bias.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck_decoder.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck_splitk.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\common.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\cutlass.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\dispatch.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\flash.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\flash3.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\torch_attention_compat.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\triton_splitk.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
creating build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\k_index_select_cat.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\k_scaled_index_add.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\rmsnorm_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\rope_padded_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\tiled_matmul_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
creating build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
copying xformers\ops\fmha_triton\splitk_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
copying xformers\ops\fmha_triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers\patch_embed.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers\rotary.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
copying xformers_flash_attn\losses\cross_entropy.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
copying xformers_flash_attn\losses_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\baichuan.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\bert.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\bigcode.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\btlm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\falcon.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gpt.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gptj.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gpt_neox.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\llama.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\opt.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\vit.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\block.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\embedding.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\mha.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\mlp.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\activations.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\fused_dense.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\layer_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\rms_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\benchmark.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\distributed.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\generation.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\pretrained.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\cross_entropy.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\k_activations.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\layer_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\linear.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\mlp.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\rotary.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
running build_ext
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:380: UserWarning: Error checking compiler version for cl: [WinError 2] Das System kann die angegebene Datei nicht finden
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:414: UserWarning: The detected CUDA version (12.1) has a minor version mismatch with the version that was used to compile PyTorch (12.4). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'xformers._C_flashattention' extension
creating build\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc\flash_attn
creating build\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc\flash_attn\src
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc\flash_attn -IC:\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc\flash_attn\src -IC:\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc\cutlass\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\TH -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\include" -IE:\comfynew\ComfyUI_windows_portable\python_embeded\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /TpC:\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc/flash_attn/flash_api.cpp /Fobuild\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-ucxj8x8y\xformers_802e226333084ca99fcf10f2fed22bdf\third_party\flash-attention\csrc/flash_attn/flash_api.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -O3 -std=c++17 /MP /Zc:lambda /Zc:preprocessor /Zc:__cplusplus -DFLASHATTENTION_DISABLE_ALIBI -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C_flashattention -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17
cl : Befehlszeile warning D9002 : Unbekannte Option "-O3" wird ignoriert.
cl : Befehlszeile warning D9002 : Unbekannte Option "-std=c++17" wird ignoriert.
flash_api.cpp
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch/csrc/python_headers.h(12): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "Python.h": No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for xformers
Running setup.py clean for xformers
Failed to build xformers
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xformers)

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>

@yunkchen
Copy link
Collaborator

UserWarning: The detected CUDA version (12.1) has a minor version mismatch with the version that was used to compile PyTorch (12.4). Most likely this shouldn't be a problem.

Check torch.cuda.is_available()

@ReinerBforartists
Copy link
Author

ReinerBforartists commented Nov 18, 2024

How? :)

But what i can see is that my Cuda version might be too outdated. I'll have a look here.

@ReinerBforartists
Copy link
Author

Uninststalled Cuda 12.1, and installed version 12.4. Now it fails with another error.

Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>E:\comfynew\ComfyUI_windows_portable\python_embeded\python.exe -m pip install xformers
Collecting xformers
Using cached xformers-0.0.28.post3.tar.gz (7.8 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: torch>=2.4 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from xformers) (2.4.1+cu124)
Requirement already satisfied: numpy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from xformers) (1.26.4)
Requirement already satisfied: filelock in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (3.16.1)
Requirement already satisfied: typing-extensions>=4.8.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (4.12.2)
Requirement already satisfied: sympy in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (1.13.3)
Requirement already satisfied: networkx in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (3.3)
Requirement already satisfied: jinja2 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (3.1.4)
Requirement already satisfied: fsspec in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from torch>=2.4->xformers) (2024.9.0)
Requirement already satisfied: MarkupSafe>=2.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from jinja2->torch>=2.4->xformers) (3.0.1)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in e:\comfynew\comfyui_windows_portable\python_embeded\lib\site-packages (from sympy->torch>=2.4->xformers) (1.3.0)
Building wheels for collected packages: xformers
Building wheel for xformers (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [225 lines of output]
fatal: not a git repository (or any of the parent directories): .git
running bdist_wheel
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:495: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
creating build\lib.win-amd64-cpython-311\xformers
copying xformers\attn_bias_utils.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\checkpoint.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\info.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\test.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers\utils.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_cpp_lib.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_deprecation_warning.py -> build\lib.win-amd64-cpython-311\xformers
copying xformers_init_.py -> build\lib.win-amd64-cpython-311\xformers
creating build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_attn_decoding.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_core.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_indexing.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_mem_eff_attention.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_merge_attentions.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_multi_head_dispatch.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_nystrom_utils.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_revnet.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sddmm.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sequence_parallel_fused.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_sp24.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_swiglu.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\benchmark_tiled_matmul.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks\utils.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
copying xformers\benchmarks_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks
creating build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\activations.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\input_projection.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\multi_head_dispatch.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\patch_embedding.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\residual.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\reversible.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components\simplicial_embedding.py -> build\lib.win-amd64-cpython-311\xformers\components
copying xformers\components_init_.py -> build\lib.win-amd64-cpython-311\xformers\components
creating build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\block_configs.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\block_factory.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\hydra_helper.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\model_factory.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory\weight_init.py -> build\lib.win-amd64-cpython-311\xformers\factory
copying xformers\factory_init_.py -> build\lib.win-amd64-cpython-311\xformers\factory
creating build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\hierarchical_configs.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\test_utils.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers\timm_sparse_attention.py -> build\lib.win-amd64-cpython-311\xformers\helpers
copying xformers\helpers_init_.py -> build\lib.win-amd64-cpython-311\xformers\helpers
creating build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\common.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\differentiable_collectives.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\indexing.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\ipc.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\modpar_layers.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\rmsnorm.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\rope_padded.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\seqpar.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\sequence_parallel_fused_ops.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\sp24.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\swiglu_op.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\tiled_matmul.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops\unbind.py -> build\lib.win-amd64-cpython-311\xformers\ops
copying xformers\ops_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops
creating build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\api.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\device_limits.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\find_slowest.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler_dcgm.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profiler_dcgm_impl.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler\profile_analyzer.py -> build\lib.win-amd64-cpython-311\xformers\profiler
copying xformers\profiler_init_.py -> build\lib.win-amd64-cpython-311\xformers\profiler
creating build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\blocksparse_tensor.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\csr_tensor.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse\utils.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse_csr_ops.py -> build\lib.win-amd64-cpython-311\xformers\sparse
copying xformers\sparse_init_.py -> build\lib.win-amd64-cpython-311\xformers\sparse
creating build\lib.win-amd64-cpython-311\xformers\triton
copying xformers\triton\vararg_kernel.py -> build\lib.win-amd64-cpython-311\xformers\triton
copying xformers\triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\triton
creating build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\bert_padding.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_interface.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_triton.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_attn_triton_og.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_blocksparse_attention.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\flash_blocksparse_attn_interface.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn\fused_softmax.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
copying xformers_flash_attn_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn
creating build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\batch_fetch_results.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\batch_submit.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_grid_search.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_tasks.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA\run_with_submitit.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
copying xformers\benchmarks\LRA_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA
creating build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code\dataset.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code\model_wrapper.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
copying xformers\benchmarks\LRA\code_init_.py -> build\lib.win-amd64-cpython-311\xformers\benchmarks\LRA\code
creating build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\attention_mask.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\attention_patterns.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\base.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\compositional.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\core.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\favor.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\fourier_mix.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\global_tokens.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\lambda_layer.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\linformer.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\local.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\nystrom.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\ortho.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\pooling.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\random.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\scaled_dot_product.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\sparsity_config.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\utils.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention\visual.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention_sputnik_sparse.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
copying xformers\components\attention_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\attention
creating build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\base.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\conv_mlp.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\mixture_of_experts.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward\mlp.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
copying xformers\components\feedforward_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\feedforward
creating build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\base.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\param.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\rotary.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\sine.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding\vocab.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
copying xformers\components\positional_embedding_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\positional_embedding
creating build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps\base.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps\softmax.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
copying xformers\components\attention\feature_maps_init_.py -> build\lib.win-amd64-cpython-311\xformers\components\attention\feature_maps
creating build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\attn_bias.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck_decoder.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\ck_splitk.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\common.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\cutlass.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\dispatch.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\flash.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\flash3.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\torch_attention_compat.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha\triton_splitk.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
copying xformers\ops\fmha_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha
creating build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\k_index_select_cat.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\k_scaled_index_add.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\rmsnorm_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\rope_padded_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton\tiled_matmul_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
copying xformers\ops_triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops_triton
creating build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
copying xformers\ops\fmha_triton\splitk_kernels.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
copying xformers\ops\fmha_triton_init_.py -> build\lib.win-amd64-cpython-311\xformers\ops\fmha_triton
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers\patch_embed.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers\rotary.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
copying xformers_flash_attn\layers_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\layers
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
copying xformers_flash_attn\losses\cross_entropy.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
copying xformers_flash_attn\losses_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\losses
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\baichuan.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\bert.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\bigcode.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\btlm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\falcon.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gpt.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gptj.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\gpt_neox.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\llama.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\opt.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models\vit.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
copying xformers_flash_attn\models_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\models
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\block.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\embedding.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\mha.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules\mlp.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
copying xformers_flash_attn\modules_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\modules
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\activations.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\fused_dense.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\layer_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops\rms_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
copying xformers_flash_attn\ops_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\benchmark.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\distributed.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\generation.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils\pretrained.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
copying xformers_flash_attn\utils_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\utils
creating build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\cross_entropy.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\k_activations.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\layer_norm.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\linear.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\mlp.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton\rotary.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
copying xformers_flash_attn\ops\triton_init_.py -> build\lib.win-amd64-cpython-311\xformers_flash_attn\ops\triton
running build_ext
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:380: UserWarning: Error checking compiler version for cl: [WinError 2] Das System kann die angegebene Datei nicht finden
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'xformers._C_flashattention' extension
creating build\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc\flash_attn
creating build\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc\flash_attn\src
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc\flash_attn -IC:\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc\flash_attn\src -IC:\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc\cutlass\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\TH -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include" -IE:\comfynew\ComfyUI_windows_portable\python_embeded\include -IE:\comfynew\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /TpC:\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc/flash_attn/flash_api.cpp /Fobuild\temp.win-amd64-cpython-311\Release\Users\x\AppData\Local\Temp\pip-install-4wi6e95o\xformers_a14fa0b524bd4a069323e1f9d2181e53\third_party\flash-attention\csrc/flash_attn/flash_api.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -O3 -std=c++17 /MP /Zc:lambda /Zc:preprocessor /Zc:__cplusplus -DFLASHATTENTION_DISABLE_ALIBI -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C_flashattention -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17
cl : Befehlszeile warning D9002 : Unbekannte Option "-O3" wird ignoriert.
cl : Befehlszeile warning D9002 : Unbekannte Option "-std=c++17" wird ignoriert.
flash_api.cpp
E:\comfynew\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch/csrc/python_headers.h(12): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "Python.h": No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for xformers
Running setup.py clean for xformers
Failed to build xformers
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xformers)

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>

@yunkchen
Copy link
Collaborator

[linux & win] cuda 12.4 version

pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu124

try to install xformers from builded wheel.

@ReinerBforartists
Copy link
Author

Hm, this installs a newer torch version than the one that comes with Comfy. And of course this errors out then :)

Okay, time to let go i guess. Now i need to reinstall Comfy first ...

Nevertheless, many thanks for your help. I learned a few bits again :)

Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu124
Looking in indexes: https://download.pytorch.org/whl/cu124
Collecting xformers
Downloading https://download.pytorch.org/whl/cu124/xformers-0.0.28.post3-cp311-cp311-win_amd64.whl (168.8 MB)
---------------------------------------- 168.8/168.8 MB 6.9 MB/s eta 0:00:00
Requirement already satisfied: numpy in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from xformers) (1.26.4)
Collecting torch==2.5.1 (from xformers)
Downloading https://download.pytorch.org/whl/cu124/torch-2.5.1%2Bcu124-cp311-cp311-win_amd64.whl (2510.8 MB)
---------------------------------------- 2.5/2.5 GB 2.5 MB/s eta 0:00:00
Requirement already satisfied: filelock in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from torch==2.5.1->xformers) (3.16.1)
Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from torch==2.5.1->xformers) (4.11.0)
Requirement already satisfied: networkx in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from torch==2.5.1->xformers) (3.3)
Requirement already satisfied: jinja2 in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from torch==2.5.1->xformers) (3.1.4)
Requirement already satisfied: fsspec in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from torch==2.5.1->xformers) (2024.9.0)
Collecting sympy==1.13.1 (from torch==2.5.1->xformers)
Downloading https://download.pytorch.org/whl/sympy-1.13.1-py3-none-any.whl (6.2 MB)
---------------------------------------- 6.2/6.2 MB 7.2 MB/s eta 0:00:00
Requirement already satisfied: mpmath<1.4,>=1.1.0 in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from sympy==1.13.1->torch==2.5.1->xformers) (1.3.0)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\x\appdata\local\programs\python\python311\lib\site-packages (from jinja2->torch==2.5.1->xformers) (2.1.5)
Installing collected packages: sympy, torch, xformers
Attempting uninstall: sympy
Found existing installation: sympy 1.13.3
Uninstalling sympy-1.13.3:
Successfully uninstalled sympy-1.13.3
Attempting uninstall: torch
Found existing installation: torch 2.4.1+cu124
Uninstalling torch-2.4.1+cu124:
Successfully uninstalled torch-2.4.1+cu124
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.4.1 requires torch==2.4.1, but you have torch 2.5.1+cu124 which is incompatible.
torchvision 0.19.1 requires torch==2.4.1, but you have torch 2.5.1+cu124 which is incompatible.
Successfully installed sympy-1.13.1 torch-2.5.1+cu124 xformers-0.0.28.post3

E:\comfynew\ComfyUI_windows_portable\ComfyUI\custom_nodes\EasyAnimate>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants