Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mudler/LocalAI
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.5.4
Choose a base ref
...
head repository: mudler/LocalAI
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.5.5
Choose a head ref
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on Jun 27, 2026

  1. fix(backends): repair release CI build/test breaks (kokoros, fish-spe…

    …ech, llama-cpp-quantization, sglang) (#10547)
    
    * fix(kokoros): implement new Backend RPCs to fix the build
    
    The backend.proto grew six RPCs (SoundDetection, Depth, TokenClassify,
    Score and the bidi-streaming Forward) that the kokoros gRPC service never
    implemented, so the trait impl no longer satisfies `Backend`:
    
        error[E0046]: not all trait items implemented, missing:
          `sound_detection`, `depth`, `token_classify`, `score`,
          `ForwardStream`, `forward`
    
    kokoros is a TTS backend with no use for these, so add `unimplemented`
    stubs (plus the `ForwardStream` associated type) matching the existing
    pattern for every other unsupported RPC in this file.
    
    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    Assisted-by: Claude:claude-opus-4-8 [Claude Code]
    
    * fix(fish-speech): add setuptools-rust for the editable source install
    
    install.sh installs the fish-speech source tree editable with
    `--no-build-isolation`, which means the build backends of its transitive
    dependencies must already be present in the venv. One of them builds a
    Rust extension and its metadata step fails with:
    
        ModuleNotFoundError: No module named 'setuptools_rust'
    
    Add setuptools-rust to requirements.txt so installRequirements provisions
    it before the editable install runs.
    
    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    Assisted-by: Claude:claude-opus-4-8 [Claude Code]
    
    * fix(llama-cpp-quantization): vendor convert_hf_to_gguf.py with conversion/
    
    Upstream llama.cpp split the model-specific logic out of the single
    convert_hf_to_gguf.py file into a sibling `conversion/` package, so the
    script now starts with `from conversion import ...`. Downloading just the
    one file therefore fails at runtime with:
    
        ModuleNotFoundError: No module named 'conversion'
    
    Clone the repo (reusing the clone already needed to build llama-quantize)
    and copy both the script and the `conversion/` package into the backend
    dir. Python puts the script's own directory on sys.path[0], so the package
    resolves when it sits beside the script.
    
    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    Assisted-by: Claude:claude-opus-4-8 [Claude Code]
    
    * fix(sglang): pin the CPU source build to sglang v0.5.11
    
    The CPU profile builds sgl-kernel from a `git clone` of sglang with no
    ref, so it always tracks master. Recent master added CPU kernels (e.g.
    mamba/fla.cpp) that fail to compile in our builder:
    
        constexpr variable 'scale' must be initialized by a constant
        static library kineto_LIBRARY-NOTFOUND not found
    
    Pin the clone to v0.5.11, the same release the GPU path already floors on
    (requirements-cublas12-after.txt). Overridable via SGLANG_VERSION so the
    pin can be bumped deliberately.
    
    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    Assisted-by: Claude:claude-opus-4-8 [Claude Code]
    
    ---------
    
    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
    localai-bot and mudler authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    0258f8a View commit details
    Browse the repository at this point in the history
  2. chore(model gallery): 🤖 add 1 new models via gallery agent (#10544)

    chore(model gallery): 🤖 add new models via gallery agent
    
    Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
    localai-bot and mudler authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    e95018e View commit details
    Browse the repository at this point in the history
  3. fix(backends): whisper darwin run.sh loads whichever fallback lib exi…

    …sts (.so/.dylib) (#10553)
    
    fix(backends): whisper darwin run.sh loads whichever fallback lib exists
    
    The macOS branch hardcoded WHISPER_LIBRARY=$CURDIR/libgowhisper-fallback.dylib,
    but the cmake build emits a Mach-O named libgowhisper-fallback.so on darwin, so
    the Go loader panicked at runtime ("dlopen ...dylib: no such file") and the
    backend exited ("grpc service not ready") — breaking e.g. the silero-vad-ggml
    VAD on darwin. Pick whichever of .dylib/.so is present so it is robust to the
    build's naming either way.
    
    Assisted-by: Claude:claude-opus-4-8
    
    Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
    Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
    localai-bot and mudler authored Jun 27, 2026
    Configuration menu
    Copy the full SHA
    d11b202 View commit details
    Browse the repository at this point in the history
Loading