From c75c608f90986c37d4d991b671f66a82a0c5cfa0 Mon Sep 17 00:00:00 2001 From: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com> Date: Mon, 26 Oct 2026 18:05:16 +0000 Subject: [PATCH] fix(gallery): pin Stable Audio SFX weights The mutable upstream download no longer matches the gallery checksum. Pin the file to an immutable revision with the published expected hash. Regenerate the compatibility gallery and document installation. Fixes #12924 Assisted-by: Codex:gpt-6 (cherry picked from commit 800855297bdf7303342e8c573d2014f78f0fab8f) Signed-off-by: Ettore Di Giacinto --- docs/content/features/audio-cpp.md | 13 +++++++++++++ gallery/index.yaml | 2 +- gallery/models/index.yaml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/content/features/audio-cpp.md b/docs/content/features/audio-cpp.md index 0e3720dd7..2f5f1839d 100644 --- a/docs/content/features/audio-cpp.md +++ b/docs/content/features/audio-cpp.md @@ -49,6 +49,19 @@ If installation fails with `SHA mismatch`, compare the reported metadata checksu with the current gallery entry. An outdated gallery checksum can reject a complete download. Report a persistent mismatch with both checksum values and the model name. +### Stable Audio SFX installation + +Install the Stable Audio 3 Small SFX model for text-to-sound generation: + +```bash +local-ai models install audio-cpp-stable-audio-sfx +``` + +The gallery pins the Q8_0 file to an immutable upstream revision that matches +its SHA256 checksum. Changes to the upstream `main` branch do not change this +download. Use this model with `/v1/sound-generation` and set `duration_seconds` +to control the sound length. + ## What it serves One model serves one family, and a family advertises the tasks it can perform. The diff --git a/gallery/index.yaml b/gallery/index.yaml index 776333e31..1b7a9e9ea 100644 --- a/gallery/index.yaml +++ b/gallery/index.yaml @@ -74080,7 +74080,7 @@ files: - filename: audio-cpp/stable-audio-3-small-sfx-q8_0.gguf sha256: 5bb1ec653134e63dac46264e336ae198a2590195fc996fcd0605021215e9b26f - uri: huggingface://audio-cpp/audio.cpp-gguf/Stable-Audio-3-Small-SFX-GGUF/stable-audio-3-small-sfx-q8_0.gguf + uri: https://huggingface.co/audio-cpp/audio.cpp-gguf/resolve/199a4a17b9e16d6b8c3cad4a982327b031e5cf8d/Stable-Audio-3-Small-SFX-GGUF/stable-audio-3-small-sfx-q8_0.gguf overrides: backend: audio-cpp known_usecases: diff --git a/gallery/models/index.yaml b/gallery/models/index.yaml index a79d8ef54..c30983c45 100644 --- a/gallery/models/index.yaml +++ b/gallery/models/index.yaml @@ -91173,7 +91173,7 @@ files: - filename: audio-cpp/stable-audio-3-small-sfx-q8_0.gguf sha256: 5bb1ec653134e63dac46264e336ae198a2590195fc996fcd0605021215e9b26f - uri: huggingface://audio-cpp/audio.cpp-gguf/Stable-Audio-3-Small-SFX-GGUF/stable-audio-3-small-sfx-q8_0.gguf + uri: https://huggingface.co/audio-cpp/audio.cpp-gguf/resolve/199a4a17b9e16d6b8c3cad4a982327b031e5cf8d/Stable-Audio-3-Small-SFX-GGUF/stable-audio-3-small-sfx-q8_0.gguf overrides: backend: audio-cpp known_usecases: