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
CreateProcess failed: The system cannot find the file specified.;subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 3221226356.
#24
hi,CSAILVision team,
i have installed ninja, but i still cause a problem.
PS D:\Users\wei22\Desktop\gandissect\gandissect-master> python -m netdissect --gan --model "netdissect.proggan.from_pth_file('models/karras/livingroom_lsun.pth')" --outdir "dissect/livingroom" --layer layer1 layer4 layer7 --size 1000
D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\src
Using C:\Users\wei22\AppData\Local\torch_extensions\torch_extensions\Cache\py36_cu113 as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file C:\Users\wei22\AppData\Local\torch_extensions\torch_extensions\Cache\py36_cu113_prroi_pooling\build.ninja...
Building extension module prroi_pooling...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\bin\nvcc --generate-dependencies-with-compile --dependency-output prroi_pooling_gpu_impl.cuda.o.d -Xcudafe --diag_suppre
ss=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 /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /w
d4819 -Xcompiler /MD -DTORCH_EXTENSION_NAME=prroi_pooling -DTORCH_API_INCLUDE_EXTENSION_H -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include -ID:\Users\wei22\De
sktop\gandissect\venv\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include\TH -ID:\Users\wei22\Desktop\gandi
ssect\venv\lib\site-packages\torch\include\THC "-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\include" -IC:\Users\wei22.conda\envs\netd\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_61,code=c
ompute_61 -gencode=arch=compute_61,code=sm_61 -c D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\src\prroi_pooling_gpu_impl.cu -o prroi_pooling_gpu_impl.cuda.o
FAILED: prroi_pooling_gpu_impl.cuda.o
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\bin\nvcc --generate-dependencies-with-compile --dependency-output prroi_pooling_gpu_impl.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_c
lass_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819
-Xcompiler /MD -DTORCH_EXTENSION_NAME=prroi_pooling -DTORCH_API_INCLUDE_EXTENSION_H -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include -ID:\Users\wei22\Desktop
gandissect\venv\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include\TH -ID:\Users\wei22\Desktop\gandissect
venv\lib\site-packages\torch\include\THC "-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\include" -IC:\Users\wei22.conda\envs\netd\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_61,code=compute
_61 -gencode=arch=compute_61,code=sm_61 -c D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\src\prroi_pooling_gpu_impl.cu -o prroi_pooling_gpu_impl.cuda.o
CreateProcess failed: The system cannot find the file specified.
Traceback (most recent call last):
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1723, in _run_ninja_build
env=env)
File "C:\Users\wei22.conda\envs\netd\lib\subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 3221226356.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\wei22.conda\envs\netd\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\wei22.conda\envs\netd\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect_main.py", line 409, in
File "D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\prroi_pool.py", line 14, in
from .functional import prroi_pool2d
File "D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\functional.py", line 23, in
verbose=True
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1136, in load
keep_intermediates=keep_intermediates)
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1347, in _jit_compile
is_standalone=is_standalone)
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1452, in _write_ninja_file_and_build_library
error_prefix=f"Error building extension '{name}'")
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1733, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension '_prroi_pooling'
My environment:
window 11
ninja 1.10.2
torch 1.10.2+cu113
The text was updated successfully, but these errors were encountered:
hi,CSAILVision team,
i have installed ninja, but i still cause a problem.
PS D:\Users\wei22\Desktop\gandissect\gandissect-master> python -m netdissect --gan --model "netdissect.proggan.from_pth_file('models/karras/livingroom_lsun.pth')" --outdir "dissect/livingroom" --layer layer1 layer4 layer7 --size 1000
D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\src
Using C:\Users\wei22\AppData\Local\torch_extensions\torch_extensions\Cache\py36_cu113 as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file C:\Users\wei22\AppData\Local\torch_extensions\torch_extensions\Cache\py36_cu113_prroi_pooling\build.ninja...
Building extension module prroi_pooling...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\bin\nvcc --generate-dependencies-with-compile --dependency-output prroi_pooling_gpu_impl.cuda.o.d -Xcudafe --diag_suppre
ss=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 /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /w
d4819 -Xcompiler /MD -DTORCH_EXTENSION_NAME=prroi_pooling -DTORCH_API_INCLUDE_EXTENSION_H -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include -ID:\Users\wei22\De
sktop\gandissect\venv\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include\TH -ID:\Users\wei22\Desktop\gandi
ssect\venv\lib\site-packages\torch\include\THC "-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\include" -IC:\Users\wei22.conda\envs\netd\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_61,code=c
ompute_61 -gencode=arch=compute_61,code=sm_61 -c D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\src\prroi_pooling_gpu_impl.cu -o prroi_pooling_gpu_impl.cuda.o
FAILED: prroi_pooling_gpu_impl.cuda.o
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\bin\nvcc --generate-dependencies-with-compile --dependency-output prroi_pooling_gpu_impl.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_c
lass_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819
-Xcompiler /MD -DTORCH_EXTENSION_NAME=prroi_pooling -DTORCH_API_INCLUDE_EXTENSION_H -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include -ID:\Users\wei22\Desktop
gandissect\venv\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\include\TH -ID:\Users\wei22\Desktop\gandissect
venv\lib\site-packages\torch\include\THC "-IC:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.3\include" -IC:\Users\wei22.conda\envs\netd\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_61,code=compute
_61 -gencode=arch=compute_61,code=sm_61 -c D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\src\prroi_pooling_gpu_impl.cu -o prroi_pooling_gpu_impl.cuda.o
CreateProcess failed: The system cannot find the file specified.
Traceback (most recent call last):
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1723, in _run_ninja_build
env=env)
File "C:\Users\wei22.conda\envs\netd\lib\subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 3221226356.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\wei22.conda\envs\netd\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\wei22.conda\envs\netd\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect_main.py", line 409, in
File "D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\prroi_pool.py", line 14, in
from .functional import prroi_pool2d
File "D:\Users\wei22\Desktop\gandissect\gandissect-master\netdissect\upsegmodel\prroi_pool\functional.py", line 23, in
verbose=True
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1136, in load
keep_intermediates=keep_intermediates)
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1347, in _jit_compile
is_standalone=is_standalone)
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1452, in _write_ninja_file_and_build_library
error_prefix=f"Error building extension '{name}'")
File "D:\Users\wei22\Desktop\gandissect\venv\lib\site-packages\torch\utils\cpp_extension.py", line 1733, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension '_prroi_pooling'
My environment:
window 11
ninja 1.10.2
torch 1.10.2+cu113
The text was updated successfully, but these errors were encountered: