Skip to main content

Local control plane for the IPEX-backed Ollama runtime.

Project description

ollama-ipex

Control plane for the IPEX-backed Ollama runtime.

Goal

  • Keep the same public endpoint as native Ollama: http://127.0.0.1:11434
  • Switch cleanly between native systemd Ollama and the IPEX Docker backend
  • Keep existing scripts using plain ollama unchanged
  • Replace shell helpers with an installable uv tool
  • Do not re-wrap native ollama commands like list, ps, or run

Source Of Truth

  • src/ipex/config.yaml: runtime defaults
  • docker-compose.yml: generic container template fed by the CLI config
  • src/ipex/cli.py: Typer/Rich control plane

Install

uv tool install --editable /home/kpihx/Work/AI/ollama/ipex

This exposes:

  • ollama-ipex

Usage

ollama-ipex status
ollama-ipex start
ollama list
ollama ps
ollama run phi4-mini:latest
ollama-ipex preload qwen2.5:latest
ollama-ipex logs --lines 200
ollama-ipex native
ollama-ipex down

After ollama-ipex start, use plain ollama ... commands. After ollama-ipex native, use the same plain ollama ... commands.

ollama-ipex start is intentionally verbose:

  • stop native Ollama if needed
  • recreate the Docker backend
  • wait for http://127.0.0.1:11434 to answer on the host
  • surface recent container logs immediately if the host probe never becomes healthy

Config

ollama-ipex config show
ollama-ipex config set docker.mem_limit 20g
ollama-ipex config set docker.shm_size 6g
ollama-ipex config set runtime.default_model qwen2.5:latest

Build

uv build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ollama_ipex-0.2.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ollama_ipex-0.2.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file ollama_ipex-0.2.0.tar.gz.

File metadata

  • Download URL: ollama_ipex-0.2.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ollama_ipex-0.2.0.tar.gz
Algorithm Hash digest
SHA256 22d6ddf52c9a9a8de1962d4dcb1b814f9be527e712f2d6b41b6b18fa98c763df
MD5 26db1024c155352e7f7341568791984a
BLAKE2b-256 37827c94d9272ee7e94498ee4476c9f9d52579e34201eb203c8cc0dd730ceb60

See more details on using hashes here.

File details

Details for the file ollama_ipex-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ollama_ipex-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ollama_ipex-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28d058a76beabc76eaa45921cc634d55e275e146b42c5323b9c5c6f4191f2803
MD5 937b4506231f0b417937cfac445c3252
BLAKE2b-256 fd8b47e7386708144186f7e09a99f6b5664c4709a15ba1f416d19823a6a82eb7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page