support version in sgl-kernel (#3439)
This commit is contained in:
2
.github/workflows/release-pypi-kernel.yml
vendored
2
.github/workflows/release-pypi-kernel.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- sgl-kernel/version.py
|
||||
- sgl-kernel/src/sgl-kernel/version.py
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
|
||||
2
.github/workflows/release-whl-kernel.yml
vendored
2
.github/workflows/release-whl-kernel.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- sgl-kernel/version.py
|
||||
- sgl-kernel/src/sgl-kernel/version.py
|
||||
|
||||
jobs:
|
||||
build-wheels:
|
||||
|
||||
@@ -19,6 +19,7 @@ def is_cuda_v2():
|
||||
# List of packages to check versions
|
||||
PACKAGE_LIST = [
|
||||
"sglang",
|
||||
"sgl_kernel",
|
||||
"flashinfer",
|
||||
"triton",
|
||||
"transformers",
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user