Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
ServiceRouterWorkerSyncModel,
)
from dstack._internal.server.services.locking import get_locker
from dstack._internal.server.services.logging import fmt
from dstack._internal.server.services.pipelines import PipelineHinterProtocol
from dstack._internal.server.services.runs.router_worker_sync import (
run_model_has_sglang_router_replica_group,
Expand Down Expand Up @@ -287,7 +288,12 @@ async def process(self, item: ServiceRouterWorkerSyncPipelineItem) -> None:
await _update_sync_row_or_log_lock_token_changed(session, item, cleanup_update_map)
return

await sync_router_workers_for_run_model(run_for_sync)
try:
await sync_router_workers_for_run_model(run_for_sync)
except Exception:
logger.exception(
"%s: unexpected error when syncing workers with router", fmt(run_for_sync)
)

update_map: _SyncRowUpdateMap = {}
set_processed_update_map_fields(update_map)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
@asynccontextmanager
async def get_service_replica_grpc_channel_over_uds(
uds_path: Path,
) -> AsyncGenerator[Any, None]:
) -> AsyncGenerator[grpc.aio.Channel, None]:
target = f"unix://{uds_path}"
channel = grpc.aio.insecure_channel(target, options=_GRPC_CHANNEL_OPTIONS)
try:
Expand Down
Loading
Loading