# GPU Support with CUDA (recommended) Steps for a **GPU-optimized** installation: 1. **Install NVIDIA CUDA Toolkit 11.8**: - Visit [NVIDIA CUDA Toolkit Archive](https://developer.nvidia.com/cuda-11-8-0-download-archive). - Select version 11. - Download and install the software. 2. **Install NVIDIA cuDNN 8.7.0 for CUDA 11.x**: - Visit [NVIDIA cuDNN Archive](https://developer.nvidia.com/rdp/cudnn-archive). - Click on "Download cuDNN v8.7.0 (November 28th, 2022), for CUDA 11.x". - Download and install the software. 3. **Install ffmpeg**: You can download an installer for your OS from the [ffmpeg Website](https://ffmpeg.org/download.html). Or use a package manager: - **On Ubuntu or Debian**: ```bash sudo apt update && sudo apt install ffmpeg ``` - **On Arch Linux**: ```bash sudo pacman -S ffmpeg ``` - **On MacOS using Homebrew** ([https://brew.sh/](https://brew.sh/)): ```bash brew install ffmpeg ``` - **On Windows using Chocolatey** ([https://chocolatey.org/](https://chocolatey.org/)): ```bash choco install ffmpeg ``` - **On Windows using Scoop** ([https://scoop.sh/](https://scoop.sh/)): ```bash scoop install ffmpeg ``` 4. **ElevenlabsEngine** - If you plan to use the `ElevenlabsEngine`, you need `mpv` is installed on your system for streaming mpeg audio - **macOS**: ```bash brew install mpv ``` - **Linux and Windows**: Visit [mpv.io](https://mpv.io/) for installation instructions. 5. **Install PyTorch with CUDA support**: - run install_gpu.bat 6. **Configure script** - open ui_openai_voice_interface.py and configure your engine, set API keys, Azure service region, language etc