Microsoft Windows [Version 10.0.22621.1413]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

D:\ComfyUI>call venv\Scripts\activate

(venv) D:\ComfyUI>cd SageAttention

(venv) D:\ComfyUI\SageAttention>python setup.py install
running install
D:\ComfyUI\venv\Lib\site-packages\setuptools\_distutils\cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
D:\ComfyUI\venv\Lib\site-packages\setuptools\_distutils\cmd.py:79: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
creating sageattention.egg-info
writing sageattention.egg-info\PKG-INFO
writing dependency_links to sageattention.egg-info\dependency_links.txt
writing top-level names to sageattention.egg-info\top_level.txt
writing manifest file 'sageattention.egg-info\SOURCES.txt'
D:\ComfyUI\venv\Lib\site-packages\torch\utils\cpp_extension.py:497: 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.'))
reading manifest file 'sageattention.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'sageattention.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\lib.win-amd64-cpython-312\sageattention
copying sageattention\core.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
D:\ComfyUI\venv\Lib\site-packages\torch\utils\cpp_extension.py:382: UserWarning: Error checking compiler version for cl: [WinError 2] Не удается найти указанный файл
  warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'sageattention._qattn' extension
creating build\temp.win-amd64-cpython-312\Release\csrc\qattn
D:\VS\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\ComfyUI\venv\Lib\site-packages\torch\include -ID:\ComfyUI\venv\Lib\site-packages\torch\include\torch\csrc\api\include -ID:\ComfyUI\venv\Lib\site-packages\torch\include\TH -ID:\ComfyUI\venv\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include" -ID:\ComfyUI\venv\include -IC:\Users\User\AppData\Local\Programs\Python\Python312\include -IC:\Users\User\AppData\Local\Programs\Python\Python312\Include -ID:\VS\VC\Tools\MSVC\14.42.34433\include -ID:\VS\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.cpp /Fobuild\temp.win-amd64-cpython-312\Release\csrc\qattn\pybind.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 -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++17
cl: командная строка warning D9002: пропуск неизвестного параметра "-g"
cl: командная строка warning D9002: пропуск неизвестного параметра "-O3"
cl: командная строка warning D9002: пропуск неизвестного параметра "-fopenmp"
cl: командная строка warning D9002: пропуск неизвестного параметра "-lgomp"
cl: командная строка warning D9002: пропуск неизвестного параметра "-std=c++17"
pybind.cpp
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin\nvcc" -c csrc/qattn/qk_int_sv_f16_buffer_cuda.cu -o build\temp.win-amd64-cpython-312\Release\csrc\qattn\qk_int_sv_f16_buffer_cuda.obj -ID:\ComfyUI\venv\Lib\site-packages\torch\include -ID:\ComfyUI\venv\Lib\site-packages\torch\include\torch\csrc\api\include -ID:\ComfyUI\venv\Lib\site-packages\torch\include\TH -ID:\ComfyUI\venv\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\include" -ID:\ComfyUI\venv\include -IC:\Users\User\AppData\Local\Programs\Python\Python312\include -IC:\Users\User\AppData\Local\Programs\Python\Python312\Include -ID:\VS\VC\Tools\MSVC\14.42.34433\include -ID:\VS\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" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4068 -Xcompiler /wd4067 -Xcompiler /wd4624 -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ --use_fast_math --threads=8 -Xptxas=-v -diag-suppress=174 -D_GLIBCXX_USE_CXX11_ABI=0 -gencode arch=compute_89,code=sm_89 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_qattn -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 --use-local-env
qk_int_sv_f16_buffer_cuda.cu
cl: командная строка warning D9025: переопределение "/D__CUDA_NO_HALF_OPERATORS__" на "/U__CUDA_NO_HALF_OPERATORS__"
cl: командная строка warning D9025: переопределение "/D__CUDA_NO_HALF_CONVERSIONS__" на "/U__CUDA_NO_HALF_CONVERSIONS__"
qk_int_sv_f16_buffer_cuda.cu
cl: командная строка warning D9025: переопределение "/D__CUDA_NO_HALF_OPERATORS__" на "/U__CUDA_NO_HALF_OPERATORS__"
cl: командная строка warning D9025: переопределение "/D__CUDA_NO_HALF_CONVERSIONS__" на "/U__CUDA_NO_HALF_CONVERSIONS__"
qk_int_sv_f16_buffer_cuda.cu
C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//um\winuser.h(14668): warning #108-D: signed bit field of length 1
      BOOL fBarFocused:1;
           ^

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//um\winuser.h(14669): warning #108-D: signed bit field of length 1
      BOOL fFocused:1;
           ^

C:/Program Files (x86)/Windows Kits/10//include/10.0.22621.0//um\wincrypt.h(21836): warning #1835-D: attribute "dllimport" does not apply here
  typedef __declspec(dllimport) BOOL (__stdcall *PFN_CERT_IS_WEAK_HASH)(
                     ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(730): warning #108-D: signed bit field of length 1
      int                             fInDontFree       :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(731): warning #108-D: signed bit field of length 1
      int                             fDontCallFreeInst :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(732): warning #108-D: signed bit field of length 1
      int                             fUnused1          :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(733): warning #108-D: signed bit field of length 1
      int                             fHasReturn        :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(734): warning #108-D: signed bit field of length 1
      int                             fHasExtensions    :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(735): warning #108-D: signed bit field of length 1
      int                             fHasNewCorrDesc   :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(736): warning #108-D: signed bit field of length 1
      int                             fIsIn             :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(737): warning #108-D: signed bit field of length 1
      int                             fIsOut            :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(738): warning #108-D: signed bit field of length 1
      int                             fIsOicf           :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(739): warning #108-D: signed bit field of length 1
      int                             fBufferValid      :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(740): warning #108-D: signed bit field of length 1
      int                             fHasMemoryValidateCallback: 1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(741): warning #108-D: signed bit field of length 1
      int                             fInFree             :1;
                                      ^

C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared\rpcndr.h(742): warning #108-D: signed bit field of length 1
      int                             fNeedMCCP         :1;
                                      ^

D:\ComfyUI\SageAttention\csrc\qattn\../math.cuh(71): error: identifier "ushort" is undefined
    ushort y_u16;
    ^

D:\ComfyUI\SageAttention\csrc\qattn\../math.cuh(72): error: an asm operand must have scalar type
    asm volatile("ex2.approx.f16 %0, %1;" : "=h"(y_u16) : "h"(__half_as_ushort(x)));
                                            ^

D:\ComfyUI\SageAttention\csrc\qattn\../math.cuh(146): error: identifier "ushort" is undefined
    ushort y_u16;
    ^

D:\ComfyUI\SageAttention\csrc\qattn\../math.cuh(147): error: an asm operand must have scalar type
    asm volatile("tanh.approx.f16 %0, %1;" : "=h"(y_u16) : "h"(__half_as_ushort(x)));
                                             ^

4 errors detected in the compilation of "csrc/qattn/qk_int_sv_f16_buffer_cuda.cu".
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.4\\bin\\nvcc.EXE' failed with exit code 4294967295