VACE icon indicating copy to clipboard operation
VACE copied to clipboard

How to do batch inference?

Open mmmmm-w opened this issue 5 months ago • 2 comments

I wonder if we can modify the model to support batch inference, for example, N prompts for one source video (and mask), and generate N output videos.

mmmmm-w avatar Jul 26 '25 07:07 mmmmm-w

We recommend that users modify vace_wan_inference.py themselves to support sequential batch inference for multiple data entries.

jiangzeyinzi avatar Jul 27 '25 02:07 jiangzeyinzi

You can set batches in comfy. Vace can extend. https://openart.ai/workflows/rocky533/wan-21-vace-extensions-image-or-ref-to-video/wCOmLvDk0XE7ChtodMop https://openart.ai/workflows/rocky533/wan-21-vace-batched-video-to-video/01Ouu12wBn6XQtH24WqQ

rocky533 avatar Aug 01 '25 21:08 rocky533