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
"tests/vscode:/vscode.git/clone" did not exist on "9d853977d26850db9e9e6b689a6e25da0fa291c2"
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
Hide 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):
load_format
:
Optional
[
str
]
=
None
,
flush_cache
:
bool
=
True
,
):
"""Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be
tru
e
to avoid duplicated
operations such as
clea
r
ing
cache
."""
"""Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be
fals
e
to avoid duplicated
cache
clea
n
ing
operation
."""
obj
=
UpdateWeightsFromTensorReqInput
(
serialized_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