-
Notifications
You must be signed in to change notification settings - Fork 278
Description
python 3.13, torch2.9, cuda13.0
build in comfyui python_embeded environment
S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running clean
removing 'build\temp.win-amd64-cpython-313' (and everything under it)
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell>S:\1114\ComfyUI_windows_portable\python_embeded\python.exe setup.py install
S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda_init_.py:63: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
torch.version = 2.9.0+cu130
S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running install
S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running build
running build_py
copying sageattn3\api.py -> build\lib.win-amd64-cpython-313\sageattn3
copying sageattn3_init_.py -> build\lib.win-amd64-cpython-313\sageattn3
copying sageattn3\blackwell_init_.py -> build\lib.win-amd64-cpython-313\sageattn3\blackwell
copying sageattn3\quantization_init_.py -> build\lib.win-amd64-cpython-313\sageattn3\quantization
running build_ext
building 'fp4attn_cuda' extension
creating S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\build\temp.win-amd64-cpython-313\Release\sageattn3\blackwell
[1/1] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin\nvcc --generate-dependencies-with-compile --dependency-output S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\build\temp.win-amd64-cpython-313\Release\sageattn3\blackwell\api.obj.d -std=c++17 -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc --use-local-env -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IS:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3 -IS:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\csrc\cutlass\include -IS:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\csrc\cutlass\tools\util\include -IS:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -IS:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\include" -IS:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -IS:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\include" -IS:\1114\ComfyUI_windows_portable\python_embeded\include -IS:\1114\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\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" -c S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\api.cu -o S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\build\temp.win-amd64-cpython-313\Release\sageattn3\blackwell\api.obj -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__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math --ptxas-options=--verbose,--warn-on-local-memory-usage -lineinfo -DCUTLASS_DEBUG_TRACE_LEVEL=0 -DNDEBUG -DQBLKSIZE=128 -DKBLKSIZE=128 -DCTA256 -DDQINRMEM -DEXECMODE=0 -gencode arch=compute_120a,code=sm_120a --threads 4 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=fp4attn_cuda
FAILED: S:/1114/ComfyUI_windows_portable/SageAttention/sageattention3_blackwell/build/temp.win-amd64-cpython-313/Release/sageattn3/blackwell/api.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin\nvcc --generate-dependencies-with-compile --dependency-output S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\build\temp.win-amd64-cpython-313\Release\sageattn3\blackwell\api.obj.d -std=c++17 -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /wd4624 -Xcompiler /wd4067 -Xcompiler /wd4068 -Xcompiler /EHsc --use-local-env -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -
.........................................
tmpxft_00007068_00000000-7_api.cudafe1.cpp
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(154): warning C4346: "LayoutSF": 依赖名称不是类型
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(154): note: 通过指示类型的 "typename" 为 qualified-id 添加前缀
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(154): note: 模板实例化上下文(最早的实例化上下文)为
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(78): note: 在编译类模板“Flash_fwd_kernel_traits”时
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(154): error C2061: 语法错误: 标识符“LayoutSF”
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(155): warning C4346: "SfAtom": 依赖名称不是类型
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(155): note: 通过指示类型的 "typename" 为 qualified-id 添加前缀
S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\sageattn3\blackwell\kernel_traits.h(155): error C2061: 语法错误: 标识符“SfAtom”
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2597, in _run_ninja_build
subprocess.run(
~~~~~~~~~~~~~~^
command,
^^^^^^^^
...<4 lines>...
check=True,
^^^^^^^^^^^
env=env)
^^^^^^^^
File "subprocess.py", line 577, 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 "S:\1114\ComfyUI_windows_portable\SageAttention\sageattention3_blackwell\setup.py", line 151, in
setup(
~~~~~^
name=PACKAGE_NAME,
^^^^^^^^^^^^^^^^^^
...<30 lines>...
],
^^
)
^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_init_.py", line 115, in setup
return distutils.core.setup(**attrs)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\core.py", line 186, in setup
return run_commands(dist)
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\core.py", line 202, in run_commands
dist.run_commands()
~~~~~~~~~~~~~~~~~^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\dist.py", line 1002, in run_commands
self.run_command(cmd)
~~~~~~~~~~~~~~~~^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\dist.py", line 1102, in run_command
super().run_command(command)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
~~~~~~~~~~~^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\command\install.py", line 689, in run
self.run_command('build')
~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\cmd.py", line 357, in run_command
self.distribution.run_command(command)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\dist.py", line 1102, in run_command
super().run_command(command)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
~~~~~~~~~~~^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
~~~~~~~~~~~~~~~~^^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\cmd.py", line 357, in run_command
self.distribution.run_command(command)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\dist.py", line 1102, in run_command
super().run_command(command)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\dist.py", line 1021, in run_command
cmd_obj.run()
~~~~~~~~~~~^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\command\build_ext.py", line 96, in run
_build_ext.run(self)
~~~~~~~~~~~~~~^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 368, in run
self.build_extensions()
~~~~~~~~~~~~~~~~~~~~~^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1082, in build_extensions
build_ext.build_extensions(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 484, in build_extensions
self._build_extensions_serial()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 510, in _build_extensions_serial
self.build_extension(ext)
~~~~~~~~~~~~~~~~~~~~^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools\command\build_ext.py", line 261, in build_extension
_build_ext.build_extension(self, ext)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\Cython\Distutils\build_ext.py", line 136, in build_extension
super().build_extension(ext)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\setuptools_distutils\command\build_ext.py", line 565, in build_extension
objects = self.compiler.compile(
sources,
...<5 lines>...
depends=ext.depends,
)
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 1051, in win_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sources=sources,
^^^^^^^^^^^^^^^^
...<11 lines>...
with_cuda=with_cuda,
^^^^^^^^^^^^^^^^^^^^
with_sycl=False)
^^^^^^^^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2223, in _write_ninja_file_and_compile_objects
_run_ninja_build(
~~~~~~~~~~~~~~~~^
build_directory,
^^^^^^^^^^^^^^^^
...<2 lines>...
# that failed to build but there isn't a good way to get it here.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error_prefix='Error compiling objects for extension')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "S:\1114\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 2614, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension