From c68de479154a13240e7a3233a6f4b338cacc1dd0 Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Wed, 7 May 2025 22:41:50 +0800 Subject: [PATCH] Super tiny fix doc (#5233) --- python/sglang/srt/entrypoints/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/sglang/srt/entrypoints/engine.py b/python/sglang/srt/entrypoints/engine.py index 444c64771..8a991f9fe 100644 --- a/python/sglang/srt/entrypoints/engine.py +++ b/python/sglang/srt/entrypoints/engine.py @@ -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 true - to avoid duplicated operations such as clearing cache.""" + """Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be false + to avoid duplicated cache cleaning operation.""" obj = UpdateWeightsFromTensorReqInput( serialized_named_tensors=[ MultiprocessingSerializer.serialize(named_tensors)