# Run every step as: docker compose run --rm kit # e.g. docker compose run --rm kit python check_environment.py --device cuda name: tiny-voca-dk services: kit: &kit image: tiny-voca-dk:cu128 build: context: . dockerfile: docker/Dockerfile user: "${UID:-1000}:${GID:-1000}" working_dir: /opt/kit shm_size: 8g environment: OMP_NUM_THREADS: ${OMP_NUM_THREADS:-8} MKL_NUM_THREADS: ${OMP_NUM_THREADS:-8} CUDA_VISIBLE_DEVICES: ${CUDA_VISIBLE_DEVICES:-0,1} # Everything that is produced lives on the big NVMe disk of the GPU host. volumes: - ./scripts:/opt/kit/scripts:ro - ${DATA_ROOT:-/srv/tiny-voca-dk}/data:/opt/kit/data - ${DATA_ROOT:-/srv/tiny-voca-dk}/models:/opt/kit/models - ${DATA_ROOT:-/srv/tiny-voca-dk}/runs:/opt/kit/runs - ${DATA_ROOT:-/srv/tiny-voca-dk}/work:/opt/kit/work - ${DATA_ROOT:-/srv/tiny-voca-dk}/checks:/opt/kit/checks - ${DATA_ROOT:-/srv/tiny-voca-dk}/out:/opt/kit/out - ${DATA_ROOT:-/srv/tiny-voca-dk}/export:/opt/kit/export - ${DATA_ROOT:-/srv/tiny-voca-dk}/cache:/opt/kit/cache deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] # Same pipeline with the v3 frontend (NST lexicon + stød), see AGENTS.md. kit-v3: <<: *kit image: tiny-voca-dk:v3 build: context: . dockerfile: docker/Dockerfile args: KIT: kit-v3 # Frontend v4: NST G2P for unknown Danish words, English pieces to eSpeak en, enog… numerals. kit-v4: <<: *kit image: tiny-voca-dk:v4 build: context: . dockerfile: docker/Dockerfile.v4 # v3 kit + DeepPhonemizer + lingua, for the frontend-v4 work (G2P training, audits). g2p: <<: *kit image: tiny-voca-dk-g2p:1 build: context: . dockerfile: docker/Dockerfile.g2p profiles: [tools] # Original English tiny-voca, for reference renders (CPU). ref: image: tiny-voca-dk-ref:4bf796d build: context: . dockerfile: docker/Dockerfile.ref user: "${UID:-1000}:${GID:-1000}" working_dir: /opt/ref volumes: - ./scripts:/opt/ref/scripts:ro - ${DATA_ROOT:-/srv/tiny-voca-dk}/out:/opt/ref/out profiles: [tools] # DNSMOS + UTMOS automatic quality scoring (CPU). Paths are relative to the data root. quality: image: tiny-voca-dk-quality:1 build: context: . dockerfile: docker/Dockerfile.quality user: "${UID:-1000}:${GID:-1000}" working_dir: /work volumes: - ${DATA_ROOT:-/srv/tiny-voca-dk}:/work - ./scripts:/work/scripts:ro profiles: [tools] # Intelligibility (CER/WER) with CoRal's Danish ASR, Røst v3 wav2vec2 (CPU). asr: image: tiny-voca-dk-asr:2 build: context: . dockerfile: docker/Dockerfile.asr user: "${UID:-1000}:${GID:-1000}" working_dir: /work volumes: - ${DATA_ROOT:-/srv/tiny-voca-dk}:/work - ./scripts:/work/scripts:ro profiles: [tools]