Advertisement
thecrake

sage error

Mar 6th, 2025
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. L:\AI\ComfyUI_windows_portable\SageAttention>..\python_embeded\python.exe -m pip install .
  2. Processing l:\ai\comfyui_windows_portable\sageattention
  3. Installing build dependencies ... done
  4. Getting requirements to build wheel ... done
  5. Preparing metadata (pyproject.toml) ... done
  6. Building wheels for collected packages: sageattention
  7. Building wheel for sageattention (pyproject.toml) ... error
  8. error: subprocess-exited-with-error
  9.  
  10. × Building wheel for sageattention (pyproject.toml) did not run successfully.
  11. │ exit code: 1
  12. ╰─> [34 lines of output]
  13. Detect GPUs with compute capabilities: {'8.9'}
  14. running bdist_wheel
  15. L:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:529: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
  16. warnings.warn(msg.format('we could not find ninja.'))
  17. running build
  18. running build_py
  19. creating build\lib.win-amd64-cpython-312\sageattention
  20. copying sageattention\core.py -> build\lib.win-amd64-cpython-312\sageattention
  21. copying sageattention\fa3_wrapper.py -> build\lib.win-amd64-cpython-312\sageattention
  22. copying sageattention\quant.py -> build\lib.win-amd64-cpython-312\sageattention
  23. copying sageattention\__init__.py -> build\lib.win-amd64-cpython-312\sageattention
  24. creating build\lib.win-amd64-cpython-312\sageattention\triton
  25. copying sageattention\triton\attn_qk_int8_block_varlen.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  26. copying sageattention\triton\attn_qk_int8_per_block.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  27. copying sageattention\triton\attn_qk_int8_per_block_causal.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  28. copying sageattention\triton\attn_qk_int8_per_block_causal_varlen.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  29. copying sageattention\triton\quant_per_block.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  30. copying sageattention\triton\quant_per_block_varlen.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  31. copying sageattention\triton\quant_per_thread.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  32. copying sageattention\triton\__init__.py -> build\lib.win-amd64-cpython-312\sageattention\triton
  33. running build_ext
  34. L:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py:448: UserWarning: The detected CUDA version (12.8) has a minor version mismatch with the version that was used to compile PyTorch (12.6). Most likely this shouldn't be a problem.
  35. warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
  36. building 'sageattention._qattn_sm80' extension
  37. creating build\temp.win-amd64-cpython-312\Release\csrc\qattn
  38. "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.43.34808\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IL:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -IL:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include -IL:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\TH -IL:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\include" -IL:\AI\ComfyUI_windows_portable\python_embeded\include -IL:\AI\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.43.34808\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\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 /Tpcsrc/qattn/pybind_sm80.cpp /Fobuild\temp.win-amd64-cpython-312\Release\csrc\qattn\pybind_sm80.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc -g -O3 -fopenmp -lgomp -std=c++17 -DENABLE_BF16 -D_GLIBCXX_USE_CXX11_ABI=0 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_qattn_sm80 -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17
  39. cl : Command line warning D9002 : ignoring unknown option '-g'
  40. cl : Command line warning D9002 : ignoring unknown option '-O3'
  41. cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
  42. cl : Command line warning D9002 : ignoring unknown option '-lgomp'
  43. cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
  44. pybind_sm80.cpp
  45. L:\AI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\pybind11\detail/common.h(274): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
  46. error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  47. [end of output]
  48.  
  49. note: This error originates from a subprocess, and is likely not a problem with pip.
  50. ERROR: Failed building wheel for sageattention
  51. Failed to build sageattention
  52. ERROR: Failed to build installable wheels for some pyproject.toml based projects (sageattention)
  53.  
  54. L:\AI\ComfyUI_windows_portable\SageAttention>cd ..
  55.  
  56. L:\AI\ComfyUI_windows_portable>rmdir /s /q SageAttention
  57.  
  58. L:\AI\ComfyUI_windows_portable>echo Successfully installed SageAttention 2.1.1 and cleared up
  59. Successfully installed SageAttention 2.1.1 and cleared up
  60.  
  61. L:\AI\ComfyUI_windows_portable>echo.
  62.  
  63.  
  64. L:\AI\ComfyUI_windows_portable>pause
  65. Press any key to continue . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement