fix some bug (#3434)

This commit is contained in:
gaoziyuan
2025-08-18 14:39:13 +08:00
committed by GitHub
parent a12d0bc549
commit 6fdd83da10
2 changed files with 3 additions and 3 deletions

View File

@@ -50,6 +50,8 @@ from fastdeploy.metrics.metrics import (
)
from fastdeploy.metrics.trace_util import fd_start_span, inject_to_metadata, instrument
from fastdeploy.plugins.model_register import load_model_register_plugins
load_model_register_plugins()
from fastdeploy.utils import (
FlexibleArgumentParser,
StatefulSemaphore,
@@ -460,8 +462,6 @@ def launch_controller_server():
def main():
"""main函数"""
load_model_register_plugins()
if load_engine() is None:
return

View File

@@ -82,7 +82,7 @@ class DynamicWeightManager:
def _update_ipc_snapshot(self):
"""Update using IPC snapshot strategy for elastic recovery."""
model_path = os.path.join(
self.model_config.model,
self.fd_config.model_config.model,
f"model_state.tp0{self.meta_src_id}.pdparams",
)