[Feat] Enable VAE parallel in HunyuanImage3#3091
Open
Fishermanykx wants to merge 2 commits into
Open
Conversation
421d557 to
c69899e
Compare
Contributor
Author
ee9b0b3 to
a4502c4
Compare
Collaborator
|
does it work in GPU as well? |
a4fc4ec to
378289a
Compare
1 task
378289a to
2eacaf2
Compare
ae99ecc to
c6f0e06
Compare
c6f0e06 to
8c4b866
Compare
Gaohan123
reviewed
May 14, 2026
Collaborator
Gaohan123
left a comment
There was a problem hiding this comment.
Here are some suggestions:
- Please add simple UT for it
- I didn't notice any modification about NPU, which is not consistent with your PR description
Contributor
Author
|
f338f4d to
014b54b
Compare
Signed-off-by: KexiongYu <yukexiong1@huawei.com>
Signed-off-by: KexiongYu <yukexiong1@huawei.com>
014b54b to
272bc98
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Enable VAE parallel support in HunyuanImage3.
Current changes:
vllm_omni/diffusion/distributed/autoencoders/autoencoder_kl_hunyuan.pyHunyuanImage3Pipelineto use the distributed autoencoder wrappervllm_omni/platforms/npu/models/hunyuan_fused_moe.pyunified deploy yaml in #3172
Validation
py_compile, diff checks)Test Plan
Tested on 4xAscend NPU
server
vae_patch_parallel_size is set to 4
client
Test Result
output
VAE decode time 625.7ms -> 355ms
w/o vae parallel

w vae parallel
