[Inference] First PR for rebuild colossal-infer (#5143)

* add engine and scheduler

* add dirs

---------

Co-authored-by: CjhHa1 <cjh18671720497outlook.com>
This commit is contained in:
Jianghai
2023-12-01 17:02:44 +08:00
committed by FrankLeeeee
parent c174c4fc5f
commit 4cf4682e70
33 changed files with 86 additions and 5148 deletions

View File

@@ -0,0 +1,10 @@
class RequestHandler:
def __init__(self, cache_config) -> None:
self.cache_config = cache_config
self._init_cache()
def _init_cache(self):
pass
def schedule(self, request):
pass