mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Optimize] Optimize ttft for ep (#6098)
* optimize ttft * fix * fix * fix ci * fix ci * fix * fix bug * fix * add comments * fix ci * fix
This commit is contained in:
@@ -25,6 +25,9 @@ class DummyEngine:
|
||||
"""Dummy Engine class to simulate the actual Engine for testing."""
|
||||
|
||||
class ResourceManager:
|
||||
def __init__(self):
|
||||
self.waiting = []
|
||||
|
||||
def available_batch(self):
|
||||
return 4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user