Skip to content

Commit 205b949

Browse files
authored
[CI/Build] fix TORCH_CUDA_ARCH_LIST in wheel build (#3801)
1 parent 3bec41f commit 205b949

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/scripts/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ $python_executable -m pip install -r requirements.txt
1515
export MAX_JOBS=1
1616
# Make sure punica is built for the release (for LoRA)
1717
export VLLM_INSTALL_PUNICA_KERNELS=1
18-
18+
# Make sure release wheels are built for the following architectures
19+
export TORCH_CUDA_ARCH_LIST="7.0 7.5 8.0 8.6 8.9 9.0+PTX"
1920
# Build
2021
$python_executable setup.py bdist_wheel --dist-dir=dist

0 commit comments

Comments
 (0)