[Feature] Add cache-dit support for HunyuanImage3 (#1848)

Signed-off-by: KexiongYu <yukexiong1@huawei.com>
Co-authored-by: Canlin Guo <canlinguosdu@gmail.com>
This commit is contained in:
Y. FisherandCanlin Guo authored and GitHub committed 2026-03-18 10:18:27 +00:00
1 parent d636c32ff9
commit f52b51533a
4 files changed
+194

No files matched your search

@@ -0,0 +1,38 @@
# Stage config for running Hunyuan-Image3.0 DiT.
# The following config has been verified on 4x H20 GPU.
# Stage 0: Diffusion (DiT + VAE)
# This stage receives noise and timesteps and performs denoising + VAE decode
stage_args:
- stage_id: 0
stage_type: diffusion
runtime:
devices: "0,1,2,3"
max_batch_size: 1
engine_args:
model_stage: dit
gpu_memory_utilization: 0.65
enforce_eager: true
trust_remote_code: true
engine_output_type: image
distributed_executor_backend: "mp"
enable_prefix_caching: false
max_num_batched_tokens: 32768
parallel_config:
tensor_parallel_size: 4
enable_expert_parallel: true
omni_kv_config:
need_recv_cache: true
final_output: true
final_output_type: image
is_comprehension: false
default_sampling_params:
seed: 42
# Runtime edges
runtime:
enabled: true
defaults:
window_size: -1
max_inflight: 1