Run frontier MoE models on hardware you already own โ pure C, zero deps, experts streamed from disk. Tiny engine, immense model. ๐ฆ
docker pull library/colibri
docker run -d --name colibri -p 5000:5000 --restart always colibri
podman run -d --name colibri -p 5000:5000 --restart always colibri
skopeo inspect docker://docker.io/library/colibri:latest
oras pull colibri
docker compose up -d
# colibri โ OpenAI-compatible server in one command.
#
# MODEL_DIR=/nvme/glm52_i4 docker compose -f docker/docker-compose.yml up
#
# Then: curl http://localhost:5000/v1/chat/completions -d '{"model":"glm-5.2",
# "messages":[{"role":"user","content":"Hi"}]}'
#
# The model is bind-mounted read-only from MODEL_DIR on the host โ keep it on
# NVMe/ext4, never a network mount (expert streaming is latency-bound).
services:
colibri:
build:
context: ..
dockerfile: docker/Dockerfile.slim
image: colibri
ports:
- "5000:5000"
volumes:
- "${MODEL_DIR:?set MODEL_DIR to the int4 model directory}:/model:ro"
environment:
# RAM budget in GB: more cached experts = faster. Size to the host.
COLI_RAM: "${COLI_RAM:-24}"
command:
- serve
- --host
- 0.0.0.0
- --model-id
- glm-5.2
- --ram
- "${COLI_RAM:-24}"
restart: unless-stopped
# Streaming a 744B model touches a lot of page cache; give it headroom.
shm_size: "2gb"