Super tiny fix doc (#5233)

This commit is contained in:
fzyzcjy
2025-05-07 22:41:50 +08:00
committed by GitHub
parent 4c7b42424c
commit c68de47915

View File

@@ -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)