[Core] hunyuan-image prefetch kv (#4448)

Signed-off-by: z00806815 <zhuhonghan@huawei.com>
Signed-off-by: zhuhh97 <zhuhonghan@huawei.com>
Signed-off-by: dph97 <nenbaying@163.com>
Signed-off-by: zhh <zhh@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: zhuhh97 <zhuhh97@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-06-25 21:31:49 +08:00
1 parent e500c00545
commit 5db89b41c4
19 files changed
+1214 -218

No files matched your search

+2
View File
@@ -113,6 +113,8 @@ class DiffusionSchedulerOutput:
finished_req_ids: set[str]
num_running_reqs: int
num_waiting_reqs: int
# next request to background-prefetch KV
kv_prefetch_jobs: dict | None = None
@cached_property
def scheduled_request_ids(self) -> list[str]: