This repository was archived by the owner on Jun 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 5252 echo "VERSION=$version" >> $GITHUB_ENV
5353 echo "version=$version" >> $GITHUB_OUTPUT
5454 id: get_version
55+
56+ - name : Set torch and cuda version value
57+ id : set_torch_and_cuda_version
58+ run : |
59+ IFS='.' read -r major minor <<< "${{ matrix.torch }}"
60+ version_value=$((major * 100 + minor))
61+ echo "TORCH_VERSION=$version_value" >> $GITHUB_OUTPUT
62+ IFS='.' read -r major minor <<< "${{ matrix.cuda }}"
63+ version_value=$((major * 100 + minor))
64+ echo "CUDA_VERSION=$version_value" >> $GITHUB_OUTPUT
65+
5566 - name : Build wheel
67+ env :
68+ TORCH_VERSION : ${{ steps.set_torch_and_cuda_version.outputs.TORCH_VERSION }}
69+ CUDA_VERSION : ${{ steps.set_torch_and_cuda_version.outputs.CUDA_VERSION }}
70+ BUILDER_IMAGE : ${{ ((steps.set_torch_and_cuda_version.outputs.TORCH_VERSION == 206 && steps.set_torch_and_cuda_version.outputs.CUDA_VERSION >= 1206) || steps.set_torch_and_cuda_version.outputs.TORCH_VERSION > 206) && 'pytorch/manylinux2_28-builder:cuda' || 'pytorch/manylinux-builder:cuda' }}${{ matrix.cuda }}
5671 run : |
5772 pushd flashinfer
5873 docker run --rm -t \
6580 -e TORCH_CUDA_ARCH_LIST="$TORCH_CUDA_ARCH_LIST" \
6681 -e MAX_JOBS=192 \
6782 --user $(id -u):$(id -g) \
68- pytorch/manylinux-builder:cuda${{ matrix.cuda }} \
83+ $BUILDER_IMAGE \
6984 bash /app/scripts/run-ci-build-wheel.sh
7085 popd
7186 timeout-minutes : 30
You can’t perform that action at this time.
0 commit comments