Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行错误无法解决 #44

Open
HeyAzhee opened this issue Apr 24, 2024 · 0 comments
Open

运行错误无法解决 #44

HeyAzhee opened this issue Apr 24, 2024 · 0 comments

Comments

@HeyAzhee
Copy link

[W socket.cpp:697] [c10d] The client socket has failed to connect to [DESKTOP-H11RS21]:6020 (system error: 10049 - �����������У�������ĵ�ַ��Ч��).
Traceback (most recent call last):
File "D:\conda\envs\py39\lib\site-packages\torch\utils\cpp_extension.py", line 2096, in _run_ninja_build
subprocess.run(
File "D:\conda\envs\py39\lib\subprocess.py", line 528, 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 "E:\Azhe\denoising-diffusion-gan-main\train_ddgan.py", line 566, in
init_processes(0, size, train, args)
File "E:\Azhe\denoising-diffusion-gan-main\train_ddgan.py", line 472, in init_processes
fn(rank, gpu, args)
File "E:\Azhe\denoising-diffusion-gan-main\train_ddgan.py", line 193, in train
from score_sde.models.discriminator import Discriminator_small, Discriminator_large
File "E:\Azhe\denoising-diffusion-gan-main\score_sde\models\discriminator.py", line 11, in
from . import up_or_down_sampling
File "E:\Azhe\denoising-diffusion-gan-main\score_sde\models\up_or_down_sampling.py", line 15, in
from score_sde.op import upfirdn2d
File "E:\Azhe\denoising-diffusion-gan-main\score_sde\op_init_.py", line 1, in
from .fused_act import FusedLeakyReLU, fused_leaky_relu
File "E:\Azhe\denoising-diffusion-gan-main\score_sde\op\fused_act.py", line 20, in
fused = load(
File "D:\conda\envs\py39\lib\site-packages\torch\utils\cpp_extension.py", line 1306, in load
return jit_compile(
File "D:\conda\envs\py39\lib\site-packages\torch\utils\cpp_extension.py", line 1710, in jit_compile
write_ninja_file_and_build_library(
File "D:\conda\envs\py39\lib\site-packages\torch\utils\cpp_extension.py", line 1823, in write_ninja_file_and_build_library
run_ninja_build(
File "D:\conda\envs\py39\lib\site-packages\torch\utils\cpp_extension.py", line 2112, in run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension 'fused': [1/2] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --generate-dependencies-with-compile --dependency-output fused_bias_act_kernel.cuda.o.d -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 -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -ID:\conda\envs\py39\lib\site-packages\torch\include -ID:\conda\envs\py39\lib\site-packages\torch\include\torch\csrc\api\include -ID:\conda\envs\py39\lib\site-packages\torch\include\TH -ID:\conda\envs\py39\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\conda\envs\py39\Include -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 -std=c++17 -c E:\Azhe\denoising-diffusion-gan-main\score_sde\op\fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
FAILED: fused_bias_act_kernel.cuda.o
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --generate-dependencies-with-compile --dependency-output fused_bias_act_kernel.cuda.o.d -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 -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -ID:\conda\envs\py39\lib\site-packages\torch\include -ID:\conda\envs\py39\lib\site-packages\torch\include\torch\csrc\api\include -ID:\conda\envs\py39\lib\site-packages\torch\include\TH -ID:\conda\envs\py39\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -ID:\conda\envs\py39\Include -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 -std=c++17 -c E:\Azhe\denoising-diffusion-gan-main\score_sde\op\fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o

ninja: build stopped: subcommand failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant