Fused extension build error
RuntimeError: Error building extension 'fused': [1/3] c++ -MMD -MF fused_bias_act.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -isystem /home/kris/.local/lib/python3.10/site-packages/torch/include -isystem /home/kris/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -isystem /home/kris/.local/lib/python3.10/site-packages/torch/include/TH -isystem /home/kris/.local/lib/python3.10/site-packages/torch/include/THC -isystem /usr/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++14 -c /mnt/c/users/admin/desktop/DragGAN/stylegan2/op/fused_bias_act.cpp -o fused_bias_act.o
under win 10 wsl ubuntu vm but I also get similar error when I try directly on win 10
I same on ubuntu 22.04.2, I upgrade CUDA version to 12.1, it's work
This is a stylegan2 issue, mostly it might be caused by incorrect installation of CUDA. For more reference, I recommend to take a look at https://github.com/rosinality/stylegan2-pytorch/issues