docker-compose.dit.yml 735 B

1234567891011121314151617181920
  1. services:
  2. tts:
  3. image: soar97/triton-cosyvoice:25.06
  4. shm_size: '1gb'
  5. ports:
  6. - "8000:8000"
  7. - "8001:8001"
  8. - "8002:8002"
  9. environment:
  10. - PYTHONIOENCODING=utf-8
  11. - MODEL_ID=${MODEL_ID}
  12. deploy:
  13. resources:
  14. reservations:
  15. devices:
  16. - driver: nvidia
  17. device_ids: ['0']
  18. capabilities: [gpu]
  19. command: >
  20. /bin/bash -c "pip install modelscope && cd /workspace && git clone https://github.com/yuekaizhang/Step-Audio2.git -b trt && git clone https://github.com/yuekaizhang/CosyVoice.git -b streaming && cd CosyVoice && git submodule update --init --recursive && cd runtime/triton_trtllm && bash run_stepaudio2_dit_token2wav.sh 0 3"