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
c68de479
Unverified
Commit
c68de479
authored
May 07, 2025
by
fzyzcjy
Committed by
GitHub
May 07, 2025
Browse files
Super tiny fix doc (#5233)
parent
4c7b4242
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/entrypoints/engine.py
python/sglang/srt/entrypoints/engine.py
+2
-2
No files found.
python/sglang/srt/entrypoints/engine.py
View file @
c68de479
...
@@ -348,8 +348,8 @@ class Engine(EngineBase):
...
@@ -348,8 +348,8 @@ class Engine(EngineBase):
load_format
:
Optional
[
str
]
=
None
,
load_format
:
Optional
[
str
]
=
None
,
flush_cache
:
bool
=
True
,
flush_cache
:
bool
=
True
,
):
):
"""Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be
tru
e
"""Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be
fals
e
to avoid duplicated
operations such as
clea
r
ing
cache
."""
to avoid duplicated
cache
clea
n
ing
operation
."""
obj
=
UpdateWeightsFromTensorReqInput
(
obj
=
UpdateWeightsFromTensorReqInput
(
serialized_named_tensors
=
[
serialized_named_tensors
=
[
MultiprocessingSerializer
.
serialize
(
named_tensors
)
MultiprocessingSerializer
.
serialize
(
named_tensors
)
...
...
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