Commit Graph
4 Commits
Author SHA1 Message Date
diodiogod 102f114ae6 Standardize resolved voice prompt logging 2026-07-10 00:20:00 -03:00
diodiogod 6e6a9e4ed6 Fix streaming parallelization and voice mapping issues
- Implement proper streaming model pre-loading with StreamingModelManager
- Fix character alias resolution in voice discovery system
- Add crash protection to streaming workers
- Fix TTS model loading in traditional mode
- Simplify unified UI by removing confusing batch processing toggles
- Ensure voice_refs maps both original and resolved character names
- Add centralized language mapping for streaming multilingual support

Streaming now works correctly with proper voice assignments and language switching.
2025-08-09 23:15:21 -03:00
diodiogod f86754bbec Implement ThreadPoolExecutor-based parallel batch processing for ChatterBox
- Add true parallel processing using ThreadPoolExecutor approach from Chatterbox-TTS-Extended
- Replace failed tensor batching with proven concurrent.futures methodology
- Maintain full CFG quality while achieving real parallel speedup
- Add modular batch processing architecture with overlapping and adaptive processors
- Integrate batch_size parameter flow from UI nodes to processing engines
- Add enable_adaptive_batching UI controls (foundation for future dynamic worker management)
- Preserve all existing ChatterBox functionality while adding parallel performance gains
2025-08-09 14:18:06 -03:00
diodiogod 4ac4f4d9e3 Implement modular character grouping system for ChatterBox batch processing
- Add character_grouper.py: Groups segments by character within each language
- Add batch_processor.py: Handles batch processing and sequential fallback
- Add T3.batch_inference(): True simultaneous batch processing for T3 model
- Update ChatterBox TTS engine with improved generate_batch() method
- Update node to use modular character grouping system

FIXED: Character grouping now works perfectly - segments with same character
are properly grouped together (e.g., crestfallen_original segments 3,5,7,13...
are now grouped instead of processed separately).

Architecture: Language grouping (existing) -> Character grouping (new) -> Batch processing
Files are modular and under 500 lines for LLM optimization.

Note: Character grouping works, but batch processing condition needs investigation.
2025-08-09 02:10:30 -03:00