This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| whisperai [2025/03/20 07:44] – created glebelg | whisperai [2025/03/20 08:55] (current) – [Usage] glebelg | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| From scratch on Debian gnu/linux | From scratch on Debian gnu/linux | ||
| - | sudo apt update | ||
| - | sudo apt upgrade | ||
| - | sudo apt install mc pip pipx python3 | ||
| wget https:// | wget https:// | ||
| sudo dpkg -i cuda-keyring_1.1-1_all.deb | sudo dpkg -i cuda-keyring_1.1-1_all.deb | ||
| sudo apt-get update | sudo apt-get update | ||
| - | sudo apt-get install linux-image-cloud-amd64 cuda ffmpeg | + | sudo apt upgrade |
| - | sudo apt-get install -y cuda-drivers | + | sudo apt install |
| pipx install openai-whisper | pipx install openai-whisper | ||
| pipx ensurepath | pipx ensurepath | ||
| sudo reboot | sudo reboot | ||
| + | | ||
| + | check that GPU is available | ||
| + | |||
| + | nvidia-smi | ||
| + | |||
| + | | ||
| + | =====Usage ===== | ||
| + | |||
| + | Check that default device = CUDA | ||
| + | |||
| + | whisper --help | ||
| + | |||
| + | Speech-to-text | ||
| + | |||
| + | whisper --language fr INPUT_FILE.mp3 | ||