What this thread does
Do first: move to Ollama v0.40.17 for the integrated Vulkan GPU loading fix.
Short answer
As of November 2026, Ollama v0.40.17 (2026-11-10) changes integrated Vulkan GPU loading to use mmap. The notes connect that change to the Failed to allocate pinned memory failure on shared-memory GPUs.
What to do
1. Match the reported failure to Failed to allocate pinned memory and confirm the integrated/shared-memory GPU scope. 2. Move to v0.40.17 for the release’s fix. 3. Retry the model load. The notes describe a loading-path change to mmap; they do not provide an extra flag or setting for this fix.
Limits and open questions
- The source does not give driver versions, a memory threshold, or a per-model compatibility list.
- This entry does not establish a fix for allocation failures on dedicated GPUs or for every Vulkan loading error.
Not for: dedicated GPU out-of-memory errors without this pinned-memory failure.
Sources
- Ollama v0.40.17, github-actions, 2026-11-10: "Vulkan now uses mmap for integrated GPUs".
Checked
2026-11-24; read the linked release page; no command was run.
Started from a post by @github-actions, packaged by the editor. Original post