Files
LocalAI/gallery/liquid-audio.yaml
LocalAI [bot] bcc41219f7 feat: materialize Hugging Face model artifacts (#10825)
* feat(config): add model artifact source contract

Assisted-by: Codex:GPT-5 [Codex]

* feat(downloader): add authenticated raw-byte progress

Assisted-by: Codex:GPT-5 [Codex]

* feat(huggingface): resolve immutable snapshot manifests

Assisted-by: Codex:GPT-5 [Codex]

* feat(models): add artifact storage primitives

Assisted-by: Codex:GPT-5 [Codex]

* feat(models): materialize pinned Hugging Face snapshots

Assisted-by: Codex:GPT-5 [Codex]

* feat(models): bind managed snapshots at runtime

Assisted-by: Codex:GPT-5 [Codex]

* feat(gallery): materialize model artifacts during install

Assisted-by: Codex:GPT-5 [Codex]

* feat(gallery): declare managed Hugging Face artifacts

Assisted-by: Codex:GPT-5 [Codex]

* feat(models): preload managed model artifacts

Assisted-by: Codex:GPT-5 [Codex]

* fix(gallery): retain shared artifact caches on delete

Assisted-by: Codex:GPT-5 [Codex]

* feat(models): report artifact acquisition progress

Assisted-by: Codex:GPT-5 [Codex]

* refactor(backends): load managed models from ModelFile

Assisted-by: Codex:GPT-5 [Codex]

* refactor(backends): load staged speech model snapshots

Assisted-by: Codex:GPT-5 [Codex]

* refactor(backends): use staged snapshots in engine backends

Assisted-by: Codex:GPT-5 [Codex]

* test(distributed): cover staged artifact snapshots

Assisted-by: Codex:GPT-5 [Codex]

* docs: explain managed model artifacts

Assisted-by: Codex:GPT-5 [Codex]

* docs: add product design context

Assisted-by: Codex:GPT-5 [Codex]

* feat(ui): show model artifact download progress

Assisted-by: Codex:GPT-5 [Codex]

* Eagerly materialize Hugging Face artifacts

Materialize HF-backed model references as managed GGUF artifacts during load, with lazy download retained only as fallback.

Assisted-by: Codex:GPT-5 [shell]

* Refactor HF
  downloads through a shared executor

Assisted-by: Codex:GPT-5 [shell]

* drop

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
2026-07-15 01:09:33 +02:00

47 lines
1.5 KiB
YAML

---
name: "liquid-audio"
description: |
LiquidAI LFM2 / LFM2.5 Audio models served by the Python `liquid-audio` backend.
Supports four roles via the `mode:` option:
- chat text-only chat completion (generate_sequential, no audio)
- asr speech-to-text (Perform ASR. system prompt)
- tts text-to-speech in 4 baked voices (us_male/us_female/uk_male/uk_female)
- s2s interleaved speech-to-speech (the realtime any-to-any path)
license: "LFM Open License v1.0"
urls:
- https://huggingface.co/LiquidAI/LFM2.5-Audio-1.5B
- https://github.com/Liquid4All/liquid-audio
config_file: |
backend: liquid-audio
context_size: 32768
f16: true
mmap: true
# realtime_audio surfaces the model on the Talk page; chat/tts/transcript
# let it also serve the standalone /v1/chat/completions, /v1/audio/speech,
# and /v1/audio/transcriptions endpoints (backend implements all three).
known_usecases:
- realtime_audio
- chat
- tts
- transcript
- vad
parameters:
model: LiquidAI/LFM2.5-Audio-1.5B
artifacts:
- name: model
target: model
source:
type: huggingface
repo: LiquidAI/LFM2.5-Audio-1.5B
# Special tokens emitted in the text track during interleaved generation.
# Included so a future client-side parser can spot them; the LFM2 tool-call
# format itself is auto-detected by the upstream llama.cpp parser when the
# model loads under that backend.
stopwords:
- <|im_end|>
- <|endoftext|>