Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what gpu is good for musetalk? #59

Closed
TigerHH6866 opened this issue May 4, 2024 · 9 comments
Closed

what gpu is good for musetalk? #59

TigerHH6866 opened this issue May 4, 2024 · 9 comments

Comments

@TigerHH6866
Copy link

my local gpu is 2060 8G, tooooo slow to use, 3s video cost half an hour
2080ti cloud, 3s video cost about few min

@leeeex
Copy link

leeeex commented May 6, 2024

那这么说,即使是4090也不太可能做到实时的

@czk32611
Copy link
Contributor

czk32611 commented May 6, 2024

my local gpu is 2060 8G, tooooo slow to use, 3s video cost half an hour 2080ti cloud, 3s video cost about few min

For a new video, most of time was consumped by pre-processing including face detection, face parsing and so on. Generation time could be significantly reduced if you used the same video for different audios by saving those results in advance. Please refer real-time inference scripts.

@TigerHH6866
Copy link
Author

我本地的gpu是2060 8G,使用起来太慢了,3s视频需要半个小时2080ti云,3s视频需要几分钟

对于一个新视频来说,大部分时间都消耗在人脸检测、人脸解析等预处理上。如果您提前保存这些结果,将相同的视频用于不同的音频,则生成时间可能会显着缩短。请参考实时推理脚本

“”当 MuseTalk 进行推理时,子线程可以同时将结果传输给用户。生成过程在 NVIDIA Tesla V100 上可以达到 30fps+。“”

请问大佬:子线程的实时输出是视频流么?在哪里可以看到?

@czk32611
Copy link
Contributor

czk32611 commented May 9, 2024

我本地的gpu是2060 8G,使用起来太慢了,3s视频需要半个小时2080ti云,3s视频需要几分钟

对于一个新视频来说,大部分时间都消耗在人脸检测、人脸解析等预处理上。如果您提前保存这些结果,将相同的视频用于不同的音频,则生成时间可能会显着缩短。请参考实时推理脚本

“”当 MuseTalk 进行推理时,子线程可以同时将结果传输给用户。生成过程在 NVIDIA Tesla V100 上可以达到 30fps+。“”

请问大佬:子线程的实时输出是视频流么?在哪里可以看到?

目前输出的是一帧一帧的图片,可以见代码 https://github.com/TMElyralab/MuseTalk/blob/main/scripts/realtime_inference.py#L218

@TONY-STARK-TECH
Copy link

my local gpu is 2060 8G, tooooo slow to use, 3s video cost half an hour 2080ti cloud, 3s video cost about few min

I use Navid 2060Super, 10seconds video use 7Hours!!!!!

@TigerHH6866
Copy link
Author

my local gpu is 2060 8G, tooooo slow to use, 3s video cost half an hour 2080ti cloud, 3s video cost about few min

I use Navid 2060Super, 10seconds video use 7Hours!!!!!

now i can make it 15min cost(30s video)

@TONY-STARK-TECH
Copy link

@TigerHH6866 May I ask how you did it? it's slowly on my laptop.

@TigerHH6866
Copy link
Author

gpu on laptop maybe weaker than pc
using realtime making avatar will save time then next generation

@TONY-STARK-TECH
Copy link

Yes, won’t the images be saved during real-time generation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants