Pin ollama in CI to stop the intermittent runner segfault#595
Merged
Conversation
The integration warm-up ('ollama run qwen3:0.6b') intermittently segfaults in
ollama's own runner. It installs unpinned latest on every run, so a bad release
can land mid-run and the version drifts underneath us. Pin all three OS installs
to 0.31.2 (last 0.31 stable, before the 0.32 line the crashes were seen on) via
OLLAMA_VERSION for the Linux install.sh and versioned GitHub release URLs for
macOS/Windows, and fold the pin into the Windows binary-cache key so a stale
cached binary can't defeat it.
Removing LD_LIBRARY_PATH (an earlier attempt) did not stop the crash, so this
tests whether the version is the variable. If it still segfaults on a pinned
version the cause is environmental and a warm-up retry is the next step.
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.
Problem
ollama run qwen3:0.6b) intermittently segfaults in ollama's own runner.LD_LIBRARY_PATH(earlier attempt) did not stop it.Solution
0.31.2(last 0.31 stable, before the 0.32 line the crashes were seen on):OLLAMA_VERSIONfor the Linuxinstall.sh, versioned GitHub release URLs for macOS/Windows.Tests whether the version is the variable. If it still segfaults on the pin, the cause is environmental and a warm-up retry is next.