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
change
sglang
Commits
723f0421
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "0cb78a2fc2a5463ce8e84b56388f28e02e1c1d06"
Commit
723f0421
authored
Jan 21, 2024
by
Lianmin Zheng
Browse files
release v0.1.7 & fix bugs
parent
585eabab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
python/pyproject.toml
python/pyproject.toml
+1
-1
python/sglang/__init__.py
python/sglang/__init__.py
+1
-1
python/sglang/lang/interpreter.py
python/sglang/lang/interpreter.py
+1
-1
No files found.
python/pyproject.toml
View file @
723f0421
...
@@ -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.
6
"
version
=
"0.1.
7
"
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 @
723f0421
__version__
=
"0.1.
6
"
__version__
=
"0.1.
7
"
from
sglang.api
import
*
from
sglang.api
import
*
from
sglang.global_config
import
global_config
from
sglang.global_config
import
global_config
python/sglang/lang/interpreter.py
View file @
723f0421
...
@@ -80,7 +80,7 @@ def run_program_batch(
...
@@ -80,7 +80,7 @@ def run_program_batch(
# Run all programs
# Run all programs
if
num_threads
==
"auto"
:
if
num_threads
==
"auto"
:
num_threads
=
m
in
(
64
,
multiprocessing
.
cpu_count
()
*
8
)
num_threads
=
m
ax
(
64
,
multiprocessing
.
cpu_count
()
*
8
)
num_threads
=
min
(
num_threads
,
len
(
batch_arguments
))
num_threads
=
min
(
num_threads
,
len
(
batch_arguments
))
if
num_threads
==
1
:
if
num_threads
==
1
:
...
...
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