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

no module 'xformers'. Processing without... #1102

Open
ZeroCool22 opened this issue Sep 15, 2024 · 2 comments
Open

no module 'xformers'. Processing without... #1102

ZeroCool22 opened this issue Sep 15, 2024 · 2 comments

Comments

@ZeroCool22
Copy link

🐛 Bug

C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-09-15 02:13:41.271496
** Platform: Windows
** Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
** Python executable: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\python.exe
** ComfyUI Path: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI
** Log path: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\comfyui.log

Prestartup times for custom nodes:
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\rgthree-comfy
   1.7 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 16376 MB, total RAM 32680 MB
pytorch version: 2.3.1+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync
Using pytorch cross attention
[Prompt Server] web root: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\web
[Crystools INFO] Crystools version: 1.16.6
[Crystools INFO] CPU: AMD Ryzen 9 5900X 12-Core Processor - Arch: AMD64 - OS: Windows 10
[Crystools INFO] Pynvml (Nvidia) initialized.
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce RTX 4070 Ti SUPER
[Crystools INFO] NVIDIA Driver: 560.81
### Loading: ComfyUI-Impact-Pack (V7.5.2)
### Loading: ComfyUI-Impact-Pack (Subpack: V0.6)
[Impact Pack] Wildcards loading done.
Total VRAM 16376 MB, total RAM 32680 MB
pytorch version: 2.3.1+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync
### Loading: ComfyUI-Manager (V2.50.3)
### ComfyUI Revision: 2694 [5e68a4ce] | Released on '2024-09-15'
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------
LOADED 6 FONTS
No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'


███╗   ███╗ █████╗  ██████╗██╗  ██╗██╗███╗   ██╗███████╗
████╗ ████║██╔══██╗██╔════╝██║  ██║██║████╗  ██║██╔════╝
██╔████╔██║███████║██║     ███████║██║██╔██╗ ██║█████╗
██║╚██╔╝██║██╔══██║██║     ██╔══██║██║██║╚██╗██║██╔══╝
██║ ╚═╝ ██║██║  ██║╚██████╗██║  ██║██║██║ ╚████║███████╗
╚═╝     ╚═╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝╚══════╝

██████╗ ███████╗██╗     ██╗   ██╗███████╗██╗ ██████╗ ███╗   ██╗███████╗
██╔══██╗██╔════╝██║     ██║   ██║██╔════╝██║██╔═══██╗████╗  ██║██╔════╝
██║  ██║█████╗  ██║     ██║   ██║███████╗██║██║   ██║██╔██╗ ██║███████╗
██║  ██║██╔══╝  ██║     ██║   ██║╚════██║██║██║   ██║██║╚██╗██║╚════██║
██████╔╝███████╗███████╗╚██████╔╝███████║██║╚██████╔╝██║ ╚████║███████║
╚═════╝ ╚══════╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚══════╝



# 😺dzNodes: LayerStyle -> Warning: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\resource_dir.ini not found, default directory to be used.
# 😺dzNodes: LayerStyle -> Find 1 LUTs in C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\lut
# 😺dzNodes: LayerStyle -> Find 1 Fonts in C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\font
[comfy_mtb] | INFO -> loaded 80 nodes successfuly
[comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8188/mtb if you want more information.
Initializing ControlAltAI Nodes

[rgthree] Loaded 42 exciting nodes.
[rgthree] NOTE: Will NOT use rgthree's optimized recursive execution as ComfyUI has changed.

WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 218 nodes successfully.

        "You have within you right now, everything you need to deal with whatever the world can throw at you." - Brian Tracy


Import times for custom nodes:
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-mxToolkit
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfyui_segment_anything
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\cg-use-everywhere
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-post-processing-nodes
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ControlAltAI-Nodes
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_JPS-Nodes
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy-image-saver
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\virtuoso-nodes
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfyui-various
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Chibi-Nodes
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-GGUF
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\rgthree-comfy
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\efficiency-nodes-comfyui
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_essentials
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Miaoshouai-Tagger
   0.0 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
   0.1 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-KJNodes
   0.1 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle
   0.2 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfyui-propost
   0.3 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Crystools
   0.4 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager
   0.5 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
   0.5 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-SUPIR
   0.6 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-SAM2
   0.7 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy_mtb
   1.2 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_Fill-Nodes
   1.5 seconds: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\was-node-suite-comfyui

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]

