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:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- sgl-kernel/version.py
|
- sgl-kernel/src/sgl-kernel/version.py
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|||||||
2
.github/workflows/release-whl-kernel.yml
vendored
2
.github/workflows/release-whl-kernel.yml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- sgl-kernel/version.py
|
- sgl-kernel/src/sgl-kernel/version.py
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-wheels:
|
build-wheels:
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ def is_cuda_v2():
|
|||||||
# List of packages to check versions
|
# List of packages to check versions
|
||||||
PACKAGE_LIST = [
|
PACKAGE_LIST = [
|
||||||
"sglang",
|
"sglang",
|
||||||
|
"sgl_kernel",
|
||||||
"flashinfer",
|
"flashinfer",
|
||||||
"triton",
|
"triton",
|
||||||
"transformers",
|
"transformers",
|
||||||
|
|||||||
@@ -52,4 +52,4 @@ The `sgl-kernel` is rapidly evolving. If you experience a compilation failure, t
|
|||||||
|
|
||||||
### Release new version
|
### 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,
|
tree_speculative_sampling_target_only,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .version import __version__
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"apply_rope_with_cos_sin_cache_inplace",
|
"apply_rope_with_cos_sin_cache_inplace",
|
||||||
"bmm_fp8",
|
"bmm_fp8",
|
||||||
|
|||||||
Reference in New Issue
Block a user