Super tiny fix doc (#5233)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user