chore: bump v0.1.25 (#725)
This commit is contained in:
28
.github/workflows/pypi.yml
vendored
Normal file
28
.github/workflows/pypi.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: publish to pypi
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "python/sglang/version.py"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
environment: 'prod'
|
||||||
|
steps:
|
||||||
|
- name: Set up python3.8
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.8'
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Upload to pypi
|
||||||
|
run: |
|
||||||
|
cd python
|
||||||
|
cp ../README.md ../LICENSE .
|
||||||
|
pip install build
|
||||||
|
python3 -m build
|
||||||
|
pip install twine
|
||||||
|
python3 -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
|
||||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "sglang"
|
name = "sglang"
|
||||||
version = "0.1.24"
|
version = "0.1.25"
|
||||||
description = "SGLang is yet another fast serving framework for large language models and vision language models."
|
description = "SGLang is yet another fast serving framework for large language models and vision language models."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
__version__ = "0.1.24"
|
|
||||||
|
|
||||||
# SGL API Components
|
# SGL API Components
|
||||||
from sglang.api import (
|
from sglang.api import (
|
||||||
Runtime,
|
Runtime,
|
||||||
@@ -32,6 +30,8 @@ from sglang.lang.backend.openai import OpenAI
|
|||||||
from sglang.lang.backend.runtime_endpoint import RuntimeEndpoint
|
from sglang.lang.backend.runtime_endpoint import RuntimeEndpoint
|
||||||
from sglang.lang.backend.vertexai import VertexAI
|
from sglang.lang.backend.vertexai import VertexAI
|
||||||
|
|
||||||
|
from .version import __version__
|
||||||
|
|
||||||
# public APIs management
|
# public APIs management
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"global_config",
|
"global_config",
|
||||||
|
|||||||
1
python/sglang/version.py
Normal file
1
python/sglang/version.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
__version__ = "0.1.25"
|
||||||
Reference in New Issue
Block a user