[Perf][DreamZero]dreamzero supports CUDA graph, torch.compile, and DiT Caching. (#4213)

Signed-off-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
amy-why-3459 authored and GitHub committed 2026-06-19 14:24:37 +08:00
1 parent 63ba11b8b1
commit f05e03aea8
22 files changed
+1204 -177

No files matched your search

+9 -1
View File
@@ -520,7 +520,7 @@ class AsyncOmniEngine:
return
mm_data = prompt.get("multi_modal_data")
if not isinstance(mm_data, Mapping) or not mm_data:
if not isinstance(mm_data, dict) or not mm_data:
return
from vllm.multimodal.hasher import MultiModalHasher
@@ -842,6 +842,14 @@ class AsyncOmniEngine:
"mag_max_skip_steps": 5,
"mag_retention_ratio": 0.1,
}
if cache_backend in ("step_cache"):
return {
"step_cache_dit_enabled": True,
"velocity_sim_thresholds": [0.95, 0.93],
"velocity_skip_countdowns": [4, 2],
"step_cache_dit_min_history": 2,
"step_cache_dit_max_history": 2,
}
return None
@staticmethod