mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-27 02:20:31 +08:00
fix dynamic_weight config bug (#3432)
This commit is contained in:
@@ -82,7 +82,7 @@ class DynamicWeightManager:
|
|||||||
def _update_ipc_snapshot(self):
|
def _update_ipc_snapshot(self):
|
||||||
"""Update using IPC snapshot strategy for elastic recovery."""
|
"""Update using IPC snapshot strategy for elastic recovery."""
|
||||||
model_path = os.path.join(
|
model_path = os.path.join(
|
||||||
self.model_config.model,
|
self.fd_config.model_config.model,
|
||||||
f"model_state.tp0{self.meta_src_id}.pdparams",
|
f"model_state.tp0{self.meta_src_id}.pdparams",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user