feat(model): Support MLX inference (#2781)

This commit is contained in:
Fangyin Cheng
2025-06-19 09:30:58 +08:00
committed by GitHub
parent 9084c6c19c
commit d9d4d4b6bc
12 changed files with 5047 additions and 4662 deletions

View File

@@ -279,7 +279,9 @@ def load_config(config_file: str = None) -> ApplicationConfig:
from dbgpt.configs.model_config import ROOT_PATH as DBGPT_ROOT_PATH
if config_file is None:
config_file = os.path.join(DBGPT_ROOT_PATH, "configs", "dbgpt-siliconflow.toml")
config_file = os.path.join(
DBGPT_ROOT_PATH, "configs", "dbgpt-proxy-siliconflow.toml"
)
elif not os.path.isabs(config_file):
# If config_file is a relative path, make it relative to DBGPT_ROOT_PATH
config_file = os.path.join(DBGPT_ROOT_PATH, config_file)