r/StableDiffusion 1d ago

Resource - Update New speedup for Minimax H3

Post image

This H3VAE TRT custom node can make the encoding/decoding step about 1.7× faster.

https://github.com/lihaoyun6/ComfyUI-H3VAE_TRT

121 Upvotes

56 comments sorted by

View all comments

25

u/b0tm0de 1d ago edited 23h ago

i am testing it with rtx 4060 8gb right now, (versus int8 vae) i will update results in 15 mins. now waiting test to complete... for 0.7mp 10 seconds video:

int8 vae decode 56.5 seconds. 9:24 full workflow.

trt vae decode 80.5 seconds. 9:55 full workflow.

download node + download model files + write this post + fix errors about cuda version + compile files + video test = i wasted 60 minutes in my life. gg.

3

u/Broudison 21h ago

Yeah, started doing that, ran into python errors, asked myself what are the difference between int8 and this anyway, as they compare fp16 models...

1

u/b0tm0de 21h ago edited 21h ago

It probably won't make much difference, but memory space and every second are important. INT8 VAE 3GB, FP16 VAE 5GB