[GH-ISSUE #14727] ollama generate images failed in cuda 13.1 #35283

Open
opened 2026-04-22 19:40:52 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @panmcai on GitHub (Mar 9, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14727

What is the issue?

How to reproduce this problem?

ollama run x/z-image-turbo:bf16 "a cat holding a sign that says hello world"

The result is "Error: 500 Internal Server Error: Post "http://127.0.0.1:40927/completion": EOF"

ollama serve repoted MLX error: Failed to compile kernel: nvrtc: error: failed to open libnvrtc-builtins.so.13.0.

My cuda version is V13.1.80

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @panmcai on GitHub (Mar 9, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14727 ### What is the issue? # How to reproduce this problem? ollama run x/z-image-turbo:bf16 "a cat holding a sign that says hello world" The result is "Error: 500 Internal Server Error: Post "http://127.0.0.1:40927/completion": EOF" ollama serve repoted MLX error: Failed to compile kernel: nvrtc: error: failed to open libnvrtc-builtins.so.13.0. My cuda version is V13.1.80 ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-22 19:40:52 -05:00
Author
Owner

@sushilibdev commented on GitHub (Mar 9, 2026):

The issue is likely caused by the MLX build stage in the Dockerfile being pinned to CUDA 13.0, which creates a hard dependency on libnvrtc-builtins.so.13.0. Should we update the build environment to CUDA 13.1 to support newer drivers, or implement a symlink fallback in the Dockerfile to handle minor version mismatches?

<!-- gh-comment-id:4021751694 --> @sushilibdev commented on GitHub (Mar 9, 2026): The issue is likely caused by the MLX build stage in the Dockerfile being pinned to CUDA 13.0, which creates a hard dependency on libnvrtc-builtins.so.13.0. Should we update the build environment to CUDA 13.1 to support newer drivers, or implement a symlink fallback in the Dockerfile to handle minor version mismatches?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35283