File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 14
14
jobs :
15
15
build-wheels :
16
16
if : github.repository == 'sgl-project/sglang'
17
- runs-on : ubuntu-latest
17
+ runs-on : sgl-kernel-build-node
18
18
strategy :
19
19
matrix :
20
20
python-version : ['3.9']
Original file line number Diff line number Diff line change 4
4
PYTHON_VERSION=$1
5
5
CUDA_VERSION=$2
6
6
PYTHON_ROOT_PATH=/opt/python/cp${PYTHON_VERSION// .} -cp${PYTHON_VERSION// .}
7
- ENABLE_SM90A=$(( ${CUDA_VERSION% .* } >= 12 ? ON : OFF ))
8
7
9
8
if [ ${CUDA_VERSION} = " 12.8" ]; then
10
9
DOCKER_IMAGE=" pytorch/manylinux2_28-builder:cuda${CUDA_VERSION} "
Original file line number Diff line number Diff line change @@ -5,13 +5,17 @@ WHEEL_DIR="dist"
5
5
6
6
wheel_files=($WHEEL_DIR /* .whl)
7
7
for wheel in " ${wheel_files[@]} " ; do
8
- new_wheel=" ${wheel/ linux/ manylinux2014} "
8
+ intermediate_wheel=" ${wheel/ linux/ manylinux2014} "
9
+
10
+ if ls /usr/local/ | grep -q " 12.8" ; then
11
+ new_wheel=" ${intermediate_wheel/ -cp39/ +cu128-cp39} "
12
+ else
13
+ new_wheel=" $intermediate_wheel "
14
+ fi
9
15
10
16
if [[ " $wheel " != " $new_wheel " ]]; then
11
17
echo " Renaming $wheel to $new_wheel "
12
18
mv -- " $wheel " " $new_wheel "
13
-
14
19
fi
15
20
done
16
-
17
21
echo " Wheel renaming completed."
You can’t perform that action at this time.
0 commit comments