support version in sgl-kernel (#3439)

This commit is contained in:
Yineng Zhang
2025-02-10 03:49:52 +08:00
committed by GitHub
parent 20cf910d8f
commit 4cfd3add6d
6 changed files with 6 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- sgl-kernel/version.py
- sgl-kernel/src/sgl-kernel/version.py
workflow_dispatch:
concurrency:

View File

@@ -9,7 +9,7 @@ on:
branches:
- main
paths:
- sgl-kernel/version.py
- sgl-kernel/src/sgl-kernel/version.py
jobs:
build-wheels:

View File

@@ -19,6 +19,7 @@ def is_cuda_v2():
# List of packages to check versions
PACKAGE_LIST = [
"sglang",
"sgl_kernel",
"flashinfer",
"triton",
"transformers",

View File

@@ -52,4 +52,4 @@ The `sgl-kernel` is rapidly evolving. If you experience a compilation failure, t
### Release new version
Update version in [pyproject.toml](https://github.com/sgl-project/sglang/blob/main/sgl-kernel/pyproject.toml) and [version.py](https://github.com/sgl-project/sglang/blob/main/sgl-kernel/version.py)
Update version in [pyproject.toml](https://github.com/sgl-project/sglang/blob/main/sgl-kernel/pyproject.toml) and [version.py](https://github.com/sgl-project/sglang/blob/main/sgl-kernel/src/sgl-kernel/version.py)

View File

@@ -36,6 +36,8 @@ from sgl_kernel.ops import (
tree_speculative_sampling_target_only,
)
from .version import __version__
__all__ = [
"apply_rope_with_cos_sin_cache_inplace",
"bmm_fp8",