The custom CUDA extension build steps should either use TORCH_CUDA_ARCH_LIST or should check your local GPUs to select the compute capability. You could try to set TORCH_CUDA_ARCH_LIST manually and if this doesn’t work try to narrow down the offending operation, which creates the issue.