Closed pierotofy closed 5 months ago
Sets TORCH_CUDA_ARCH_LIST only if CMAKE_CUDA_ARCHITECTURES is explicitly set.
On my machine, setting TORCH_CUDA_ARCH_LIST would cause the program to not run, due to my GPU architecture not being explicitly in the list.
Sets TORCH_CUDA_ARCH_LIST only if CMAKE_CUDA_ARCHITECTURES is explicitly set.
On my machine, setting TORCH_CUDA_ARCH_LIST would cause the program to not run, due to my GPU architecture not being explicitly in the list.