Skip to content

Commit

Permalink
Test build time for sm 8.0 only (#3068)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #3068

Differential Revision: D62157280
  • Loading branch information
spcyppt authored and facebook-github-bot committed Sep 4, 2024
1 parent 225ac16 commit 2c8f48b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/fbgemm_gpu_build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ __configure_fbgemm_gpu_build_cuda () {
# https://github.com/NVIDIA/nvbench/discussions/129
# https://github.com/vllm-project/vllm/blob/main/CMakeLists.txt#L187
# https://github.com/NVIDIA/cutlass/blob/main/include/cutlass/gemm/kernel/sm90_gemm_tma_warpspecialized.hpp#L224
local arch_list="7.0;8.0;9.0;9.0a"
local arch_list="7.0;8.0;9.0a"
else
local arch_list="7.0;8.0"
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/nova_dir.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export BUILD_FROM_NOVA=1
## Overwrite existing ENV VAR in Nova
if [[ "$CONDA_ENV" != "" ]]; then export CONDA_RUN="conda run --no-capture-output -p ${CONDA_ENV}" && echo "$CONDA_RUN"; fi
if [[ "$CU_VERSION" == "cu118" ]]; then export TORCH_CUDA_ARCH_LIST='7.0;8.0' && echo "$TORCH_CUDA_ARCH_LIST"; fi
if [[ "$CU_VERSION" == "cu121" ]]; then export TORCH_CUDA_ARCH_LIST='7.0;8.0;9.0;9.0a' && echo "$TORCH_CUDA_ARCH_LIST"; fi
if [[ "$CU_VERSION" == "cu124" ]]; then export TORCH_CUDA_ARCH_LIST='7.0;8.0;9.0;9.0a' && echo "$TORCH_CUDA_ARCH_LIST"; fi
if [[ "$CU_VERSION" == "cu121" ]]; then export TORCH_CUDA_ARCH_LIST='7.0;8.0;9.0a' && echo "$TORCH_CUDA_ARCH_LIST"; fi
if [[ "$CU_VERSION" == "cu124" ]]; then export TORCH_CUDA_ARCH_LIST='7.0;8.0;9.0a' && echo "$TORCH_CUDA_ARCH_LIST"; fi

0 comments on commit 2c8f48b

Please sign in to comment.