mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-01 16:18:27 +00:00
parent
e37ce04232
commit
858a1caefd
@ -587,7 +587,11 @@ def _create_local_model_manager(
|
||||
from pilot.utils.net_utils import _get_ip_address
|
||||
|
||||
client = ModelRegistryClient(worker_params.controller_addr)
|
||||
host = _get_ip_address()
|
||||
host = (
|
||||
worker_params.worker_register_host
|
||||
if worker_params.worker_register_host
|
||||
else _get_ip_address()
|
||||
)
|
||||
port = worker_params.port
|
||||
|
||||
async def register_func(worker_run_data: WorkerRunData):
|
||||
|
Loading…
Reference in New Issue
Block a user