Repository navigation
feat: add lfm3_audio for LFM3-Audio-2B ASR, TTS and S2S - #1119
Merged
Merged
Conversation
ykhrustalev
force-pushed
the
lfm3-audio
branch
2 times, most recently
from
October 27, 2026 22:01
1250c45 to
c4d3ad9
Compare
ykhrustalev
force-pushed
the
lfm3-audio
branch
2 times, most recently
from
October 28, 2026 04:08
51406b4 to
83cf1fc
Compare
ASR (with chat and thinking), TTS in 38 voices and multi-turn S2S. Loads Liquid's published llama.cpp GGUFs or the safetensors directory, found without --family. Also lets the llama BPE tokenizer read a GGUF vocabulary and a loader claim a model by its config ahead of generic file layouts.
ykhrustalev
force-pushed
the
lfm3-audio
branch
from
October 28, 2026 13:47
83cf1fc to
8aa257b
Compare
ykhrustalev
marked this pull request as ready for review
October 28, 2026 14:20
Owner
|
@ykhrustalev Thanks! No correctness blockers were found, so I've merged the PR to let users access the model early. Two things can be addressed in follow-up PRs:
Loader selection is a global change that alters existing default behavior. I’ll test it more thoroughly after merge. |
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Liquid AI released LFM3-Audio-2B, a speech recognition, TTS and spoken-chat model for 18 languages, with llama.cpp-format GGUFs. audio.cpp has no family for it.
Solution
lfm3_audiocommunity family: ASR with chat and thinking, TTS in 38 voices, multi-turn S2S, streaming TTS and S2Slfm3_audio_2b_q8_0by default) and WebUI ASR, TTS and S2S entriestokenizer.jsonignore_merges--familyTesting
test_lfm3_audio_{parity,asr,tts,s2s}against fp32 upstream references on CPU, CUDA and Metal, in F32 and every published type; CPU F32 reproduces greedy output exactly; per-stage numbers are indocs/models/lfm3_audio.mdctest: 155/155 on Linux CUDA; 149/150 on macOS Metal, wherefun_asr_nano_assets_testfails onmaintoo