Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
de8b8b6e
Unverified
Commit
de8b8b6e
authored
Aug 09, 2025
by
ishandhanani
Committed by
GitHub
Aug 09, 2025
Browse files
chore(deps): update minimum python to 3.10 (#8984)
parent
3f2e315f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
104 additions
and
122 deletions
+104
-122
.github/workflows/lint.yml
.github/workflows/lint.yml
+2
-2
.github/workflows/pr-test-sgl-kernel.yml
.github/workflows/pr-test-sgl-kernel.yml
+2
-2
.github/workflows/release-docs.yml
.github/workflows/release-docs.yml
+3
-3
.github/workflows/release-pypi.yml
.github/workflows/release-pypi.yml
+2
-2
.github/workflows/release-whl-kernel-aarch64.yml
.github/workflows/release-whl-kernel-aarch64.yml
+0
-96
.github/workflows/release-whl-kernel-cu118.yml
.github/workflows/release-whl-kernel-cu118.yml
+3
-3
.github/workflows/release-whl-kernel.yml
.github/workflows/release-whl-kernel.yml
+87
-9
python/pyproject.toml
python/pyproject.toml
+1
-1
sgl-kernel/pyproject.toml
sgl-kernel/pyproject.toml
+2
-2
sgl-kernel/pyproject_cpu.toml
sgl-kernel/pyproject_cpu.toml
+1
-1
sgl-kernel/pyproject_rocm.toml
sgl-kernel/pyproject_rocm.toml
+1
-1
No files found.
.github/workflows/lint.yml
View file @
de8b8b6e
name
:
Lint
on
:
[
pull_request
]
on
:
[
pull_request
]
jobs
:
lint
:
...
...
@@ -11,7 +11,7 @@ jobs:
-
name
:
Set up Python
uses
:
actions/setup-python@v4
with
:
python-version
:
'
3.
9'
python-version
:
"
3.
10"
-
name
:
Install pre-commit hook
run
:
|
...
...
.github/workflows/pr-test-sgl-kernel.yml
View file @
de8b8b6e
...
...
@@ -80,7 +80,7 @@ jobs:
with
:
path
:
sgl-kernel/dist/
merge-multiple
:
true
pattern
:
wheel-python3.
9
-cuda12.4
pattern
:
wheel-python3.
10
-cuda12.4
-
name
:
Install
run
:
|
...
...
@@ -112,7 +112,7 @@ jobs:
with
:
path
:
sgl-kernel/dist/
merge-multiple
:
true
pattern
:
wheel-python3.
9
-cuda12.4
pattern
:
wheel-python3.
10
-cuda12.4
-
name
:
Install
run
:
|
...
...
.github/workflows/release-docs.yml
View file @
de8b8b6e
...
...
@@ -5,8 +5,8 @@ on:
branches
:
-
main
paths
:
-
'
docs/**
'
-
'
python/sglang/version.py
'
-
"
docs/**
"
-
"
python/sglang/version.py
"
-
"
python/sglang/**"
workflow_dispatch
:
...
...
@@ -24,7 +24,7 @@ jobs:
-
name
:
Install dependencies
run
:
|
find /public_sglang_ci/runner-a-gpu-1/_work/_tool/Python/3.
9.21
/x64/lib/python3.
9
/site-packages -name "sgl-kernel*" -exec rm -rf {} + || true
find /public_sglang_ci/runner-a-gpu-1/_work/_tool/Python/3.
10.13
/x64/lib/python3.
10
/site-packages -name "sgl-kernel*" -exec rm -rf {} + || true
bash scripts/ci_install_dependency.sh
pip install -r docs/requirements.txt
apt-get update
...
...
.github/workflows/release-pypi.yml
View file @
de8b8b6e
...
...
@@ -11,12 +11,12 @@ jobs:
publish
:
if
:
github.repository == 'sgl-project/sglang'
runs-on
:
ubuntu-latest
environment
:
'
prod
'
environment
:
"
prod
"
steps
:
-
name
:
Set up Python
uses
:
actions/setup-python@v4
with
:
python-version
:
'
3.
9'
python-version
:
"
3.
10"
-
name
:
Checkout repository
uses
:
actions/checkout@v4
...
...
.github/workflows/release-whl-kernel-aarch64.yml
deleted
100644 → 0
View file @
3f2e315f
name
:
Release SGLang Kernels (aarch64)
on
:
push
:
branches
:
-
main
paths
:
-
sgl-kernel/python/sgl_kernel/version.py
workflow_dispatch
:
inputs
:
tag_name
:
type
:
string
required
:
false
concurrency
:
group
:
release-sglang-kernels-aarch64-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
build-cu129-aarch64
:
if
:
github.repository == 'sgl-project/sglang'
runs-on
:
sgl-kernel-release-node-arm
strategy
:
matrix
:
python-version
:
[
"
3.10"
]
cuda-version
:
[
"
12.9"
]
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
"
recursive"
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Build wheels
run
:
|
cd sgl-kernel
chmod +x ./build.sh
./build.sh "${{ matrix.python-version }}" "${{ matrix.cuda-version }}" aarch64
-
name
:
Upload artifacts
uses
:
actions/upload-artifact@v4
with
:
name
:
wheel-python${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}-aarch64
path
:
sgl-kernel/dist/*
release
:
needs
:
build-cu129-aarch64
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Download artifacts
uses
:
actions/download-artifact@v4
with
:
path
:
sgl-kernel/dist/
merge-multiple
:
true
pattern
:
wheel-*
-
name
:
Set tag name
id
:
set_tag_name
run
:
|
if [ -z "${{ inputs.tag_name }}" ]; then
TAG_NAME="v$(cat sgl-kernel/python/sgl_kernel/version.py | cut -d'"' -f2)"
echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
else
echo "tag_name=${{ inputs.tag_name }}" >> $GITHUB_OUTPUT
fi
-
name
:
Release
uses
:
softprops/action-gh-release@v2
with
:
tag_name
:
${{ steps.set_tag_name.outputs.tag_name }}
repository
:
sgl-project/whl
token
:
${{ secrets.WHL_TOKEN }}
files
:
|
sgl-kernel/dist/*
-
name
:
Clone wheel index
run
:
git clone https://oauth2:${WHL_TOKEN}@github.com/sgl-project/whl.git sgl-whl
env
:
WHL_TOKEN
:
${{ secrets.WHL_TOKEN }}
-
name
:
Update wheel index
run
:
python3 scripts/update_kernel_whl_index.py --cuda
129
-
name
:
Push wheel index
run
:
|
cd sgl-whl
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "update whl index"
git push
.github/workflows/release-whl-kernel-cu118.yml
View file @
de8b8b6e
...
...
@@ -17,13 +17,13 @@ jobs:
runs-on
:
sgl-kernel-release-node
strategy
:
matrix
:
python-version
:
[
'
3.9
'
]
cuda-version
:
[
'
11.8
'
]
python-version
:
[
"
3.9
"
]
cuda-version
:
[
"
11.8
"
]
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
'
recursive
'
submodules
:
"
recursive
"
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
...
...
.github/workflows/release-whl-kernel.yml
View file @
de8b8b6e
...
...
@@ -22,12 +22,12 @@ jobs:
runs-on
:
sgl-kernel-release-node
strategy
:
matrix
:
python-version
:
[
'
3.
9'
]
cuda-version
:
[
'
12.4
'
]
python-version
:
[
"
3.
10"
]
cuda-version
:
[
"
12.4
"
]
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
'
recursive
'
submodules
:
"
recursive
"
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
...
...
@@ -52,12 +52,12 @@ jobs:
runs-on
:
sgl-kernel-release-node
strategy
:
matrix
:
python-version
:
[
'
3.
9'
]
cuda-version
:
[
'
12.9
'
]
python-version
:
[
"
3.
10"
]
cuda-version
:
[
"
12.9
"
]
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
'
recursive
'
submodules
:
"
recursive
"
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
...
...
@@ -131,12 +131,12 @@ jobs:
runs-on
:
sgl-kernel-release-node
strategy
:
matrix
:
python-version
:
[
'
3.
9'
]
cuda-version
:
[
'
12.8
'
]
python-version
:
[
"
3.
10"
]
cuda-version
:
[
"
12.8
"
]
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
'
recursive
'
submodules
:
"
recursive
"
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
...
...
@@ -203,3 +203,81 @@ jobs:
git add -A
git commit -m "update whl index"
git push
build-cu129-aarch64
:
if
:
github.repository == 'sgl-project/sglang'
runs-on
:
sgl-kernel-release-node-arm
strategy
:
matrix
:
python-version
:
[
"
3.10"
]
cuda-version
:
[
"
12.9"
]
steps
:
-
uses
:
actions/checkout@v4
with
:
submodules
:
"
recursive"
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Build wheels
run
:
|
cd sgl-kernel
chmod +x ./build.sh
./build.sh "${{ matrix.python-version }}" "${{ matrix.cuda-version }}" aarch64
-
name
:
Upload artifacts
uses
:
actions/upload-artifact@v4
with
:
name
:
wheel-python${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}-aarch64
path
:
sgl-kernel/dist/*
release-cu129-aarch64
:
needs
:
build-cu129-aarch64
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Download artifacts
uses
:
actions/download-artifact@v4
with
:
path
:
sgl-kernel/dist/
merge-multiple
:
true
pattern
:
wheel-*
-
name
:
Set tag name
id
:
set_tag_name
run
:
|
if [ -z "${{ inputs.tag_name }}" ]; then
TAG_NAME="v$(cat sgl-kernel/python/sgl_kernel/version.py | cut -d'"' -f2)"
echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
else
echo "tag_name=${{ inputs.tag_name }}" >> $GITHUB_OUTPUT
fi
-
name
:
Release
uses
:
softprops/action-gh-release@v2
with
:
tag_name
:
${{ steps.set_tag_name.outputs.tag_name }}
repository
:
sgl-project/whl
token
:
${{ secrets.WHL_TOKEN }}
files
:
|
sgl-kernel/dist/*
-
name
:
Clone wheel index
run
:
git clone https://oauth2:${WHL_TOKEN}@github.com/sgl-project/whl.git sgl-whl
env
:
WHL_TOKEN
:
${{ secrets.WHL_TOKEN }}
-
name
:
Update wheel index
run
:
python3 scripts/update_kernel_whl_index.py --cuda
129
-
name
:
Push wheel index
run
:
|
cd sgl-whl
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "update whl index"
git push
python/pyproject.toml
View file @
de8b8b6e
...
...
@@ -7,7 +7,7 @@ name = "sglang"
version
=
"0.5.0rc0"
description
=
"SGLang is yet another fast serving framework for large language models and vision language models."
readme
=
"README.md"
requires-python
=
">=3.
9
"
requires-python
=
">=3.
10
"
license
=
{
file
=
"LICENSE"
}
classifiers
=
[
"Programming Language :: Python :: 3"
,
...
...
sgl-kernel/pyproject.toml
View file @
de8b8b6e
...
...
@@ -11,7 +11,7 @@ name = "sgl-kernel"
version
=
"0.3.3"
description
=
"Kernel Library for SGLang"
readme
=
"README.md"
requires-python
=
">=3.
9
"
requires-python
=
">=3.
10
"
license
=
{
file
=
"LICENSE"
}
classifiers
=
[
"Programming Language :: Python :: 3"
,
...
...
@@ -34,6 +34,6 @@ exclude = [
cmake.build-type
=
"Release"
minimum-version
=
"build-system.requires"
wheel.py-api
=
"cp3
9
"
wheel.py-api
=
"cp3
10
"
wheel.license-files
=
[]
wheel.packages
=
["python/sgl_kernel"]
sgl-kernel/pyproject_cpu.toml
View file @
de8b8b6e
...
...
@@ -11,7 +11,7 @@ name = "sgl-kernel"
version
=
"0.3.3"
description
=
"Kernel Library for SGLang"
readme
=
"README.md"
requires-python
=
">=3.
9
"
requires-python
=
">=3.
10
"
license
=
{
file
=
"LICENSE"
}
classifiers
=
[
"Programming Language :: Python :: 3"
,
...
...
sgl-kernel/pyproject_rocm.toml
View file @
de8b8b6e
...
...
@@ -12,7 +12,7 @@ name = "sgl-kernel"
version
=
"0.3.3"
description
=
"Kernel Library for SGLang"
readme
=
"README.md"
requires-python
=
">=3.
9
"
requires-python
=
">=3.
10
"
license
=
{
file
=
"LICENSE"
}
classifiers
=
[
"Programming Language :: Python :: 3"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment