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

Whisper转写可以调用gpu,Faster-Whisper则是用的cpu #8

Open
dhlsam opened this issue Feb 5, 2024 · 2 comments
Open

Whisper转写可以调用gpu,Faster-Whisper则是用的cpu #8

dhlsam opened this issue Feb 5, 2024 · 2 comments

Comments

@dhlsam
Copy link

dhlsam commented Feb 5, 2024

Whisper转写可以调用gpu,很快转写完成
Faster-Whisper则是调用的cpu,很慢

@hyhuc0079
Copy link
Contributor

好像是因为音频文件太短gpu没参与就玩成了。
faster是cpu gpu一起计算,但是faster好像对大量的细碎音频的转写效率反而没有原版性能好
感觉faster是每次执行一个任务的时候都加载一次模型所以都内耗掉了

@hyhuc0079
Copy link
Contributor

代码里已经指定了cuda

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

2 participants