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
ollamaunchanged - Replace shell helpers with an installable
uvtool - Do not re-wrap native
ollamacommands likelist,ps, orrun
Source Of Truth
AGENTS.md: project-level agent contractsrc/ipex/config.yaml: runtime defaultsdocker-compose.yml: generic container template fed by the CLI configsrc/ipex/cli.py: Typer/Rich control plane
Install
uv tool install --editable /home/kpihx/Work/AI/ollama/ipex
This exposes:
ollama-ipexipex
Usage
ollama-ipex status
ollama-ipex start
ollama list
ollama ps
ollama run phi4-mini:latest
ollama-ipex preload --default
ollama-ipex preload qwen2.5:latest
ollama-ipex unload --all
ollama-ipex doctor
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:11434to answer on the host - surface recent container logs immediately if the host probe never becomes healthy
Config
ollama-ipex config show
ollama-ipex config edit
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
config edit opens the live YAML file with VISUAL, then EDITOR, then sensible-editor, then nano, then vi.
Build
uv build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ollama_ipex-0.2.3.tar.gz.
File metadata
- Download URL: ollama_ipex-0.2.3.tar.gz
- Upload date:
- Size: 8.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e725bc91287dad56e930a8140f3590806efff9056455a1b649cd5d8028018b9c
|
|
| MD5 |
815af21a29982d678f5611ed1e096f4f
|
|
| BLAKE2b-256 |
5e295366f16c5994372b759d58655f5b1cce4a67a60e95b12f40a222d7e4495f
|
File details
Details for the file ollama_ipex-0.2.3-py3-none-any.whl.
File metadata
- Download URL: ollama_ipex-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ed21394de21370f7f17dc32e257756b8f01b067cc5f91aa0cf6861666bd8f00
|
|
| MD5 |
266efa0442db621cfa6b1090ce7f4796
|
|
| BLAKE2b-256 |
186835c5cf5cd696bff9a5e3361db418051ae4b97d2d218b135581451616b46f
|