[Bugfix] Avoid repeatedly creating dummy data during engine startup (#17935)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -150,6 +150,10 @@ async def build_async_engine_client(
|
||||
|
||||
async with build_async_engine_client_from_engine_args(
|
||||
engine_args, args.disable_frontend_multiprocessing) as engine:
|
||||
|
||||
# Don't keep the dummy data in memory
|
||||
await engine.reset_mm_cache()
|
||||
|
||||
yield engine
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user