Global scheduler supports configuring hot updates (#2812)

This commit is contained in:
lddfym
2025-07-11 13:39:30 +08:00
committed by GitHub
parent 94691bcd90
commit ec986642df
6 changed files with 215 additions and 114 deletions

View File

@@ -18,7 +18,7 @@ from typing import Callable, List, Any, Dict, Optional
import functools
import threading
import traceback
from fastdeploy.utils import llm_logger
from fastdeploy.utils import scheduler_logger
class Task:
@@ -163,7 +163,7 @@ class Workers:
try:
results = self.work(tasks)
except Exception as e:
llm_logger.error(
scheduler_logger.error(
f"Worker {self.name} execute error: {e}, traceback: {traceback.format_exc()}")
continue