Skip to content

Commit 3ffbc98

Browse files
authored
fix dynamic_weight config bug (PaddlePaddle#3432)
1 parent edd13aa commit 3ffbc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastdeploy/rl/dynamic_weight_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def update_parameters(self, pid: int = 0) -> None:
8282
def _update_ipc_snapshot(self):
8383
"""Update using IPC snapshot strategy for elastic recovery."""
8484
model_path = os.path.join(
85-
self.model_config.model,
85+
self.fd_config.model_config.model,
8686
f"model_state.tp0{self.meta_src_id}.pdparams",
8787
)
8888

0 commit comments

Comments
 (0)