MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / create_eplb_config

Method create_eplb_config

fastdeploy/engine/args_utils.py:1418–1427  ·  view source on GitHub ↗

Create and retuan an EPLBConfig object based on the current settings.

(self)

Source from the content-addressed store, hash-verified

1416 return EarlyStopConfig(early_stop_args)
1417
1418 def create_eplb_config(self) -> EPLBConfig:
1419 """
1420 Create and retuan an EPLBConfig object based on the current settings.
1421 """
1422 eplb_args = asdict(self)
1423 if self.eplb_config is not None:
1424 for k, v in self.eplb_config.items():
1425 eplb_args[k] = v
1426 eplb_args["enable_eplb"] = self.enable_eplb
1427 return EPLBConfig(eplb_args)
1428
1429 def create_routing_repaly_config(self) -> RoutingReplayConfig:
1430 """ """

Callers 1

create_engine_configMethod · 0.95

Calls 2

EPLBConfigClass · 0.90
itemsMethod · 0.80

Tested by

no test coverage detected