Closed adamjstewart closed 5 months ago
Ah, I was mistaken. 1.2.0 injected flags like -arch=sm_35
into the build even when TORCH_CUDA_ARCH_LIST
was set differently. However, it looks like 1.2.2 no longer has this issue, and even though the variable isn't referenced directly in the source code, it's used in torch/utils/cpp_extension.py
. False alarm!
The README says to set
TORCH_CUDA_ARCH_LIST
, howeversetup.py
only respectsNVCC_FLAGS
.