mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-08 18:11:00 +08:00
[Feature] Support mixed deployment with adapter (#3517)
This commit is contained in:
@@ -208,6 +208,9 @@ class LocalScheduler:
|
||||
"""
|
||||
return (token_num + block_size - 1) // block_size
|
||||
|
||||
def get_unhandled_request_num(self):
|
||||
return len(self.requests)
|
||||
|
||||
def get_requests(
|
||||
self,
|
||||
available_blocks,
|
||||
|
Reference in New Issue
Block a user