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

GPU加速 #10

Open
Dalongwang2025 opened this issue Jul 25, 2024 · 4 comments
Open

GPU加速 #10

Dalongwang2025 opened this issue Jul 25, 2024 · 4 comments

Comments

@Dalongwang2025
Copy link

您好,非常感谢昨天的问题解答。想再请教一下语音识别阶段怎么换成GPU的,感觉CPU还是偏慢,实用有些受局限。

@Luodima
Copy link

Luodima commented Jul 26, 2024

asr_funasr.py AutoModel 增加 ngpu=1,device="cuda"即可,确保cuda&torch版本一致

@liliy886
Copy link

asr_funasr.py AutoModel 增加 ngpu=1,device="cuda"即可,确保cuda&torch版本一致

您好,请问asr_funasr.py AutoModel这个是在哪里添加哈?第一次用,没找到您说的在哪个位置?,是在docker-compose.yml这个里面添加这一项吗?谢谢

@Dalongwang2025
Copy link
Author

您好?能出一个GPU版本的吗?我们计算机基础比较少,改完asr_funasr.py没搞定,谢谢!!!

@liliy886
Copy link

请问是放在这个里面吗?self.__model = AutoModel里面的括号里面吗?

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

3 participants