Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump v0.1.25 #725

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
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."
readme = "README.md"
requires-python = ">=3.8"
Expand Down
4 changes: 2 additions & 2 deletions python/sglang/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
__version__ = "0.1.24"

# SGL API Components
from sglang.api import (
Runtime,
Expand Down Expand Up @@ -32,6 +30,8 @@
from sglang.lang.backend.runtime_endpoint import RuntimeEndpoint
from sglang.lang.backend.vertexai import VertexAI

from .version import __version__

# public APIs management
__all__ = [
"global_config",
Expand Down
1 change: 1 addition & 0 deletions python/sglang/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.1.25"
Loading