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
b2eb0805
Unverified
Commit
b2eb0805
authored
Mar 11, 2024
by
Qubitium
Committed by
GitHub
Mar 11, 2024
Browse files
Fix Runtime missing some ServerArgs options (#281)
parent
4aa5dd2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
python/sglang/srt/server.py
python/sglang/srt/server.py
+8
-0
No files found.
python/sglang/srt/server.py
View file @
b2eb0805
...
...
@@ -587,6 +587,10 @@ class Runtime:
attention_reduce_in_fp32
:
bool
=
False
,
random_seed
:
int
=
42
,
log_level
:
str
=
"error"
,
disable_radix_cache
:
bool
=
False
,
enable_flashinfer
:
bool
=
False
,
disable_regex_jump_forward
:
bool
=
False
,
disable_disk_cache
:
bool
=
False
,
api_key
:
str
=
""
,
port
:
Optional
[
int
]
=
None
,
additional_ports
:
Optional
[
Union
[
List
[
int
],
int
]]
=
None
,
...
...
@@ -610,6 +614,10 @@ class Runtime:
attention_reduce_in_fp32
=
attention_reduce_in_fp32
,
random_seed
=
random_seed
,
log_level
=
log_level
,
disable_radix_cache
=
disable_radix_cache
,
enable_flashinfer
=
enable_flashinfer
,
disable_regex_jump_forward
=
disable_regex_jump_forward
,
disable_disk_cache
=
disable_disk_cache
,
api_key
=
api_key
,
)
...
...
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