whisperai
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
whisperai [2025/03/20 08:49] – 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 -y | ||
- | sudo apt upgrade -y | ||
- | sudo apt install -y 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 upgrade -y | sudo apt upgrade -y | ||
- | sudo apt install -y mc pip pipx python3 | + | sudo apt install -y mc pip pipx python3 linux-headers-cloud-amd64 cuda cuda-drivers ffmpeg |
- | 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 |
whisperai.1742460568.txt.gz · Last modified: 2025/03/20 08:49 by glebelg