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
6aed0445
"src/vscode:/vscode.git/clone" did not exist on "29b2c93c9005c87f8f04b1f0835babbcea736204"
Unverified
Commit
6aed0445
authored
Nov 03, 2024
by
Chayenne
Committed by
GitHub
Nov 03, 2024
Browse files
turn off log (#1895)
parent
908dd7f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
python/sglang/srt/server.py
python/sglang/srt/server.py
+6
-0
No files found.
python/sglang/srt/server.py
View file @
6aed0445
...
...
@@ -737,6 +737,12 @@ class Engine:
# before python program terminates, call shutdown implicitly. Therefore, users don't have to explicitly call .shutdown()
atexit
.
register
(
self
.
shutdown
)
# runtime server default log level is log
# offline engine works in scripts, so we set it to error
if
'log_level'
not
in
kwargs
:
kwargs
[
'log_level'
]
=
'error'
server_args
=
ServerArgs
(
*
args
,
**
kwargs
)
launch_engine
(
server_args
=
server_args
)
...
...
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