Skip to content

Commit

Permalink
Update version to 0.1.17 (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Jun 8, 2024
1 parent 91f93f1 commit e8a2327
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
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.16"
version = "0.1.17"
description = "A structured generation langauge for LLMs."
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion python/sglang/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.16"
__version__ = "0.1.17"

# SGL API Components
from sglang.api import (
Expand Down
4 changes: 2 additions & 2 deletions python/sglang/global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def __init__(self):
self.concate_and_append_mode = "no_adjust"

# Request dependency time due to network delay
self.request_dependency_delay = 0.03
self.wait_for_new_request_delay = 0.0006
self.request_dependency_delay = 0.02
self.wait_for_new_request_delay = 0.0004

# New generation token ratio estimation
self.base_new_token_ratio = 0.4
Expand Down
1 change: 1 addition & 0 deletions python/sglang/srt/managers/controller/infer_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ForwardMode(IntEnum):
EXTEND = auto()
DECODE = auto()


class BaseFinishReason:
def __init__(self, is_error: bool = False):
self.is_error = is_error
Expand Down

0 comments on commit e8a2327

Please sign in to comment.