Use GPU in Whisper local #1735

Closed
opened 2025-11-11 14:51:11 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @PPTG on GitHub (Aug 8, 2024).

Why doesn't whisper(local) use my GPU processors, while ollama uses them correctly. nvidia-smi doesn't show any process during speech processing :( My docker file:
services:
open-webui:
image: ghcr.io/open-webui/open-webui:ollama
container_name: open-webui
ports:
- "3000:8080"
- "11434:11434"
volumes:
- ollama:/root/.ollama
environment:
- WHISPER_MODEL=large
- AUDIO_TTS_ENGINE=openai
- AUDIO_TTS_VOICE=gosia
- AUDIO_TTS_OPENAI_API_BASE_URL=http://openedai-speech:8111/v1
- AUDIO_TTS_OPENAI_API_KEY=sk-111111111
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
restart: always

Originally created by @PPTG on GitHub (Aug 8, 2024). Why doesn't whisper(local) use my GPU processors, while ollama uses them correctly. nvidia-smi doesn't show any process during speech processing :( My docker file: services: open-webui: image: ghcr.io/open-webui/open-webui:ollama container_name: open-webui ports: - "3000:8080" - "11434:11434" volumes: - ollama:/root/.ollama environment: - WHISPER_MODEL=large - AUDIO_TTS_ENGINE=openai - AUDIO_TTS_VOICE=gosia - AUDIO_TTS_OPENAI_API_BASE_URL=http://openedai-speech:8111/v1 - AUDIO_TTS_OPENAI_API_KEY=sk-111111111 deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] restart: always
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1735