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
How to use the local cached model? #822
Comments
@LXRee , hello. You don't need to pass the local_files_only and cache_dir options, try replacing model_size with the local path of the model you downloaded instead of the model's name. model = WhisperModel("/path/faster-distil-whisper-large-v3", device="cuda") |
这是来自QQ邮箱的自动回复邮件。你好,我已收到你发送的管理学作业。
|
Thanks to you, now it can work, but I have got another problem. It says that my CUDA driver version is insufficient for CUDA runtime version. The error is below:
but I have installed the cudnn and cublas, my navida environment is bellow, my python environment is python 3.9. So should I install the cuda 12?
…------------------ 原始邮件 ------------------
发件人: "SYSTRAN/faster-whisper" ***@***.***>;
发送时间: 2024年5月9日(星期四) 上午10:29
***@***.***>;
***@***.******@***.***>;
主题: Re: [SYSTRAN/faster-whisper] How to use the local cached model? (Issue #822)
@LXRee , hello. You don't need to pass the local_files_only and cache_dir options, try replacing model_size with the local path of the model you downloaded instead of the model's name.
Ex:
model = WhisperModel("/path/faster-distil-whisper-large-v3", device="cuda")
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Yes, you should update to CUDA 12 for latest version of FW 1.0.2. If you use CUDA 11, you can try to downgrade ctranslate2 module to 3.24.0 as mentioned in here. |
This is an auto-reply email from QQ mailhello, I have recevied your email
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello, I have downloaded the model from huggingface and stored it in my local disk, but it seems it can not find my local stored model and try to download it online. The error is below
The text was updated successfully, but these errors were encountered: