Fixes#45 - FL Chatterbox Turbo returns error (meanflow parameter)
Fixes#44 - Multilingual TTS min_p parameter compatibility
Changes:
- Add meanflow support to S3Gen for Turbo model (s3gen.py, flow.py, flow_matching.py, decoder.py)
- Add n_cfm_timesteps, noised_mels, speech_token_lens parameters throughout inference chain
- Add basic_euler solver for meanflow mode in flow_matching.py
- Add min_p parameter support to T3.inference() for Multilingual TTS (t3.py)
- Add MinPLogitsWarper for min_p sampling
- Fix Float vs Double type errors (librosa returns float64, PyTorch expects float32)
- Fix int vs float type errors in mask.py and flow.py
- Add save_audio_wav() helper with fallbacks for robust audio saving
- Add intmeanflow time mixer and configs for meanflow support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Disabled AlignmentStreamAnalyzer which was causing "'NoneType' object
has no attribute 'cpu'" errors. The analyzer requires attention weights
via output_attentions=True, which is incompatible with SDPA (the default
attention implementation in newer transformers versions).
Since the analyzer's step() method was already commented out and unused,
this change has no functional impact on TTS generation.
Fixes issues related to:
- 'NoneType' object has no attribute 'cpu' errors
- No audio output / 0-second audio files
- TTS not working while VC works
See: https://github.com/resemble-ai/chatterbox/issues/106🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>