You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build
subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, 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 "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/main.py", line 13, in
from models.Embedding import Embedding
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/Embedding.py", line 3, in
from models.Net import Net
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/Net.py", line 3, in
from models.stylegan2.model import Generator
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/model.py", line 11, in
from models.stylegan2.op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/init.py", line 1, in
from .fused_act import FusedLeakyReLU, fused_leaky_relu
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/fused_act.py", line 10, in
fused = load(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1309, in load
return jit_compile(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1719, in jit_compile write_ninja_file_and_build_library(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1832, in write_ninja_file_and_build_library run_ninja_build(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2123, in run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'fused': [1/2] /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output fused_bias_act_kernel.cuda.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/TH -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/THC -isystem /usr/include/python3.10 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++17 -c /home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
FAILED: fused_bias_act_kernel.cuda.o
/usr/bin/nvcc --generate-dependencies-with-compile --dependency-output fused_bias_act_kernel.cuda.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/TH -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/THC -isystem /usr/include/python3.10 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++17 -c /home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
ninja: build stopped: subcommand failed.
what is the cause of this error?
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2107, in _run_ninja_build
subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, 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 "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/main.py", line 13, in
from models.Embedding import Embedding
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/Embedding.py", line 3, in
from models.Net import Net
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/Net.py", line 3, in
from models.stylegan2.model import Generator
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/model.py", line 11, in
from models.stylegan2.op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/init.py", line 1, in
from .fused_act import FusedLeakyReLU, fused_leaky_relu
File "/home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/fused_act.py", line 10, in
fused = load(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1309, in load
return jit_compile(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1719, in jit_compile
write_ninja_file_and_build_library(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1832, in write_ninja_file_and_build_library
run_ninja_build(
File "/home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2123, in run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'fused': [1/2] /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output fused_bias_act_kernel.cuda.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/TH -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/THC -isystem /usr/include/python3.10 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++17 -c /home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
FAILED: fused_bias_act_kernel.cuda.o
/usr/bin/nvcc --generate-dependencies-with-compile --dependency-output fused_bias_act_kernel.cuda.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/TH -isystem /home/wrusr/miniconda3/workspace/barbershop_env/lib/python3.10/site-packages/torch/include/THC -isystem /usr/include/python3.10 -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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++17 -c /home/wrusr/miniconda3/workspace/barbershop_env/workspace/Barbershop/models/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
ninja: build stopped: subcommand failed.
what is the cause of this error?
The text was updated successfully, but these errors were encountered: