[Misc] local import code clean (#23420)

Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
Ning Xie
2025-08-22 22:01:35 +08:00
committed by GitHub
parent a073be6d87
commit 325aa3dee9
2 changed files with 1 additions and 3 deletions

View File

@@ -292,7 +292,6 @@ class Worker(WorkerBase):
allocator = CuMemAllocator.get_instance()
context = allocator.use_memory_pool(tag="kv_cache")
else:
from contextlib import nullcontext
context = nullcontext()
with context:
self.model_runner.initialize_kv_cache(kv_cache_config)