Matrix-Game icon indicating copy to clipboard operation
Matrix-Game copied to clipboard

How to get real-time video?

Open chenyzh28 opened this issue 1 year ago • 7 comments

Image

It stucks here when I input W and A.

chenyzh28 avatar Aug 13 '25 10:08 chenyzh28

I think there is no interface for real time provided, but only command line. That means when you enter a command you find the corresponding output video of your action in the output folder.

eliohead avatar Aug 13 '25 13:08 eliohead

hello @chenyzh28, we currently only provide models with real-time generation performance. If you want to experience real-time video generation, you’ll need to set up a pipeline locally. In addition, we may release a Gradio page in the future for everyone to try out, but there is no set timeline at the moment.

Brycebywang avatar Aug 14 '25 02:08 Brycebywang

I know, thanks for your work. However, I found that the video generation would be stuck for about 1 minute after receiving the first instruction, and the subsequent instructions would be generated more smoothly.

hello @chenyzh28, we currently only provide models with real-time generation performance. If you want to experience real-time video generation, you’ll need to set up a pipeline locally. In addition, we may release a Gradio page in the future for everyone to try out, but there is no set timeline at the moment.

chenyzh28 avatar Aug 14 '25 02:08 chenyzh28

I know, thanks for your work. However, I found that the video generation would be stuck for about 1 minute after receiving the first instruction, and the subsequent instructions would be generated more smoothly.

hello @chenyzh28, we currently only provide models with real-time generation performance. If you want to experience real-time video generation, you’ll need to set up a pipeline locally. In addition, we may release a Gradio page in the future for everyone to try out, but there is no set timeline at the moment.

To accelerate the VAE decoding speed, the VAE is initially compiled, which may take approximately 1 to 2 minutes.

ori-gins avatar Aug 14 '25 03:08 ori-gins

@chenyzh28 https://github.com/SkyworkAI/Matrix-Game/blob/81ae2700f4496193b689e2399d5ef6a23915f622/Matrix-Game-2/inference_streaming.py#L64 You can comment out this line of code, but it will be slightly slower.

liuuzexiang avatar Aug 14 '25 06:08 liuuzexiang

@chenyzh28

Matrix-Game/Matrix-Game-2/inference_streaming.py

Line 64 in 81ae270

current_vae_decoder.compile(mode="max-autotune-no-cudagraphs")

You can comment out this line of code, but it will be slightly slower.

Does it mean that the video generation will become faster after the first instruction and slower afterwards?

chenyzh28 avatar Aug 14 '25 06:08 chenyzh28

@chenyzh28 Matrix-Game/Matrix-Game-2/inference_streaming.py Line 64 in 81ae270 current_vae_decoder.compile(mode="max-autotune-no-cudagraphs") You can comment out this line of code, but it will be slightly slower.

Does it mean that the video generation will become faster after the first instruction and slower afterwards?

yes.

liuuzexiang avatar Aug 14 '25 06:08 liuuzexiang