localai 4.2.0#282016
Merged
Merged
Conversation
iMichka
approved these changes
May 11, 2026
Contributor
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
BrewTestBot
enabled auto-merge
May 11, 2026 16:20
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.
Created by
brew bumpCreated with
brew bump-formula-pr.Details
release notes
/v1/voice/*. Verify, identify, embed and analyze speakers./v1/audio/diarizationendpoint, "who spoke when?" via sherpa-onnx + vibevoice.cpp.ollamaclient straight at LocalAI.stable-diffusion.ggmlnow generates video (i2v, first-last-frame).engine_args.🚀 New Features & Major Enhancements
🎙️ Voice Recognition
LocalAI is now ears-on. New
/v1/voice/*endpoints let you verify, identify, analyze and embed speakers, powered by a SpeechBrain + ONNX Python backend.voice.mp4
👤 Face Recognition & Antispoofing
A complete face-biometrics pipeline, built on InsightFace + ONNX.
face.mp4
🎬 Diarization & a smarter audio pipeline
Audio is a first-class citizen now.
/v1/audio/diarization, segments speech by speaker turn (sherpa-onnx + vibevoice.cpp)abort_callback. Stop a transcription mid-flight and free the GPU./v1/audio/transcriptions.segments,durationandlanguageon the final event.🦙 Ollama drop-in API
Point your existing Ollama client at LocalAI. Everything keeps working. Another front door, same engine.
🎬 Video Generation
The
stable-diffusion.ggmlbackend now generates video, with curated gallery entries for Wan 2.1 FLF2V 14B 720P and Wan i2v 720p, plus a newstablediffusion-ggml-developmentmeta backend to track the cutting edge.🎨 React UI: total refresh
A massive UI cycle landed in 4.2:
chat.mp4
i18n.mp4
🔄 Backend & model lifecycle
importer.mp4
model-editor.mp4
🧪 New Backends!
⚡ vLLM at parity (and beyond)
engine_args, the fullAsyncEngineArgsexposed via a generic YAML mapsplit_modefor explicit multi-GPU placementModelMetadata🛰️ Distributed Mode v2
Distributed mode keeps maturing. This release was a hardening pass across the orchestration loop:
backend.upgradeno longer piggybacks on installRoute()and applied during autoscale🔐 Auth & Security
ApiKeysare stripped before persisting (no accidental leaks)sprintf()in the C++ grpc servergo-oidc/v3to 3.18.0Assisted-by:trailer, no AI co-authors)🖥️ Hardware & deployment
AMDGPU_TARGETSexposed as a build-arg🛠️ Under the Hood
new-from-merge-base) keeps drift in checktool_callIDs in deferred flushesmodelas a query parameterreasoningconfigtempfile.gettempdir()instead of hardcoded/tmp🐞 Notable fixes
tool_choiceand uses the correct setterserver-chat.cppincluded in grpc-server TU,common -> llama-commonrename, turboquantcommon.hdetectioncommon_grammarinsampling.h, patchedclip.cppfor the newggml_quantize_chunksignatureface_verify,face_analyze,audio_transcription_stream), CI publishResponseSetFunctionCallNameStringwhen forcing a specific toolDownloadFileerrorsdraft_modelpaths against the models dirAMDGPU_TARGETSthrough the backend workflow, switch gallery-agent tosigs.k8s.io/yaml, recover rerankers + vllm-omni on aarch64, unbreak master CI for docs/kokoros/vibevoice-cpp ABI🆕 Gallery additions
🚀 The Complete Local Stack for Privacy-First AI
LocalAI
The free, Open Source OpenAI alternative. Drop-in REST API compatible with OpenAI specs for local AI inferencing. No GPU required.
Link: https://github.com/mudler/LocalAI
LocalAGI
Local AI agent management platform. Drop-in for OpenAI's Responses API, with advanced agentic capabilities and a no-code UI.
Link: https://github.com/mudler/LocalAGI
LocalRecall
RESTful API and knowledge-base management providing persistent memory and storage for AI agents. Pairs with LocalAI and LocalAGI.
Link: https://github.com/mudler/LocalRecall
❤️ Thank You
LocalAI is a true FOSS movement, built by contributors, powered by community.
If you believe in privacy-first, self-hosted AI:
Your support keeps this stack alive.
✅ Full Changelog
📋 Click to expand full changelog
What's Changed
Bug fixes :bug:
Exciting New Features 🎉
View the full release notes at https://github.com/mudler/LocalAI/releases/tag/v4.2.0.