Unverified Commit c68de479 authored by fzyzcjy's avatar fzyzcjy Committed by GitHub
Browse files

Super tiny fix doc (#5233)

parent 4c7b4242
...@@ -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 true """Update weights from distributed source. If there are going to be more updates, set `flush_cache` to be false
to avoid duplicated operations such as clearing cache.""" to avoid duplicated cache cleaning operation."""
obj = UpdateWeightsFromTensorReqInput( obj = UpdateWeightsFromTensorReqInput(
serialized_named_tensors=[ serialized_named_tensors=[
MultiprocessingSerializer.serialize(named_tensors) MultiprocessingSerializer.serialize(named_tensors)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment