"vscode:/vscode.git/clone" did not exist on "6385308ff049b231b5c544993de38585af8c01d0"
Unverified Commit 4cfd3add authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

support version in sgl-kernel (#3439)

parent 20cf910d
...@@ -5,7 +5,7 @@ on: ...@@ -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:
......
...@@ -9,7 +9,7 @@ on: ...@@ -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(): ...@@ -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 ...@@ -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 ( ...@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment