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

MAC上提示无法使用语音识别 #13

Open
sikaozhe1991 opened this issue Jul 9, 2024 · 1 comment
Open

MAC上提示无法使用语音识别 #13

sikaozhe1991 opened this issue Jul 9, 2024 · 1 comment

Comments

@sikaozhe1991
Copy link

提示错误float16无法使用,这个问题要怎么解决?

@leexinxu
Copy link

leexinxu commented Jul 26, 2024

compute_type='float32'
self.model = ctranslate2.models.Whisper(
model_path,
device=device,
device_index=device_index,
compute_type=compute_type,
intra_threads=cpu_threads,
inter_threads=num_workers,
)

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