Skip to content

feat: Add RunPod serverless deployment with Docker support and chunking examples #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Yasirrazaa
Copy link

@Yasirrazaa Yasirrazaa commented Jun 5, 2025

Overview

This PR adds comprehensive RunPod serverless worker support for ChatterboxTTS, enabling easy deployment and scaling of the TTS service.

Features Added

  • 🐳 Docker Support: Complete Dockerfile with CUDA 12.4 support
  • 🚀 RunPod Serverless Worker: Ready-to-deploy serverless implementation
  • 📚 Comprehensive Documentation: Detailed README with API usage examples
  • 🎛️ Configurable Parameters: Support for temperature, cfg_weight, exaggeration
  • 🎤 Voice Cloning: Audio prompt support for voice cloning/style transfer
  • 📝 Long Text Chunking: Automatic text splitting for long content
  • 🧪 Test Examples: Multiple test configurations included

Files Added

  • Dockerfile - CUDA-enabled container for deployment
  • chatterbox-runpod-serverless/ - Complete serverless worker implementation
  • .dockerignore - Optimized Docker builds
  • Updated documentation and examples

Testing

Tested with various input configurations including voice cloning and long text processing.
Best parameters for most prompts are;

Best Parameters (for most prompts)

  • temperature: 0.8
  • cfg_weight: 0.5
  • exaggeration: 0.5
  • max_chars_per_chunk: 550
  • inter_chunk_silence_ms: 100

…ng examples

- Add comprehensive RunPod serverless worker implementation
- Include Dockerfile for containerized deployment with CUDA support
- Add detailed README with API documentation and usage examples
- Support for voice cloning, long text chunking, and configurable parameters
- Include test files and example configurations for different use cases
- Add .dockerignore for optimized Docker builds
@Yasirrazaa Yasirrazaa closed this Jun 5, 2025
@Yasirrazaa Yasirrazaa reopened this Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant