GPEN-Cioscos
GPEN-Cioscos copied to clipboard
"GPEN is compiling fused Pytorch extension. Please wait, it might take a while." fails.
Hi,
I ran this software on my PC with a 2080ti and it worked great. For some reason though, on the 3090-pc, it doesn't work for me.
When I run the aligned images script I get this error:
D:\Bureaublad\GPEN-Windows\_internal\CUDA\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 /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:\Bureaublad\GPEN-Windows\_internal\Python37\lib\site-packages\torch\include -ID:\Bureaublad\GPEN-Windows\_internal\Python37\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Bureaublad\GPEN-Windows\_internal\Python37\lib\site-packages\torch\include\TH -ID:\Bureaublad\GPEN-Windows\_internal\Python37\lib\site-packages\torch\include\THC -ID:\Bureaublad\GPEN-Windows\_internal\CUDA\include -ID:\Bureaublad\GPEN-Windows\_internal\Python37\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_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -c D:\Bureaublad\GPEN-Windows\face_model\op\fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Bureaublad/GPEN-Windows/_internal/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX86/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat' ninja: build stopped: subcommand failed.
What could fix this? Also, thanks for creating the GPEN-windows scripts!
Thx for report and for my late response. I will investigate