I use libtorch on RTX3090, but it occurs:
terminate called after throwing an instance of 'std::runtime_error'
  what():  nvrtc: error: invalid value for --gpu-architecture (-arch)

Configuration:
pytorch v1.7.0 ->libtorch
CUDA11.0