ollama-ipex
Control plane for the IPEX-backed Ollama runtime.
- GitHub: https://github.com/kpihx-labs/ollama-ipex
- GitLab: https://gitlab.com/kpihx-labs/ollama-ipex
- PyPI: https://pypi.org/project/ollama-ipex/
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
Metadata
Release files for ollama-ipex 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ollama_ipex-0.2.4.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ollama_ipex-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / ollama_ipex-0.2.4.tar.gz
| Download URL | ollama_ipex-0.2.4.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0965bf049cdf82465b1196a44b54b9672f7c65e488e523f95aa3789f1764c015
|
|
BLAKE2b-256 checksum How to use checksums |
9028b361b589fd5c577d923fb78b1feec0a9f107abc5a41493ffecace504861e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ollama_ipex-0.2.4-py3-none-any.whl
| Download URL | ollama_ipex-0.2.4-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dd5c72a7202b5fc499e60e763268219f79cadff2571262db2a501241a449d3e
|
|
BLAKE2b-256 checksum How to use checksums |
05ca32cd621beda4831a2f7af62e97417280a1dad4b9769e4d6e13862bb5be61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|