mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
fix some bug (#3434)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user