Skip to content

Commit 47978ee

Browse files
authored
[diffusion] feat: support parallel wan-vae decode (sgl-project#18179)
1 parent 26f2b37 commit 47978ee

File tree

4 files changed

+1271
-453
lines changed

4 files changed

+1271
-453
lines changed

python/sglang/multimodal_gen/configs/models/vaes/wanvae.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ class WanVAEConfig(VAEConfig):
8282
use_temporal_tiling: bool = False
8383
use_parallel_tiling: bool = False
8484

85+
use_parallel_encode: bool = True
86+
use_parallel_decode: bool = True
87+
8588
def __post_init__(self):
8689
self.blend_num_frames = (
8790
self.tile_sample_min_num_frames - self.tile_sample_stride_num_frames

0 commit comments

Comments
 (0)