mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 17:17:14 +08:00
Global scheduler supports configuring hot updates (#2812)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user