[Core] Fix internal LB load-balancing (#49204)
Signed-off-by: Nick Hill <nickhill123@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
dbccc5ae32
commit
59a6b0411d
@@ -234,6 +234,10 @@ class SchedulerInterface(ABC):
|
||||
"""Returns (num_running_reqs, num_waiting_reqs)."""
|
||||
raise NotImplementedError
|
||||
|
||||
def get_kv_cache_usage(self) -> float:
|
||||
"""Returns the fraction of the KV cache currently in use (0.0-1.0)."""
|
||||
return 0.0
|
||||
|
||||
@abstractmethod
|
||||
def make_stats(self) -> "SchedulerStats | None":
|
||||
"""Make a SchedulerStats object for logging.
|
||||
|
||||
Reference in New Issue
Block a user