StartHua/ComfyUI_OOTDiffusion_CXH

ninja: build stopped: subcommand failed. deprecated issue.

Opened this issue · 0 comments

Cannot run through the Ninja build process
`[2024-03-04 13:11] Set cuda device to: 5
[2024-03-04 13:11] Total VRAM 24217 MB, total RAM 515469 MB
[2024-03-04 13:11] Set vram state to: NORMAL_VRAM
[2024-03-04 13:11] Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
[2024-03-04 13:11] VAE dtype: torch.bfloat16
[2024-03-04 13:11] Using pytorch cross attention
[2024-03-04 13:12] Traceback (most recent call last):
File "/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2096, in _run_ninja_build
subprocess.run(
File "/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
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 "/mnt/data/pliu/ComfyUI/nodes.py", line 1887, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/init.py", line 1, in
from .OodGenerater import Ood_hd_CXH
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/OodGenerater.py", line 6, in
from .preprocess.humanparsing.aigc_run_parsing import Parsing
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/aigc_run_parsing.py", line 7, in
from .parsing_api import load_atr_model, load_lip_model, inference
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/parsing_api.py", line 11, in
from . import networks
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/networks/init.py", line 2, in
from networks.AugmentCE2P import resnet101
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/networks/init.py", line 2, in
from networks.AugmentCE2P import resnet101
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/networks/AugmentCE2P.py", line 22, in
from modules
import InPlaceABNSync
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/init.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/bn.py", line 10, in
from .functions import *
File "/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/functions.py", line 11, in
backend = load(name="inplace_abn",
^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1306, in load
return jit_compile(
^^^^^^^^^^^^^
File "/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1710, in jit_compile
write_ninja_file_and_build_library(
File "/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1823, in write_ninja_file_and_build_library
run_ninja_build(
File "/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2112, in run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'inplace_abn': [1/5] /usr/local/cuda-11.8/bin/nvcc --generate-dependencies-with-compile --dependency-output inplace_abn_cuda_half.cuda.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn_cuda_half.cu -o inplace_abn_cuda_half.cuda.o
FAILED: inplace_abn_cuda_half.cuda.o
/usr/local/cuda-11.8/bin/nvcc --generate-dependencies-with-compile --dependency-output inplace_abn_cuda_half.cuda.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cuda_half.cu -o inplace_abn_cuda_half.cuda.o
: fatal error: when writing output to /tmp/tmpxft_00321ce7_00000000-7_inplace_abn_cuda_half.cpp1.ii: No space left on device
compilation terminated.
[2/5] /usr/local/cuda-11.8/bin/nvcc --generate-dependencies-with-compile --dependency-output inplace_abn_cuda.cuda.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cuda.cu -o inplace_abn_cuda.cuda.o
FAILED: inplace_abn_cuda.cuda.o
/usr/local/cuda-11.8/bin/nvcc --generate-dependencies-with-compile --dependency-output inplace_abn_cuda.cuda.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cuda.cu -o inplace_abn_cuda.cuda.o
: fatal error: when writing output to /tmp/tmpxft_00321ce6_00000000-7_inplace_abn_cuda.cpp1.ii: No space left on device
compilation terminated.
[3/5] c++ -MMD -MF inplace_abn_cpu.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp -o inplace_abn_cpu.o
FAILED: inplace_abn_cpu.o
c++ -MMD -MF inplace_abn_cpu.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp -o inplace_abn_cpu.o
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Generator.h:11,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/CPUGeneratorImpl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Context.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:7,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn_cpu.cpp: In function ‘void leaky_relu_backward_cpu(at::Tensor, at::Tensor, float)’:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/utils/checks.h:11:40: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
11 | #define CHECK_CPU(x) AT_CHECK(!(x).type().is_cuda(), #x " must be a CPU tensor")
| ~~~~~~~~^~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/utils/checks.h:15:28: note: in expansion of macro ‘CHECK_CPU’
15 | #define CHECK_CPU_INPUT(x) CHECK_CPU(x); CHECK_CONTIGUOUS(x)
| ^~~~~~~~~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:86:3: note: in expansion of macro ‘CHECK_CPU_INPUT’
86 | CHECK_CPU_INPUT(z);
| ^~~~~~~~~~~~~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Generator.h:11,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/CPUGeneratorImpl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Context.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:7,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/utils/checks.h:11:40: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
11 | #define CHECK_CPU(x) AT_CHECK(!(x).type().is_cuda(), #x " must be a CPU tensor")
| ~~~~~~~~^~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/utils/checks.h:15:28: note: in expansion of macro ‘CHECK_CPU’
15 | #define CHECK_CPU_INPUT(x) CHECK_CPU(x); CHECK_CONTIGUOUS(x)
| ^~~~~~~~~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:87:3: note: in expansion of macro ‘CHECK_CPU_INPUT’
87 | CHECK_CPU_INPUT(dz);
| ^~~~~~~~~~~~~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:11,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp: In lambda function:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:89:36: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
89 | AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cpu", ([&] {
| ~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:11,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp: In lambda function:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:91:32: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
91 | auto z = z.data<scalar_t>();
| ~~~~~~~~~~~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here
247 | T * data() const {
| ^~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:11,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:92:34: warning: ‘T
at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
92 | auto dz = dz.data<scalar_t>();
| ~~~~~~~~~~~~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here... 247 | T * data() const {
| ^~~~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:11,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn_cpu.cpp:110:34: warning: ‘T
at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
110 | auto *dz = dz.data<scalar_t>();
| ~~~~~~~~~~~~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn_cpu.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here
247 | T * data() const {
| ^~~~
c++: warning: /O2: linker input file unused because linking not done
c++: error: /O2: linker input file not found: No such file or directory
[4/5] c++ -MMD -MF inplace_abn.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules/src/inplace_abn.cpp -o inplace_abn.o
FAILED: inplace_abn.o
c++ -MMD -MF inplace_abn.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/TH -isystem /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda-11.8/include -isystem /mnt/data/pliu/ComfyUI/.venv/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules/src/inplace_abn.cpp -o inplace_abn.o
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn.cpp: In function ‘std::vectorat::Tensor mean_var(at::Tensor)’:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn.cpp:9:15: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
9 | if (x.type().scalarType() == at::ScalarType::Half) {
| ~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/variable.h:6,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/extension.h:5,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules
/src/inplace_abn.cpp: In function ‘at::Tensor forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:22:15: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
22 | if (x.type().scalarType() == at::ScalarType::Half) {
| ~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/variable.h:6,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/extension.h:5,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp: In function ‘std::vectorat::Tensor edz_eydz(at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:35:15: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
35 | if (z.type().scalarType() == at::ScalarType::Half) {
| ~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/variable.h:6,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/extension.h:5,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp: In function ‘at::Tensor backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:48:15: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
48 | if (z.type().scalarType() == at::ScalarType::Half) {
| ~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/variable.h:6,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/extension.h:5,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp: In function ‘void leaky_relu_backward(at::Tensor, at::Tensor, float)’:
/mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:64:15: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
64 | if (z.type().scalarType() == at::ScalarType::Half) {
| ~~~~~~^~
In file included from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/Tensor.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/variable.h:6,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7,
from /mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/torch/extension.h:5,
from /mnt/data/pliu/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/modules_/src/inplace_abn.cpp:1:
/mnt/data/pliu/ComfyUI/.venv/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here
225 | DeprecatedTypeProperties & type() const {
| ^~~~
c++: warning: /O2: linker input file unused because linking not done
c++: error: /O2: linker input file not found: No such file or directory
ninja: build stopped: subcommand failed.`