Skip to content

Commit cf75cd2

Browse files
authored
[CI Bugfix] Specify same TORCH_CUDA_ARCH_LIST for flashinfer aot and install (#20772)
Signed-off-by: mgoin <[email protected]>
1 parent b854321 commit cf75cd2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@ RUN --mount=type=cache,target=/root/.cache/uv bash - <<'BASH'
408408

409409
# Needed to build AOT kernels
410410
pushd flashinfer
411-
python3 -m flashinfer.aot
411+
TORCH_CUDA_ARCH_LIST="${FI_TORCH_CUDA_ARCH_LIST}" \
412+
python3 -m flashinfer.aot
412413
TORCH_CUDA_ARCH_LIST="${FI_TORCH_CUDA_ARCH_LIST}" \
413414
uv pip install --system --no-build-isolation .
414415
popd

0 commit comments

Comments
 (0)