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
f0580551
Unverified
Commit
f0580551
authored
Sep 22, 2025
by
Yang Yu
Committed by
GitHub
Sep 22, 2025
Browse files
Convert FLASHINFER_WORKSPACE_SIZE to integer (#10731)
parent
635ccda6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/global_config.py
python/sglang/global_config.py
+2
-2
No files found.
python/sglang/global_config.py
View file @
f0580551
...
@@ -37,8 +37,8 @@ class GlobalConfig:
...
@@ -37,8 +37,8 @@ class GlobalConfig:
)
)
# Runtime constants: others
# Runtime constants: others
self
.
retract_decode_steps
=
20
self
.
retract_decode_steps
=
20
self
.
flashinfer_workspace_size
=
os
.
environ
.
ge
t
(
self
.
flashinfer_workspace_size
=
in
t
(
"FLASHINFER_WORKSPACE_SIZE"
,
384
*
1024
*
1024
os
.
environ
.
get
(
"FLASHINFER_WORKSPACE_SIZE"
,
384
*
1024
*
1024
)
)
)
# Output tokenization configs
# Output tokenization configs
...
...
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