Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- L:\AI\ComfyUI_windows_portable\SageAttention>..\python_embeded\python.exe -m pip install .
- Processing l:\ai\comfyui_windows_portable\sageattention
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Preparing metadata (pyproject.toml) ... done
- Building wheels for collected packages: sageattention
- Building wheel for sageattention (pyproject.toml) ... error
- error: subprocess-exited-with-error
- × Building wheel for sageattention (pyproject.toml) did not run successfully.
- │ exit code: 1
- ╰─> [34 lines of output]
- Detect GPUs with compute capabilities: {'8.9'}
- running bdist_wheel
- 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.
- warnings.warn(msg.format('we could not find ninja.'))
- running build
- running build_py
- creating build\lib.win-amd64-cpython-312\sageattention
- copying sageattention\core.py -> build\lib.win-amd64-cpython-312\sageattention
- copying sageattention\fa3_wrapper.py -> build\lib.win-amd64-cpython-312\sageattention
- copying sageattention\quant.py -> build\lib.win-amd64-cpython-312\sageattention
- copying sageattention\__init__.py -> build\lib.win-amd64-cpython-312\sageattention
- creating build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\attn_qk_int8_block_varlen.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\attn_qk_int8_per_block.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\attn_qk_int8_per_block_causal.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\attn_qk_int8_per_block_causal_varlen.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\quant_per_block.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\quant_per_block_varlen.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\quant_per_thread.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- copying sageattention\triton\__init__.py -> build\lib.win-amd64-cpython-312\sageattention\triton
- running build_ext
- 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.
- warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
- building 'sageattention._qattn_sm80' extension
- creating build\temp.win-amd64-cpython-312\Release\csrc\qattn
- "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
- cl : Command line warning D9002 : ignoring unknown option '-g'
- cl : Command line warning D9002 : ignoring unknown option '-O3'
- cl : Command line warning D9002 : ignoring unknown option '-fopenmp'
- cl : Command line warning D9002 : ignoring unknown option '-lgomp'
- cl : Command line warning D9002 : ignoring unknown option '-std=c++17'
- pybind_sm80.cpp
- 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
- 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
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- ERROR: Failed building wheel for sageattention
- Failed to build sageattention
- ERROR: Failed to build installable wheels for some pyproject.toml based projects (sageattention)
- L:\AI\ComfyUI_windows_portable\SageAttention>cd ..
- L:\AI\ComfyUI_windows_portable>rmdir /s /q SageAttention
- L:\AI\ComfyUI_windows_portable>echo Successfully installed SageAttention 2.1.1 and cleared up
- Successfully installed SageAttention 2.1.1 and cleared up
- L:\AI\ComfyUI_windows_portable>echo.
- L:\AI\ComfyUI_windows_portable>pause
- Press any key to continue . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement