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
src/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-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: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 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
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
ollama_ipex-0.2.0.tar.gz
(6.8 kB
view details)
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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d6ddf52c9a9a8de1962d4dcb1b814f9be527e712f2d6b41b6b18fa98c763df
|
|
| MD5 |
26db1024c155352e7f7341568791984a
|
|
| BLAKE2b-256 |
37827c94d9272ee7e94498ee4476c9f9d52579e34201eb203c8cc0dd730ceb60
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28d058a76beabc76eaa45921cc634d55e275e146b42c5323b9c5c6f4191f2803
|
|
| MD5 |
937b4506231f0b417937cfac445c3252
|
|
| BLAKE2b-256 |
fd8b47e7386708144186f7e09a99f6b5664c4709a15ba1f416d19823a6a82eb7
|