Skip to content

Commit c68de47

Browse files
authored
Super tiny fix doc (#5233)
1 parent 4c7b424 commit c68de47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/sglang/srt/entrypoints/engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ def update_weights_from_tensor(
348348
load_format: Optional[str] = None,
349349
flush_cache: bool = True,
350350
):
351-
"""Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be true
352-
to avoid duplicated operations such as clearing cache."""
351+
"""Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be false
352+
to avoid duplicated cache cleaning operation."""
353353
obj = UpdateWeightsFromTensorReqInput(
354354
serialized_named_tensors=[
355355
MultiprocessingSerializer.serialize(named_tensors)

0 commit comments

Comments
 (0)