Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zhaoyu6
sglang
Commits
51104cd4
"vscode:/vscode.git/clone" did not exist on "1f6739337b4625f0dfb50d3fc7e04c9485e96953"
Unverified
Commit
51104cd4
authored
Mar 22, 2024
by
Lianmin Zheng
Committed by
GitHub
Mar 22, 2024
Browse files
Update version to v0.1.14 (#324)
parent
e2b2f0a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/quick_start/anthropic_example_complete.py
examples/quick_start/anthropic_example_complete.py
+1
-1
python/pyproject.toml
python/pyproject.toml
+1
-1
python/sglang/__init__.py
python/sglang/__init__.py
+1
-1
No files found.
examples/quick_start/anthropic_example_complete.py
View file @
51104cd4
...
@@ -19,7 +19,7 @@ def few_shot_qa(s, question):
...
@@ -19,7 +19,7 @@ def few_shot_qa(s, question):
\n\n
Assistant: Rome
\n\n
Assistant: Rome
"""
)
"""
)
s
+=
"
\n\n
Human: "
+
question
+
"
\n
"
s
+=
"
\n\n
Human: "
+
question
+
"
\n
"
s
+=
"
\n\n
Assistant:"
+
sgl
.
gen
(
"answer"
,
stop
=
"
\\
n"
,
temperature
=
0
)
s
+=
"
\n\n
Assistant:"
+
sgl
.
gen
(
"answer"
,
temperature
=
0
)
def
single
():
def
single
():
...
...
python/pyproject.toml
View file @
51104cd4
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
[project]
name
=
"sglang"
name
=
"sglang"
version
=
"0.1.1
3
"
version
=
"0.1.1
4
"
description
=
"A structured generation langauge for LLMs."
description
=
"A structured generation langauge for LLMs."
readme
=
"README.md"
readme
=
"README.md"
requires-python
=
">=3.8"
requires-python
=
">=3.8"
...
...
python/sglang/__init__.py
View file @
51104cd4
__version__
=
"0.1.1
3
"
__version__
=
"0.1.1
4
"
from
sglang.api
import
*
from
sglang.api
import
*
from
sglang.global_config
import
global_config
from
sglang.global_config
import
global_config
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment