Repository navigation
chore(deps): update ollama to 0.40.12 - #2397
Merged
Merged
Conversation
…bedding models Plan the change 2395-ollama-0-40-12. The new invariant test fails on ollama/ollama:0.34.4, which is below 0.40.4, the first release that runs a multimodal embedding model through llama-server on Linux. Refs #2395
Set the image of each ollama container and each own-model-directory init container to 0.40.12, which runs multimodal embedding models such as embeddinggemma-2 through llama-server on Linux. Refs #2395
The keep-alive rule in useLoadedRunner and load is the same in the 0.40.12 scheduler, so the source line names that release. Refs #2395
Owner
Author
How it was verifiedLocal, on this branch:
On the cluster, on 2026-10-28, with temporary pods of
Rollout after the merge: each tier stops its pod before the new pod starts, so each tier is down while its node pulls the image. Argo CD syncs all nine DaemonSets together. |
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.
Every Ollama tier and its
own-model-directoryinit container runollama/ollama:0.40.12in place of 0.34.4. Ollama 0.40.4 is the first release that runs a multimodal embedding model, such asembeddinggemma-2, throughllama-server, the runner on Linux. 0.34.4 cannot run that model.k8s/llm/profiles/ollama-profiles.yaml: the 18 image pins move to 0.40.12.ollama-release-pinand the invariant testtest_every_ollama_tier_runs_one_release_that_serves_multimodal_embedding_modelsrequire one image for every tier and init container, fromollama/ollama, at 0.40.4 or later. Every tier keeps its models in the node's/var/lib/ollama, so one release reads each store.0.40.12 reads the existing models where they are and copies none. It writes the manifest of a model pulled later to
manifests-v2, which 0.34.4 does not read. With the same KV cache type, itsqwen3-embedding:0.6bvectors match those of 0.34.4 (cosine 0.9995 or more), so the Qdrant collections stay valid. The proposal inopenspec/changes/archive/2026-10-28-2395-ollama-0-40-12/records the checks.Closes #2395