Skip to content

Commit 34a01ee

Browse files
committed
upd
1 parent a52f90e commit 34a01ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-flashinfer-aot-modules-wheel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ jobs:
7979
- name: Build wheel in container
8080
env:
8181
DOCKER_IMAGE: ${{ matrix.arch == 'aarch64' && format('pytorch/manylinux2_28_aarch64-builder:cuda{0}', matrix.cuda) || format('pytorch/manylinux2_28-builder:cuda{0}', matrix.cuda) }}
82-
CUDA_MAJOR: ${{ matrix.cuda.split('.')[0] }}
83-
CUDA_MINOR: ${{ matrix.cuda.split('.')[1] }}
82+
CUDA_MAJOR: ${{ (split(matrix.cuda, '.'))[0] }}
83+
CUDA_MINOR: ${{ (split(matrix.cuda, '.'))[1] }}
8484
run: |
8585
chown -R $CI_UID:$CI_GID ${{ github.workspace }}
8686
8787
# Run the build script inside the container with proper mounts
8888
docker run --rm \
8989
-v ${{ github.workspace }}:/workspace \
9090
-e CUDA_VERSION="${{ matrix.cuda }}" \
91-
-e CUDA_MAJOR="${{ matrix.cuda.split('.')[0] }}" \
92-
-e CUDA_MINOR="${{ matrix.cuda.split('.')[1] }}" \
91+
-e CUDA_MAJOR="${{ (split(matrix.cuda, '.'))[0] }}" \
92+
-e CUDA_MINOR="${{ (split(matrix.cuda, '.'))[1] }}" \
9393
-e ARCH="${{ matrix.arch }}" \
9494
-e FLASHINFER_CUDA_ARCH_LIST="${FLASHINFER_CUDA_ARCH_LIST}" \
9595
--user $CI_UID:$CI_GID \

0 commit comments

Comments
 (0)