CoolFace
Apppublic

hbs2/test

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes
docker-compose.yml83 linesDownload Raw Back to root
1services:2   subgen:3      container_name: subgen4      tty: true5      image: mccloud/subgen6      environment:7         - "WHISPER_MODEL=medium"8         - "WHISPER_THREADS=4"9         - "PROCADDEDMEDIA=True"10         - "PROCMEDIAONPLAY=False"11         - "NAMESUBLANG=aa"12         - "SKIPIFINTERNALSUBLANG=eng"13         - "PLEXTOKEN=plextoken"14         - "PLEXSERVER=http://plexserver:32400"15         - "JELLYFINTOKEN=token here"16         - "JELLYFINSERVER=http://jellyfin:8096"17         - "WEBHOOKPORT=9000"18         - "CONCURRENT_TRANSCRIPTIONS=2"19         - "WORD_LEVEL_HIGHLIGHT=False"20         - "DEBUG=True"21         - "USE_PATH_MAPPING=False"22         - "PATH_MAPPING_FROM=/tv"23         - "PATH_MAPPING_TO=/Volumes/TV"24         - "TRANSCRIBE_DEVICE=cpu"25         - "CLEAR_VRAM_ON_COMPLETE=True"26         - "MODEL_PATH=./models"27         - "UPDATE=False"28         - "APPEND=False"29         - "USE_MODEL_PROMPT=False"30         - "CUSTOM_MODEL_PROMPT="31         - "LRC_FOR_AUDIO_FILES=True"32         - "CUSTOM_REGROUP=cm_sl=84_sl=42++++++1"33      volumes:34         - "${TV}:/tv"35         - "${MOVIES}:/movies"36         - "${APPDATA}/subgen/models:/subgen/models"37      ports:38         - "9000:9000"39      # # ⚠️ FOR Nvidia GPU IMAGE ⚠️40      # # uncomment folllowing lines to pass nvidia gpu to the container41      # deploy:42      #    resources:43      #       reservations:44      #          devices:45      #             - driver: nvidia46      #               count: 147      #               capabilities:48      #                  - gpu49      #50      #51      # # ⚠️ For Native Linux AMD GPU IMAGE ⚠️52      # # Change image to mccloud/subgen:amd and TRANSCRIBE_DEVICE to cuda, then53      # # uncomment the following lines to pass an AMD GPU (ROCm) to the container.54      # # 55      # # CT2_CUDA_ALLOCATOR fixes GPU page faults on RDNA3 (gfx1100/1101) — OpenNMT/CTranslate2#202156      # # HSA_OVERRIDE_GFX_VERSION may be needed for newer RDNA GPUs not yet in ROCm's default target list.57      #    environment:58      #       - "CT2_CUDA_ALLOCATOR=cub_caching"59      #       - "HSA_OVERRIDE_GFX_VERSION=11.0.0"  # adjust to your gfx version (e.g. 11.0.0 for RX 7900 series)60      #       - "TRANSCRIBE_DEVICE=cuda"61      #    devices:62      #       - /dev/kfd63      #       - /dev/dri64      #    group_add:65      #       - video66      #       - render67      #68      #69      # # ⚠️ For WSL AMD GPU IMAGE ⚠️70      # # Requirements71      # # WSL ubuntu 22.04 matching the CTranslate2 container base os running via WSL 2.72      # # Librocmdxg https://github.com/ROCm/librocdxg73      # # Change image to mccloud/subgen:amd and TRANSCRIBE_DEVICE to cuda, then74      # # uncomment the following lines to pass an AMD GPU (ROCm) to the container.75      #    environment:76      #       - "HSA_ENABLE_DXG_DETECTION=1"77      #       - "TRANSCRIBE_DEVICE=cuda"78      #    devices:79      #       - /dev/dxg80      #    volumes:81      #       - /usr/lib/wsl/lib/libdxcore.so:/lib/libdxcore.so82      #       - /opt/rocm/lib/librocdxg.so:/lib/librocdxg.so83