feat: enhance install script with hardware detection, refactor studio UI, and enable GPU support for whisper service

This commit is contained in:
2025-12-29 23:49:21 -03:00
parent ad56d8a81c
commit 6326cad39d
12 changed files with 678 additions and 856 deletions
+9 -12
View File
@@ -57,24 +57,21 @@ services:
NEXT_PUBLIC_LMS_API_URL: http://localhost:3002
whisper:
image: fedirz/faster-whisper-server:latest-cpu
image: ${WHISPER_IMAGE:-fedirz/faster-whisper-server:latest-cpu}
ports:
- "8000:8000"
volumes:
- whisper_cache:/root/.cache/huggingface
environment:
# - WHISPER_MODEL=medium
# - DEVICE=cpu
# GPU support commented out for stability if drivers missing
- DEVICE=cpu
- DEVICE=${WHISPER_DEVICE:-cpu}
# GPU support for RTX 2070 Super
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [ gpu ]
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
e2e:
build: