GitHub Repo
Transformers Advances Native Integration for LFM3-Audio; Audio Codec and Training Tests Still Need Fixes
On November 19, Transformers proposed separate code changes to integrate LiquidCodec and LFM3-Audio, with updates and reviews continuing the next day. Both proposals remain unmerged, and current models still load through custom code.
Hugging Face Transformers is advancing native support for Liquid AI speech models. Two proposals opened on November 19: #50987 integrates LiquidCodec first, then #50988 builds LFM3-Audio on top of that branch. Code updates and testing continued on November 20. Contributors explained that the work moves code from an existing proposal into a new dependency structure; it is framework integration progress, as the model itself was released earlier. Integration proposal
The split reflects two layers of a speech system: the codec converts between audio and discrete tokens, while the speech model handles understanding, generation, and tool calls. Making LiquidCodec a separate prerequisite proposal allows the two components to be reviewed independently. If the proposals are merged, engineering teams could spend less effort maintaining custom model implementations, though that benefit is expected only after integration is complete. Codec proposal
The official model card lists LFM3-Audio-2B at about 2 billion parameters, with a causal audio encoder, 16 kHz audio input, 24 kHz speech output, and a combined input and output context capacity of 32K tokens. It supports streaming speech generation and incremental prefill, making it suitable for exploring local speech agents. However, multilingual transcription, synthesis, and translation coverage should be distinguished from speech conversation capabilities: the model card explicitly says current voice chat supports English only. Official model card
As of this review, both proposals remain open. CI comments from November 20 show LiquidCodec failing encoding and batch encoding tests on both NVIDIA and AMD, while LFM3-Audio has a failing training integration test. These results do not establish that existing public weights cannot be used for inference, but they indicate that native integration has not yet passed full validation. Codec test status, Audio test status
For now, deployments should follow the model card and use trust_remote_code=True, pinning verified code and weight versions. Next, watch for test fixes, the merging of both proposals, and the first official package release; a model card that lists Transformers support alone does not mean native support is already available.
Sources
- Trainer: after resume_from_checkpoint=<older>, a crash while re-saving checkpoint-N can silently mix two runs
- Trainer features — Resume training
- Beam sampling can miss high-scoring EOS candidates because sampled beams aren't sorted
- fix(generation): sort sampled beam candidates before finalization
- Generation strategies
- Add LFM3-Audio — Transformers PR #50988
- Add Liquid Codec — Transformers PR #50987
- LiquidAI/LFM3-Audio-2B 官方模型卡