ComfyUI Extension
ComfyUI-H3VAE_TRT
Running ONNX/TRT version of the MiniMax-H3 VAE in ComfyUI, which can increase speed by up to 1.7x
lihaoyun6/ComfyUI-H3VAE_TRT
Nodes2
On cloudLocal install
CategoryMiniMax_H3/Acceleration
Stars242
Updated16 days ago
Nodes (2)
Readme
ComfyUI-H3VAE_TRT
Running TensorRT version of the MiniMax-H3 VAE in ComfyUI, which can increase speed by up to 1.7x
Preview

Installation
Install the node:
cd ComfyUI/custom_nodes
git clone https://github.com/lihaoyun6/ComfyUI-H3VAE_TRT.git
python -m pip install -r ComfyUI-H3VAE_TRT/requirements.txt
Usage
Download Models
-
Download encoder & decoder
.onnxfiles (and.datafiles, if present) -> hereYou can use the
w4a16_awqdecoder if you don't have 12GB+ of VRAM. -
Put models into
ComfyUI/models/vae
Nodes
-
Compile the TensorRT engine from onnx using the
MiniMax-H3 TRT VAE Compilernode before first use. -
After compiling the TRT Engines, you can use the
MiniMax-H3 TRT VAE Loadernode to load them.If you need to compile outside of ComfyUI, use the
compile.pyscript in the project.
Credits
- ComfyUI @comfyanonymous
- MiniMax-H3 @MiniMax-AI