
+++ compose.mod.yaml
... | ... | @@ -0,0 +1,26 @@ |
1 | +# include: | |
2 | +# - compose.observability.yaml | |
3 | +services: | |
4 | + speaches: | |
5 | + extends: | |
6 | + file: compose.yaml | |
7 | + service: speaches | |
8 | + build: | |
9 | + context: ./ | |
10 | + dockerfile: Dockerfile # Optional if the Dockerfile is named 'Dockerfile' | |
11 | + args: | |
12 | + BASE_IMAGE: nvidia/cuda:12.6.2-cudnn-runtime-ubuntu24.04 | |
13 | + environment: | |
14 | + - WHISPER__MODEL=Systran/faster-whisper-large-v3 | |
15 | + volumes: | |
16 | + - hf-hub-cache:/home/ubuntu/.cache/huggingface/hub | |
17 | + ports: | |
18 | + - "54127:54127" | |
19 | + deploy: | |
20 | + resources: | |
21 | + reservations: | |
22 | + devices: | |
23 | + - capabilities: ["gpu"] | |
24 | +volumes: | |
25 | + hf-hub-cache: | |
26 | + |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?