feat(diffusers): add AudioLDM2 generation - #11513
Open
localai-org-maint-bot wants to merge 1 commit into
Open
Conversation
Expose diffusers audio pipelines through the existing sound-generation RPC. AudioLDM2 can now return PCM WAV output from the model gallery without a separate backend. Assisted-by: Codex:gpt-5
localai-org-maint-bot
force-pushed
the
cron/issue-1699-audioldm2
branch
from
August 14, 2026 18:03
aeba7e4 to
5e88911
Compare
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.
Description
This PR adds AudioLDM2 text-to-audio generation through the existing diffusers backend and
/v1/sound-generationAPI.SoundGenerationRPC and writes pipeline output as mono PCM WAVduration_secondstoaudio_length_in_sandprompt_influencetoguidance_scaleaudioldm2gallery model and user documentationCloses #1699
Notes for Reviewers
Verification:
python3 -m py_compile backend/python/diffusers/audio_utils.py backend/python/diffusers/backend.py backend/python/diffusers/test.pygo test ./core/config -ginkgo.focus="advertises diffusers sound generation"go test ./core/gallery -ginkgo.focus="gallery/index.yaml variant invariants|backend gallery entries are valid"git diff --checkThe full
go test ./core/configrun passes 500 of 501 specs here. Its existing remote-config validation fails because this environment receives HTTP 403 fromraw.githubusercontent.com.The full diffusers runtime test needs the backend environment and model dependencies; this cron did not run a long backend build.
Signed commits