File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
# limitations under the License.
15
15
"""
16
16
17
- from fastdeploy .plugins .utils import load_plugins_by_group , plugins_loaded
17
+ from fastdeploy .plugins .utils import load_plugins_by_group
18
18
19
19
# make sure one process only loads plugins once
20
+ plugins_loaded = False
20
21
PLUGINS_GROUP = "fastdeploy.model_register_plugins"
21
22
22
23
Original file line number Diff line number Diff line change 14
14
# limitations under the License.
15
15
"""
16
16
17
- from fastdeploy .plugins .utils import load_plugins_by_group , plugins_loaded
17
+ from fastdeploy .plugins .utils import load_plugins_by_group
18
18
19
19
# make sure one process only loads plugins once
20
+ plugins_loaded = False
20
21
PLUGINS_GROUP = "fastdeploy.reasoning_parser_plugins"
21
22
22
23
Original file line number Diff line number Diff line change 19
19
from fastdeploy import envs
20
20
from fastdeploy .utils import llm_logger as logger
21
21
22
- plugins_loaded = False
23
-
24
22
25
23
def load_plugins_by_group (group : str ) -> dict [str , Callable [[], Any ]]:
26
24
import sys
You can’t perform that action at this time.
0 commit comments