StartHua / ComfyUI_OOTDiffusion_CXH

OOTDiffusion
Apache License 2.0
115 stars 13 forks source link

Has anyone encountered this error? Command '['ninja', '-v']' returned non-zero exit status 1. #13

Open FastSchnell opened 7 months ago

FastSchnell commented 7 months ago

raceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build subprocess.run( File "/usr/local/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 "/app/ComfyUI/nodes.py", line 1894, 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 "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/init.py", line 1, in from .OodGenerater import Ood_CXH File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/OodGenerater.py", line 6, in from .preprocess.humanparsing.aigc_run_parsing import Parsing File "/app/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 "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/parsing_api.py", line 11, in from . import networks File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/networks/init.py", line 2, in from networks.AugmentCE2P import resnet101 File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusion_CXH/preprocess/humanparsing/networks/init.py", line 2, in from networks.AugmentCE2P import resnet101 File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/networks/AugmentCE2P.py", line 22, in from modules import InPlaceABNSync File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/init.py", line 1, in from .bn import ABN, InPlaceABN, InPlaceABNSync File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/bn.py", line 10, in from .functions import * File "/app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/functions.py", line 11, in _backend = load(name="inplace_abn", ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1309, in load return _jit_compile( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1719, in _jit_compile _write_ninja_file_and_build_library( File "/usr/local/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 1832, in _write_ninja_file_and_build_library _run_ninja_build( File "/usr/local/lib/python3.11/site-packages/torch/utils/cpp_extension.py", line 2123, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error building extension 'inplace_abn': [1/5] /usr/local/cuda/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cuda.cu -o inplace_abn_cuda.cuda.o FAILED: inplace_abn_cuda.cuda.o /usr/local/cuda/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cuda.cu -o inplace_abn_cuda.cuda.o /bin/sh: 1: /usr/local/cuda/bin/nvcc: not found [2/5] /usr/local/cuda/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_BFLOAT16_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' --expt-extended-lambda -std=c++17 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cuda_half.cu -o inplace_abn_cuda_half.cuda.o /bin/sh: 1: /usr/local/cuda/bin/nvcc: not found [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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp -o inplace_abn_cpu.o In file included from /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/Generator.h:11, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/CPUGeneratorImpl.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/Context.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/ATen.h:7, from /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:1: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In function ‘void leaky_relu_backward_cpu(at::Tensor, at::Tensor, float)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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") | ~~~~^~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) | ^~~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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 /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/ivalue.h:4, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/List_inl.h:4, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/List.h:490, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/IListRef_inl.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/IListRef.h:631, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/DeviceGuard.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/ATen.h:9: /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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") | ~~~~^~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) | ^~~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:87:3: note: in expansion of macro ‘CHECK_CPU_INPUT’ 87 | CHECK_CPU_INPUT(dz); | ^~~~~~~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ In file included from /usr/local/lib/python3.11/site-packages/torch/include/ATen/ATen.h:11: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In lambda function: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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", ([&] { | ~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In lambda function: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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(); | ~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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(); | ~~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In lambda function: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:91:32: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] 91 | auto _z = z.data(); | ~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:92:34: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] 92 | auto _dz = dz.data(); | ~~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In function ‘void elu_backward_cpu(at::Tensor, at::Tensor)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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") | ~~~~^~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) | ^~~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:104:3: note: in expansion of macro ‘CHECK_CPU_INPUT’ 104 | CHECK_CPU_INPUT(z); | ^~~~~~~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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") | ~~~~^~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) | ^~~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:105:3: note: in expansion of macro ‘CHECK_CPU_INPUT’ 105 | CHECK_CPU_INPUT(dz); | ^~~~~~~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In lambda function: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:107: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] 107 | AT_DISPATCH_FLOATING_TYPES(z.type(), "elu_backward_cpu", ([&] { | ~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In lambda function: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:109:32: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] 109 | auto _z = z.data(); | ~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:110:34: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] 110 | auto _dz = dz.data(); | ~~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp: In lambda function: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn_cpu.cpp:109:32: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] 109 | auto _z = z.data(); | ~~~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:247:7: note: declared here 247 | T data() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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(); | ~~~~~^~ /usr/local/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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 /usr/local/lib/python3.11/site-packages/torch/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -isystem /usr/local/lib/python3.11/site-packages/torch/include/TH -isystem /usr/local/lib/python3.11/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /usr/local/include/python3.11 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 /O2 -c /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn.cpp -o inplace_abn.o /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn.cpp: In function ‘std::vector mean_var(at::Tensor)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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 /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/Tensor.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/ATen/Tensor.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/function_hook.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/cpp_hook.h:2, from /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/variable.h:6, from /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/autograd/autograd.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/autograd.h:3, from /usr/local/lib/python3.11/site-packages/torch/include/torch/csrc/api/include/torch/all.h:7, from /usr/local/lib/python3.11/site-packages/torch/include/torch/extension.h:5, from /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn.cpp:1: /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn.cpp: In function ‘at::Tensor forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) { | ~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules

FastSchnell commented 7 months ago

/usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn.cpp: In function ‘std::vector edz_eydz(at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) { | ~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) { | ~~^~ /usr/local/lib/python3.11/site-packages/torch/include/ATen/core/TensorBody.h:225:30: note: declared here 225 | DeprecatedTypeProperties & type() const { | ^~~~ /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/preprocess/humanparsing/modules/src/inplace_abn.cpp: In function ‘void leaky_relu_backward(at::Tensor, at::Tensor, float)’: /app/ComfyUI/custom_nodes/ComfyUI_OOTDiffusionCXH/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) { | ~~^~ /usr/local/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.