If i try to install Xformers i get this error:

Microsoft Windows [Versión 10.0.19045.4780]
(c) Microsoft Corporation. Todos los derechos reservados.

C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded>activate

C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded>conda.bat activate

(base) C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded>python.exe -m pip install -U xformers --no-dependencies
Collecting xformers
  Downloading xformers-0.0.28.post1.tar.gz (7.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 43.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
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
  ╰─> [304 lines of output]
      fatal: not a git repository (or any of the parent directories): .git
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      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\sequence_parallel_fused_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\_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
      C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:384: UserWarning: Error checking compiler version for cl: [WinError 2] El sistema no puede encontrar el archivo especificado
        warnings.warn(f'Error checking compiler version for {compiler}: {error}')
      C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:418: UserWarning: The detected CUDA version (12.6) has a minor version mismatch with the version that was used to compile PyTorch (12.1). 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 C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\third_party
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\third_party\flash-attention
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\third_party\flash-attention\csrc
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\third_party\flash-attention\csrc\flash_attn
      creating C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\third_party\flash-attention\csrc\flash_attn\src
      Emitting ninja build file C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\build\temp.win-amd64-cpython-311\Release\build.ninja...
      Compiling objects...
      Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
      ninja: error: Stat(C:/Users/ZeroCool22/AppData/Local/Temp/pip-install-69_mz8pz/xformers_5ba67276c0214f348989bc5f78b98492/build/temp.win-amd64-cpython-311/Release/Users/ZeroCool22/AppData/Local/Temp/pip-install-69_mz8pz/xformers_5ba67276c0214f348989bc5f78b98492/third_party/flash-attention/csrc/flash_attn/flash_api.obj): Filename longer than 260 characters
      Traceback (most recent call last):
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2107, in _run_ninja_build
          subprocess.run(
        File "subprocess.py", line 571, in run
      subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\setup.py", line 680, in <module>
          setuptools.setup(
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\__init__.py", line 108, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
          dist.run_commands()
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\dist.py", line 970, in run_commands
          self.run_command(cmd)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\command\bdist_wheel.py", line 373, in run
          self.run_command("build")
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run
          self.run_command(cmd_name)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
          self.distribution.run_command(command)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\dist.py", line 945, in run_command
          super().run_command(command)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command
          cmd_obj.run()
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\command\build_ext.py", line 93, in run
          _build_ext.run(self)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 359, in run
          self.build_extensions()
        File "C:\Users\ZeroCool22\AppData\Local\Temp\pip-install-69_mz8pz\xformers_5ba67276c0214f348989bc5f78b98492\setup.py", line 637, in build_extensions
          super().build_extensions()
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 870, in build_extensions
          build_ext.build_extensions(self)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\command\build_ext.py", line 254, in build_extension
          _build_ext.build_extension(self, ext)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\Cython\Distutils\build_ext.py", line 127, in build_extension
          super(build_ext, self).build_extension(ext)
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 842, in win_wrap_ninja_compile
          _write_ninja_file_and_compile_objects(
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1783, in _write_ninja_file_and_compile_objects
          _run_ninja_build(
        File "C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2123, in _run_ninja_build
          raise RuntimeError(message) from e
      RuntimeError: Error compiling objects for extension
      [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)

(base) C:\Users\ZeroCool22\Desktop\SwarmUI\dlbackend\comfy\python_embeded>
@lw
Copy link
Contributor

lw commented Sep 16, 2024

For future reference, the actual error is this:

      ninja: error: Stat(C:/Users/ZeroCool22/AppData/Local/Temp/pip-install-69_mz8pz/xformers_5ba67276c0214f348989bc5f78b98492/build/temp.win-amd64-cpython-311/Release/Users/ZeroCool22/AppData/Local/Temp/pip-install-69_mz8pz/xformers_5ba67276c0214f348989bc5f78b98492/third_party/flash-attention/csrc/flash_attn/flash_api.obj): Filename longer than 260 characters

Unfortunately this seems to be a Windows-specific issue but we don't have the expertise on Windows to help out with it. You could try moving your xFormers checkout to a "shorter" path. Or perhaps googling that error will give you more tips to try. Best of luck!

@cochese9000
Copy link

You can enable long path lengths by using the group policy editor. This link has a walkthrough:

https://thegeekpage.com/make-windows-11-accept-file-paths-over-260-characters/

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

3 participants