Removes unsupported versions from TORCH_CUDA_ARCH_LIST environment variable, if present.
Ideally, we would simply specify the supported versions as extra_cflags when creating the torch extension, but there appears to be a bug with doing this, so we use a workaround for now.
Removes unsupported versions from
TORCH_CUDA_ARCH_LIST
environment variable, if present.Ideally, we would simply specify the supported versions as
extra_cflags
when creating the torch extension, but there appears to be a bug with doing this, so we use a workaround for now.