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
83b104ee
Unverified
Commit
83b104ee
authored
Nov 05, 2025
by
Chang Su
Committed by
GitHub
Nov 05, 2025
Browse files
[misc] Add labeler for automatic labeling (#12710)
parent
14127804
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
136 additions
and
0 deletions
+136
-0
.github/labeler.yml
.github/labeler.yml
+101
-0
.github/workflows/labeler.yml
.github/workflows/labeler.yml
+19
-0
.github/workflows/lint.yml
.github/workflows/lint.yml
+16
-0
No files found.
.github/labeler.yml
0 → 100644
View file @
83b104ee
# Configuration for the GitHub Labeler action
# Automatically adds labels to PRs based on the files changed
# Router specific (Rust code in sgl-router)
router
:
-
changed-files
:
-
any-glob-to-any-file
:
'
sgl-router/**/*'
# Router benchmarks
router-benchmark
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
sgl-router/benches/**/*'
-
'
sgl-router/scripts/run_benchmarks.py'
-
'
sgl-router/**/*bench*.rs'
# Kernel specific
sgl-kernel
:
-
changed-files
:
-
any-glob-to-any-file
:
'
sgl-kernel/**/*'
# Documentation
documentation
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/*.md'
-
'
docs/**/*'
-
'
README*'
# Dependencies
dependencies
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/requirements*.txt'
-
'
**/Cargo.toml'
-
'
**/Cargo.lock'
-
'
**/pyproject.toml'
-
'
**/setup.py'
-
'
**/poetry.lock'
-
'
**/package.json'
-
'
**/package-lock.json'
# Multi-modal
Multi-modal
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/vision/**/*'
-
'
**/multimodal/**/*'
-
'
**/vlm/**/*'
# LoRA
lora
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/lora/**/*'
-
'
**/*lora*'
# Quantization
quant
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/quant/**/*'
-
'
**/*quant*'
-
'
**/awq/**/*'
-
'
**/gptq/**/*'
# Performance related
performance
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/benchmark/**/*'
-
'
**/benches/**/*'
-
'
**/perf/**/*'
-
'
**/*benchmark*'
# Speculative decoding
speculative-decoding
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/speculative/**/*'
-
'
**/*speculative*'
# AMD specific
amd
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/*amd*'
-
'
**/*rocm*'
# DeepSeek specific
deepseek
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/*deepseek*'
# HiCache
hicache
:
-
changed-files
:
-
any-glob-to-any-file
:
-
'
**/hicache/**/*'
-
'
**/*hicache*'
.github/workflows/labeler.yml
0 → 100644
View file @
83b104ee
name
:
Auto Label PRs
on
:
pull_request
:
types
:
[
opened
,
synchronize
,
reopened
]
permissions
:
contents
:
read
pull-requests
:
write
jobs
:
label
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/labeler@v5
with
:
repo-token
:
"
${{
secrets.GITHUB_TOKEN
}}"
configuration-path
:
.github/labeler.yml
sync-labels
:
true
.github/workflows/lint.yml
View file @
83b104ee
...
@@ -32,3 +32,19 @@ jobs:
...
@@ -32,3 +32,19 @@ jobs:
extensions
:
h,c,cpp,hpp,cu,cuh,cc
extensions
:
h,c,cpp,hpp,cu,cuh,cc
clangFormatVersion
:
18
clangFormatVersion
:
18
style
:
file
style
:
file
-
name
:
Check proto files are in sync
run
:
|
if ! diff -q python/sglang/srt/grpc/sglang_scheduler.proto sgl-router/src/proto/sglang_scheduler.proto; then
echo "❌ ERROR: Proto files are out of sync!"
echo ""
echo "The following files must be kept identical:"
echo " - python/sglang/srt/grpc/sglang_scheduler.proto"
echo " - sgl-router/src/proto/sglang_scheduler.proto"
echo ""
echo "Please ensure both files have the same content."
echo ""
echo "Differences:"
diff python/sglang/srt/grpc/sglang_scheduler.proto sgl-router/src/proto/sglang_scheduler.proto || true
exit 1
fi
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