Open fuddyduddy opened 2 months ago
@fuddyduddy Hello fuddyduddy
If it works when you change the device in model_settings to cpu, then cuda is not available. In that case, please check the steps below. https://github.com/SYSTRAN/faster-whisper?tab=readme-ov-file#gpu
Thanks for the reply. I ran the program with CPU successfully.
Then I read about the GPU Nvidia libraries. Checked that i have the following cuda and libraries version:
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
For cuBlas
#define CUBLAS_VER_MAJOR 11
#define CUBLAS_VER_MINOR 11
#define CUBLAS_VER_PATCH 3
#define CUBLAS_VER_BUILD 6
And i downloaded and installed cudnn version 9.4 through .exe Although i don't find cudnn_version.h in my C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\cudnn_version.h I believe the installer said installed is installed.
Then i downgraded to ctranslate2 to 3.24.0. And start myenv without run.bat, then ran command "python -m speech_to_text".
But the result with cuda transcripting still crashed. I checked with findstr ctranslate, confirmed the version is 3.24.0.
That's all i would wrap it a day. I will check with the docker method later since i have long time not touch the cuda version staff.
More information: I found my computer has C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2 as well. But i am not sure whether a computer can installed multiple versions of cuda as nvcc --version only gives me v11.8.89 for me.
I am very interested in your project. I am looking for an audio streaming transcripting method for language learning.
Long story short, i set large-v3 as model and choosen my audio_device: Headset (2- OpenRun by Shokz) MME (1 in). Pressed start and after the model is downloaded. I stopped the transcripting. It crashed. Then i restart the run.bat. And i checked the previous settings is loaded. Two results as below:
I am using NVIDIA GeForce RTX 4090 with 24GB vram 64 GB DDR5 ram intel i7-13700F CPU.