feat: use sgl-kernel cu129 as default (#10188)

This commit is contained in:
Yineng Zhang
2025-09-08 22:01:17 -07:00
committed by GitHub
parent 16ff3d4b05
commit cdc56ef6c1
4 changed files with 19 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Build wheel for Python ${{ matrix.python-version }} and CUDA ${{ matrix.cuda-version }}
if: github.event_name != 'push' || (matrix.cuda-version != '11.8' && matrix.cuda-version != '12.9')
if: github.event_name != 'push' || (matrix.cuda-version != '12.4' && matrix.cuda-version != '12.8')
run: |
cd sgl-kernel
chmod +x ./build.sh
@@ -82,7 +82,7 @@ jobs:
with:
path: sgl-kernel/dist/
merge-multiple: true
pattern: wheel-python3.10-cuda12.4
pattern: wheel-python3.10-cuda12.9
- name: Install
run: |
@@ -114,7 +114,7 @@ jobs:
with:
path: sgl-kernel/dist/
merge-multiple: true
pattern: wheel-python3.10-cuda12.4
pattern: wheel-python3.10-cuda12.9
- name: Install
run: |

View File

@@ -17,13 +17,13 @@ concurrency:
cancel-in-progress: true
jobs:
build-cu124:
build-cu129:
if: github.repository == 'sgl-project/sglang'
runs-on: sgl-kernel-release-node
strategy:
matrix:
python-version: ["3.10"]
cuda-version: ["12.4"]
cuda-version: ["12.9"]
steps:
- uses: actions/checkout@v4
with:
@@ -46,14 +46,14 @@ jobs:
pip install twine
python3 -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
build-cu129:
build-cu124:
if: github.repository == 'sgl-project/sglang'
needs: build-cu124
needs: build-cu129
runs-on: sgl-kernel-release-node
strategy:
matrix:
python-version: ["3.10"]
cuda-version: ["12.9"]
cuda-version: ["12.4"]
steps:
- uses: actions/checkout@v4
with:
@@ -76,8 +76,8 @@ jobs:
name: wheel-python${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}
path: sgl-kernel/dist/*
release-cu129:
needs: build-cu129
release-cu124:
needs: build-cu124
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -114,7 +114,7 @@ jobs:
WHL_TOKEN: ${{ secrets.WHL_TOKEN }}
- name: Update wheel index
run: python3 scripts/update_kernel_whl_index.py --cuda 129
run: python3 scripts/update_kernel_whl_index.py --cuda 124
- name: Push wheel index
run: |