fix(gallery): correct gemma-4 model URIs returning 404#9379
Merged
mudler merged 1 commit intomudler:masterfrom Apr 16, 2026
Merged
fix(gallery): correct gemma-4 model URIs returning 404#9379mudler merged 1 commit intomudler:masterfrom
mudler merged 1 commit intomudler:masterfrom
Conversation
The gemma-4-26b-a4b-it, gemma-4-e2b-it, and gemma-4-e4b-it gallery entries pointed at files that do not exist on HuggingFace, so LocalAI fails with 404 when users try to install them. Two issues per entry: - mmproj filename uses the 'f16' quantization suffix, but ggml-org publishes the mmproj projectors as 'bf16'. - The e2b and e4b URIs hardcode lowercase 'e2b'/'e4b' in the filename component. HuggingFace file paths are case-sensitive and the real files use uppercase 'E2B'/'E4B'. Updated filename, uri, sha256, and the top-level 'mmproj' and 'parameters.model' references so every entry points at a real file and the declared hashes match the content. Verified each URI resolves (HTTP 302) and each sha256 matches the 'x-linked-etag' header returned by HuggingFace. Signed-off-by: Matt Van Horn <mvanhorn@gmail.com>
mudler
approved these changes
Apr 16, 2026
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 fixes #9361.
The gemma-4-26b-a4b-it, gemma-4-e2b-it, and gemma-4-e4b-it gallery entries point at files that do not exist on the upstream HuggingFace repos, so installing any of them fails with a 404. Multiple users in #9361 report the same behavior.
Two issues per entry:
e2b/e4bin the filename component. HuggingFace file paths are case-sensitive, and the real files use uppercaseE2B/E4B.Example of the current failing URL and the working one:
Updated
filename,uri,sha256, and the top-levelmmprojandparameters.modelreferences so every entry points at a real file and the declared hashes match the content.Notes for Reviewers
x-linked-etagheader per.agents/adding-gallery-models.md.Signed commits