mlx-audio breaking changes
Updated December 4, 2026
On this page
Latest version 0.6.9, released November 30, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
mlx-audio 0.6.0 breaking changes
- Removed
mlx_audio.codec.models.fish_s1_dac.fish_s1_dac.Transformer.causal_mask
Transformer.causal_mask was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.codec.tests.test_fish_s1_dac.WindowLimitedTransformer.causal_mask
WindowLimitedTransformer.causal_mask was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.dia.KVCache.current_idx
KVCache.current_idx was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.dia.KVCache.k
KVCache.k was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.dia.KVCache.max_len
KVCache.max_len was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.dia.KVCache.prefill_kv
KVCache.prefill_kv was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.dia.KVCache.v
KVCache.v was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.layers.KVCache.current_idx
KVCache.current_idx was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.layers.KVCache.k
KVCache.k was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.layers.KVCache.max_len
KVCache.max_len was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.layers.KVCache.prefill_kv
KVCache.prefill_kv was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.models.dia.layers.KVCache.v
KVCache.v was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.tests.test_generate.TestGenerateArgs.test_max_tokens_defaults_to_none_for_model_defaults
TestGenerateArgs.test_max_tokens_defaults_to_none_for_model_defaults was removed in mlx-audio 0.6.0 pypi.org - Removed
mlx_audio.tts.tests.test_voxcpm_integration.TestVoxCPMIntegration.test_sanitize_audio_vae_prefix_strip
TestVoxCPMIntegration.test_sanitize_audio_vae_prefix_strip was removed in mlx-audio 0.6.0 pypi.org - Behavior changed
The server now fills omitted sampling parameters from the Qwen3-TTS generation config, so requests that omit them may produce different output. github.com - Default changed
When callers do not pass sampling parameters, the model's own sampling settings are now used instead of the previous defaults. Code that relied on the old defaults may produce different output. github.com - Signature changed
mlx_audio.audio_io.read
Was def read(file: Union[str, Path, io.BytesIO], always_2d: bool = False, dtype: str = 'float64', sample_rate: Optional[int] = None, nchannels: Optional[int] = None) -> Tuple[np.ndarray, int]; now def read(file: Union[str, Path... pypi.org - Signature changed
mlx_audio.codec.models.fish_s1_dac.fish_s1_dac.CausalWNConv1d
Was class CausalWNConv1d(nn.Module); now class CausalWNConv1d(_WeightNorm). pypi.org - Signature changed
mlx_audio.codec.models.fish_s1_dac.fish_s1_dac.CausalWNConvTranspose1d
Was class CausalWNConvTranspose1d(nn.Module); now class CausalWNConvTranspose1d(_WeightNorm). pypi.org - Signature changed
mlx_audio.codec.models.fish_s1_dac.fish_s1_dac.WNConv1d
Was class WNConv1d(nn.Module); now class WNConv1d(_WeightNorm). pypi.org - Signature changed
mlx_audio.codec.models.fish_s1_dac.fish_s1_dac.WNConvTranspose1d
Was class WNConvTranspose1d(nn.Module); now class WNConvTranspose1d(_WeightNorm). pypi.org - Signature changed
mlx_audio.music.tests.test_generate.test_main_reads_lyrics_file
Was def test_main_reads_lyrics_file(tmp_path) -> None; now def test_main_reads_lyrics_file(tmp_path, verbose) -> None. pypi.org - Signature changed
mlx_audio.resample.resample_audio_chunks
Was def resample_audio_chunks(chunks: Iterable[np.ndarray], orig_sample_rate: int, sample_rate: int, num_input_frames: int, chunk_duration_seconds: float = 1.0) -> np.ndarray; now def resample_audio_chunks(chunks: Iterable[np.ndarray]... pypi.org - Signature changed
mlx_audio.server.audio_read
Was def read(file: Union[str, Path, io.BytesIO], always_2d: bool = False, dtype: str = 'float64', sample_rate: Optional[int] = None, nchannels: Optional[int] = None) -> Tuple[np.ndarray, int]; now def read(file: Union[str, Path... pypi.org - Signature changed
mlx_audio.server.stt_transcriptions
Was async def stt_transcriptions(request: Request, file: UploadFile = File(...), model: str = Form(...), language: Optional[str] = Form(None), verbose: bool = Form(False), max_tokens: Optional[int] = Form(None), chunk_duration: float =... pypi.org - Signature changed
mlx_audio.sts.models.nemotron_voicechat.session.load_audio
Was def load_audio(file: str = Optional[str], sr: int = SAMPLE_RATE, from_stdin=False, dtype: mx.Dtype = mx.float32); now def load_audio(file: str = Optional[str], sr: int = SAMPLE_RATE, from_stdin=False, dtype: mx.Dtype = mx.float32... pypi.org - Signature changed
mlx_audio.stt.models.granite_speech.config.EncoderConfig.__init__
Was def __init__(self, input_dim: int = 160, num_layers: int = 10, hidden_dim: int = 1024, feedforward_mult: int = 4, num_heads: int = 8, dim_head: int = 128, output_dim: int = 42, context_size: int = 200, max_pos_emb: int = 512, dropout... pypi.org - Signature changed
mlx_audio.stt.models.granite_speech.EncoderConfig.__init__
Was def __init__(self, input_dim: int = 160, num_layers: int = 10, hidden_dim: int = 1024, feedforward_mult: int = 4, num_heads: int = 8, dim_head: int = 128, output_dim: int = 42, context_size: int = 200, max_pos_emb: int = 512, dropout... pypi.org - Signature changed
mlx_audio.stt.models.granite_speech.granite_speech.Model.generate
Was def generate(self, audio: Union[str, mx.array, np.ndarray], *, max_tokens: int = 4096, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0, repetition_penalty: Optional[float] = None... pypi.org - Signature changed
mlx_audio.stt.models.granite_speech.Model.generate
Was def generate(self, audio: Union[str, mx.array, np.ndarray], *, max_tokens: int = 4096, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0, repetition_penalty: Optional[float] = None... pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.qwen3_asr.StreamingResult.__init__
Was def __init__(self, text: str, is_final: bool, start_time: float, end_time: float, language: str = 'en', prompt_tokens: int = 0, generation_tokens: int = 0) -> None; now def __init__(self, text: str, is_final: bool, start_time... pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.qwen3_asr.StreamingResult.end_time
Was end_time: float; now end_time: Optional[float]. pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.qwen3_asr.StreamingResult.start_time
Was start_time: float; now start_time: Optional[float]. pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.StreamingResult.__init__
Was def __init__(self, text: str, is_final: bool, start_time: float, end_time: float, language: str = 'en', prompt_tokens: int = 0, generation_tokens: int = 0) -> None; now def __init__(self, text: str, is_final: bool, start_time... pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.StreamingResult.end_time
Was end_time: float; now end_time: Optional[float]. pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.StreamingResult.start_time
Was start_time: float; now start_time: Optional[float]. pypi.org - Signature changed
mlx_audio.stt.utils.load_audio
Was def load_audio(file: str = Optional[str], sr: int = SAMPLE_RATE, from_stdin=False, dtype: mx.Dtype = mx.float32); now def load_audio(file: str = Optional[str], sr: int = SAMPLE_RATE, from_stdin=False, dtype: mx.Dtype = mx.float32... pypi.org - Signature changed
mlx_audio.tts.audio_player.AudioPlayer.stop_stream
Was def stop_stream(self); now def stop_stream(self, *, abort=False). pypi.org - Signature changed
mlx_audio.tts.generate.AudioPlayer.stop_stream
Was def stop_stream(self); now def stop_stream(self, *, abort=False). pypi.org - Signature changed
mlx_audio.tts.generate.generate_audio
Was def generate_audio(text: str, model: Optional[Union[str, nn.Module]] = None, max_tokens: Optional[int] = 1200, voice: str = 'af_heart', prompt: Optional[str] = None, instruct: Optional[str] = None, speed: float = 1.0, lang_code: str =... pypi.org - Signature changed
mlx_audio.tts.generate.load_audio
Was def load_audio(audio: Union[str, mx.array], sample_rate: int = 24000, length: Optional[int] = None, volume_normalize: bool = False, segment_duration: Optional[int] = None) -> mx.array; now def load_audio(audio: Union[str, mx.array]... pypi.org - Signature changed
mlx_audio.tts.models.dia.dia.KVCache
Was class KVCache; now class KVCache(_BaseCache). pypi.org - Signature changed
mlx_audio.tts.models.dia.dia.KVCache.__init__
Was def __init__(self, num_heads, max_len, head_dim, k=None, v=None); now def __init__(self). pypi.org - Signature changed
mlx_audio.tts.models.dia.dia.KVCache.update_and_fetch
Was def update_and_fetch(self, k, v); now def update_and_fetch(self, keys, values). pypi.org - Signature changed
mlx_audio.tts.models.dia.layers.Attention.__call__
Was def __call__(self, Xq: mx.array, Xkv: mx.array, q_positions: mx.array, kv_positions: Optional[mx.array] = None, deterministic: bool = True, attn_mask: Optional[mx.array] = None, cache: Optional[KVCache] = None, prefill: bool = False)... pypi.org - Signature changed
mlx_audio.tts.models.dia.layers.Decoder.__call__
Was def __call__(self, tgt_ids_BxTxC: mx.array, encoder_out: mx.array, tgt_positions: mx.array, src_positions: mx.array, deterministic: bool, self_attn_mask: mx.array, cross_attn_mask: mx.array, self_attention_cache: List[KVCache]... pypi.org - Signature changed
mlx_audio.tts.models.dia.layers.Decoder.decode_step
Was def decode_step(self, tgt_ids_Bx1xC: mx.array, tgt_pos_Bx1: mx.array, encoder_out: mx.array, self_attn_mask: Any, cross_attn_mask: mx.array, self_attention_cache: List[KVCache], cross_attention_cache: List[KVCache]) -> mx.array; now... pypi.org - Signature changed
mlx_audio.tts.models.dia.layers.Decoder.precompute_cross_attention_kv
Was def precompute_cross_attention_kv(self, max_len: int, encoder_out: mx.array, src_positions: Optional[mx.array]) -> List[KVCache]; now def precompute_cross_attention_kv(self, encoder_out: mx.array, src_positions: Optional[mx.array]) ->... pypi.org - Signature changed
mlx_audio.tts.models.dia.layers.DecoderLayer.__call__
Was def __call__(self, x: mx.array, encoder_out: mx.array, tgt_positions: mx.array, src_positions: Optional[mx.array], deterministic: bool, self_attn_mask: mx.array, cross_attn_mask: mx.array, self_attn_cache: KVCache, cross_attn_cache... pypi.org - Signature changed
mlx_audio.tts.models.dia.layers.KVCache
Was class KVCache; now class KVCache(_BaseCache). pypi.org
And 22 more in this version. Sign up to see every change
mlx-audio 0.5.0 breaking changes
- Removed
mlx_audio.tts.tests.test_models.TestIrodoriNormalizeText.test_trailing_kuten_stripped
TestIrodoriNormalizeText.test_trailing_kuten_stripped was removed in mlx-audio 0.5.0 pypi.org - Signature changed
mlx_audio.sts.models.lfm_audio.LFM2Config
Was from mlx_audio.sts.models.lfm_audio.config import LFM2Config; now class ModelArgs(BaseModelArgs). pypi.org - Signature changed
mlx_audio.stt.models.moss_transcribe_diarize.Model.generate
Was def generate(self, audio: Union[str, mx.array, np.ndarray, List[Union[str, mx.array, np.ndarray]]], *, max_tokens: int = 2048, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0, repetition_penalty... pypi.org - Signature changed
mlx_audio.stt.models.moss_transcribe_diarize.moss_transcribe_diarize.Model.generate
Was def generate(self, audio: Union[str, mx.array, np.ndarray, List[Union[str, mx.array, np.ndarray]]], *, max_tokens: int = 2048, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0, repetition_penalty... pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.qwen3_asr.Qwen3ASRModel.generate
Was def generate(self, audio: Union[str, mx.array, np.ndarray, List[Union[str, mx.array, np.ndarray]]], *, max_tokens: int = 8192, batch_size: int = 1, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0... pypi.org - Signature changed
mlx_audio.stt.models.qwen3_asr.Qwen3ASRModel.generate
Was def generate(self, audio: Union[str, mx.array, np.ndarray, List[Union[str, mx.array, np.ndarray]]], *, max_tokens: int = 8192, batch_size: int = 1, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0... pypi.org - Signature changed
mlx_audio.stt.models.vibevoice_asr.Model.generate
Was def generate(self, audio, *, context: Optional[str] = None, sampling_rate: Optional[int] = None, max_tokens: int = 8192, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0, min_tokens_to_keep: int = 1... pypi.org - Signature changed
mlx_audio.stt.models.vibevoice_asr.vibevoice_asr.Model.generate
Was def generate(self, audio, *, context: Optional[str] = None, sampling_rate: Optional[int] = None, max_tokens: int = 8192, temperature: float = 0.0, top_p: float = 1.0, top_k: int = 0, min_p: float = 0.0, min_tokens_to_keep: int = 1... pypi.org - Signature changed
mlx_audio.stt.models.whisper.Model.generate
Was def generate(self, audio: Union[str, np.ndarray, mx.array], *, verbose: Optional[bool] = None, language: Optional[str] = None, task: str = 'transcribe', chunk_duration: float = 1.0, stream: bool = False, generation_stream: bool =... pypi.org - Signature changed
mlx_audio.stt.models.whisper.whisper.Model.generate
Was def generate(self, audio: Union[str, np.ndarray, mx.array], *, verbose: Optional[bool] = None, language: Optional[str] = None, task: str = 'transcribe', chunk_duration: float = 1.0, stream: bool = False, generation_stream: bool =... pypi.org
And 14 more in this version. Sign up to see every change
mlx-audio 0.4.0 breaking changes
- Removed
mlx_audio.tts.models.qwen3_tts.qwen3_tts.RMSNorm
mlx_audio.tts.models.qwen3_tts.qwen3_tts.RMSNorm was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.CausalConv1d.dilation
CausalConv1d.dilation was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.CausalConv1d.groups
CausalConv1d.groups was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.CausalConv1d.in_channels
CausalConv1d.in_channels was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.CausalConv1d.kernel_size
CausalConv1d.kernel_size was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.CausalConv1d.kernel_size_val
CausalConv1d.kernel_size_val was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.CausalConv1d.out_channels
CausalConv1d.out_channels was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.DepthwiseConvWeight
mlx_audio.tts.models.qwen3_tts.speech_tokenizer.DepthwiseConvWeight was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.qwen3_tts.talker.RMSNorm
mlx_audio.tts.models.qwen3_tts.talker.RMSNorm was removed in mlx-audio 0.4.0 pypi.org - Removed
mlx_audio.tts.models.soprano.decoder.SopranoDecoder.dw_kernel
SopranoDecoder.dw_kernel was removed in mlx-audio 0.4.0 pypi.org
And 42 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.