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
535c8386
"docs/basic_usage/native_api.ipynb" did not exist on "908dd7f9aae52a9c961c836d99e46ba6681fee42"
Unverified
Commit
535c8386
authored
May 29, 2025
by
JieXin Liang
Committed by
GitHub
May 28, 2025
Browse files
[fix] more mem for draft_extend cuda_graph (#6726)
parent
2163586e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+3
-0
No files found.
python/sglang/srt/server_args.py
View file @
535c8386
...
...
@@ -271,6 +271,9 @@ class ServerArgs:
mem_fraction
+
48
*
1024
*
(
1
-
mem_fraction
)
/
gpu_mem
,
(
gpu_mem
-
reserve_mem
)
/
gpu_mem
,
)
else
:
if
self
.
speculative_algorithm
is
not
None
:
self
.
mem_fraction_static
*=
0.95
# Set chunked prefill size, which depends on the gpu memory capacity
if
self
.
chunked_prefill_size
is
None
:
...
...
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