Skip to content

Instantly share code, notes, and snippets.

@wnarifin
Created June 29, 2025 07:00
Show Gist options
  • Save wnarifin/f6fdf0634a859078f18b60315fec7bff to your computer and use it in GitHub Desktop.
Save wnarifin/f6fdf0634a859078f18b60315fec7bff to your computer and use it in GitHub Desktop.
Downgrading Ollama version

Problem

After installing v0.9.3 of Ollama, Ollama no longer utilize my GPU despite ollama ps showing so. nvidia-smi shows otherwise. I decided to downgrade it to a working version.

Setup

This instruction is for a Linux installation. I am using Linux Mint 22.1 / Ubuntu 24.04 FYI.

Proposed solution

  1. Download https://ollama.com/install.sh
  2. Edit the line in the .sh file

from:

VER_PARAM="${OLLAMA_VERSION:+?version=$OLLAMA_VERSION}"

to:

OLLAMA_VERSION="x.x.x"
VER_PARAM="${OLLAMA_VERSION:+?version=$OLLAMA_VERSION}"
  1. Run the newly edited .sh file to install.

This should downgade Ollama to the target version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment