File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set(ignoreMe "${VLLM_PYTHON_PATH}")
1919set (PYTHON_SUPPORTED_VERSIONS "3.8" "3.9" "3.10" "3.11" "3.12" )
2020
2121# Supported NVIDIA architectures.
22- set (CUDA_SUPPORTED_ARCHS "8.0;8.6;8.9;9.0" )
22+ set (CUDA_SUPPORTED_ARCHS "8.0;8.6;8.7;8. 9;9.0" )
2323
2424# Supported AMD GPU architectures.
2525set (HIP_SUPPORTED_ARCHS "gfx906;gfx908;gfx90a;gfx940;gfx941;gfx942;gfx1030;gfx1100" )
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ def append_nvcc_threads(nvcc_extra_args):
7676 if os .environ .get ("TORCH_CUDA_ARCH_LIST" , None ) is None and CUDA_HOME is not None :
7777 _ , bare_metal_version = get_cuda_bare_metal_version (CUDA_HOME )
7878 if bare_metal_version >= Version ("11.8" ):
79- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;9.0"
79+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7; 9.0"
8080 elif bare_metal_version >= Version ("11.1" ):
81- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6"
81+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7 "
8282 elif bare_metal_version == Version ("11.0" ):
8383 os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0"
8484 else :
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ def append_nvcc_threads(nvcc_extra_args):
7474 if os .environ .get ("TORCH_CUDA_ARCH_LIST" , None ) is None and CUDA_HOME is not None :
7575 _ , bare_metal_version = get_cuda_bare_metal_version (CUDA_HOME )
7676 if bare_metal_version >= Version ("11.8" ):
77- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;9.0"
77+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7; 9.0"
7878 elif bare_metal_version >= Version ("11.1" ):
79- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6"
79+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7 "
8080 elif bare_metal_version == Version ("11.0" ):
8181 os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0"
8282 else :
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ def append_nvcc_threads(nvcc_extra_args):
7474 if os .environ .get ("TORCH_CUDA_ARCH_LIST" , None ) is None and CUDA_HOME is not None :
7575 _ , bare_metal_version = get_cuda_bare_metal_version (CUDA_HOME )
7676 if bare_metal_version >= Version ("11.8" ):
77- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;9.0"
77+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7; 9.0"
7878 elif bare_metal_version >= Version ("11.1" ):
79- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6"
79+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7 "
8080 elif bare_metal_version == Version ("11.0" ):
8181 os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0"
8282 else :
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ def append_nvcc_threads(nvcc_extra_args):
7474 if os .environ .get ("TORCH_CUDA_ARCH_LIST" , None ) is None and CUDA_HOME is not None :
7575 _ , bare_metal_version = get_cuda_bare_metal_version (CUDA_HOME )
7676 if bare_metal_version >= Version ("11.8" ):
77- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;9.0"
77+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7; 9.0"
7878 elif bare_metal_version >= Version ("11.1" ):
79- os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6"
79+ os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0;8.6;8.7 "
8080 elif bare_metal_version == Version ("11.0" ):
8181 os .environ ["TORCH_CUDA_ARCH_LIST" ] = "6.0;6.1;6.2;7.0;7.5;8.0"
8282 else :
You can’t perform that action at this time.
0 commit comments