We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb3ea37 commit d9b3b6eCopy full SHA for d9b3b6e
setup.py
@@ -176,7 +176,9 @@ def get_flash_attention2_nvcc_archs_flags(cuda_version: int):
176
return []
177
# Figure out default archs to target
178
DEFAULT_ARCHS_LIST = ""
179
- if cuda_version >= 1108:
+ if cuda_version >= 1208:
180
+ DEFAULT_ARCHS_LIST = "8.0;8.6;9.0;10.0;12.0"
181
+ elif cuda_version >= 1108:
182
DEFAULT_ARCHS_LIST = "8.0;8.6;9.0"
183
elif cuda_version > 1100:
184
DEFAULT_ARCHS_LIST = "8.0;8.6"
0 commit comments