Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kuberay/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description: >
enabling single-node and multi-node configurations without touching YAML.
type: application
version: 0.1.0
appVersion: "2.40.0"
appVersion: "2.60.1"
keywords:
- ray
- distributed
Expand Down
2 changes: 1 addition & 1 deletion charts/kuberay/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cluster:

# Ray container image — version must match the ray[default] package installed
# in any client that connects.
rayImage: rayproject/ray:2.40.0-py312
rayImage: rayproject/ray:2.60.1-py312

# ---------------------------------------------------------------------------
# Head node — acts as coordinator / scheduler only.
Expand Down
2 changes: 1 addition & 1 deletion charts/openshell/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) 2025-2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# EAT overlay for the upstream OpenShell Helm chart (oci://ghcr.io/nvidia/openshell/helm-chart).
# EAT overlay for the upstream OpenShell Helm chart (oci://quay.io/ai-openshell/charts/openshell; images from quay.io/ai-openshell).
# Namespace, image tag, proxy, auth and node placement are set by the openshell role.

global:
Expand Down
2 changes: 1 addition & 1 deletion charts/pgvector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
image:
repository: pgvector/pgvector
tag: pg16
tag: 0.8.7-pg16 # pgvector 0.8.7 on PostgreSQL 16; same image as the floating pg16 tag on 2026-12-01
pullPolicy: IfNotPresent

auth:
Expand Down
4 changes: 2 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pgvector_storage_size: "20Gi"

# --- Agent Sandbox ---
agent_sandbox_namespace: "agent-sandbox-system" # fixed: the upstream manifests and sandbox templates use this namespace
agent_sandbox_version: "v1.0.10"
agent_sandbox_version: "v1.0.12"

# --- OpenShell ---
openshell_enabled: false
Expand All @@ -65,7 +65,7 @@ litellm_allow_pod_network: "{{ openshell_enabled | bool }}"
# --- KubeRay (optional — disabled by default) ---
kuberay_enabled: false
kuberay_namespace: "ray-system"
kuberay_operator_version: "1.3.0"
kuberay_operator_version: "1.8.0"

# --- Istio mesh ---
# Namespaces LiteLLM admits; add your own ambient-labelled agent namespace here.
Expand Down
20 changes: 7 additions & 13 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ serving_engine=vllm # default

| | `vllm` | `openvino` |
|---|---|---|
| Image | `vllm/vllm-openai-cpu:v0.24.0` | `openvino/model_server:2025.4.1` (+ `-py` for runtime conversion) |
| Image | `vllm/vllm-openai-cpu:v0.28.0` | `openvino/model_server:2026.4.1` (serves OpenVINO IR models only) |
| Model config library | `docker/model-configs.yaml` | `docker/ovms-model-configs.yaml` |
| Generated compose file | `docker/docker-compose.vllm.yml` | `docker/docker-compose.ovms.yml` |
| Containers | `agentic-vllm-<served_name>` | `agentic-ovms-<served_name>` |
| Model API path | `/v1` | `/v3` |
| Health endpoint | `/health` | `/v2/health/ready` |
| Speech-to-text (`openai/whisper-small`) | supported | **not supported** (no such task in OVMS 2025.4) |
| Speech-to-text (`openai/whisper-small`) | supported | **not supported** (this Compose setup serves speech models with vLLM only) |

Switching the engine and redeploying is safe: the generator deletes the other engine's compose file and `deploy.sh` force-removes its leftover model containers so the model ports are freed. Model caches live in named volumes and are **not** deleted, so switching back does not re-download anything.

#### OpenVINO specifics

* **Pre-converted models start fast.** Model IDs under the `OpenVINO/` organization (e.g. `OpenVINO/Qwen3-8B-int4-ov`) are already in OpenVINO IR format — OVMS downloads and serves them directly, in minutes and on a fraction of the memory. Check that the repo actually exists before using it: the org mirrors permissively-licensed models only, so there are **no `OpenVINO/Llama-3.x-*-ov` repos**. For gated families like Llama, use the upstream `meta-llama/...` ID and let OVMS convert it.
* **Everything else is converted on first start.** Any other HuggingFace checkpoint is exported and quantized with `optimum-cli` inside the container. That can take **30+ minutes** and temporarily needs roughly the memory of the original fp16 checkpoint, which is why memory limits in `ovms-model-configs.yaml` stay high even for `int4` output. Converted weights are cached in the per-model Docker volume, so later starts only load the model. The container healthcheck allows a 30-minute grace period for this.
* **Tool calling** covers the `llama3`, `hermes3`, and `phi4` templates in OVMS 2025.4. Models without a matching parser still serve chat completions, just without automatic `tool_calls` extraction. (The `tool_call_parser` setting in `config.cfg` applies to vLLM only.)
* **Pre-converted models start fast.** Model IDs under the `OpenVINO/` organization (e.g. `OpenVINO/Qwen3-8B-int4-ov`) are already in OpenVINO IR format — OVMS downloads and serves them directly, in minutes and on a fraction of the memory. Check that the repo actually exists before using it: the org mirrors permissively-licensed models only, so there are **no `OpenVINO/Llama-3.x-*-ov` repos**. For families without an IR repo, like Llama, use `serving_engine=vllm`.
* **No conversion.** As in the Inference Toolkit, one OVMS image (`2026.4.1`) is used, without the `-py` (optimum-cli) image, so it serves OpenVINO IR models only. The models in `ovms-model-configs.yaml` point `source_model` at their `OpenVINO/*` repo.
* **Tool calling** in this setup uses the `llama3`, `hermes3`, and `phi4` OVMS tool parsers (`tool_parser` in `ovms-model-configs.yaml`). Models without a matching parser still serve chat completions, just without automatic `tool_calls` extraction. (The `tool_call_parser` setting in `config.cfg` applies to vLLM only.)

```bash
# Fastest OpenVINO path: pre-converted IR weights, no runtime conversion
Expand Down Expand Up @@ -128,17 +128,11 @@ With `serving_engine=openvino`, tuned configurations live in `docker/ovms-model-
| `OpenVINO/Qwen2.5-1.5B-Instruct-int4-ov` | text_generation | Pre-converted IR — fast start |
| `OpenVINO/Qwen3-1.7B-int4-ov` | text_generation | Pre-converted IR — fast start |
| `OpenVINO/Qwen3-8B-int4-ov` | text_generation | Pre-converted IR — fastest start at 8B |
| `meta-llama/Llama-3.2-1B-Instruct` | text_generation | int4, `llama3` tool parser |
| `Qwen/Qwen2.5-Coder-14B-Instruct` | text_generation | int4, `hermes3` tool parser |
| `Qwen/Qwen3-Coder-30B-A3B-Instruct` | text_generation | int4, `hermes3` tool parser |
| `Qwen/Qwen3-30B-A3B-Instruct-2507` | text_generation | int4, `hermes3` tool parser |
| `meta-llama/Llama-3.1-8B-Instruct` | text_generation | int4, `llama3` tool parser |
| `meta-llama/Llama-3.2-3B-Instruct` | text_generation | int4, `llama3` tool parser |
| `google/gemma-4-26B-A4B-it` | text_generation | int4 |
| `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` | text_generation | int4 |
| `deepseek-ai/DeepSeek-R1-Distill-Llama-8B` | text_generation | int4 |
| `Qwen/Qwen3-1.7B`, `Qwen/Qwen3-4B-Instruct-2507` | text_generation | int4 |
| `nvidia/Llama-3.1-Nemotron-Nano-4B-v1.1` | text_generation | int4, `llama3` tool parser |
| `Qwen/Qwen3-1.7B`, `Qwen/Qwen2.5-Coder-7B-Instruct` | text_generation | int4 |
| `BAAI/bge-base-en-v1.5` | embeddings | int8 |
| `BAAI/bge-reranker-base` | rerank | int8 |

Expand All @@ -164,7 +158,7 @@ The `-Specdec` suffixed entries (e.g. `Qwen/Qwen2.5-Coder-14B-Instruct-Specdec`)
| Port binding error | Check running containers: `docker ps`, ensure no duplicate model entries in `config.cfg` |
| OpenVINO model stuck "starting" for a long time | Expected on first start — the checkpoint is being converted to IR. Watch progress: `docker logs -f agentic-ovms-<name>`. Use an `OpenVINO/*` model ID to skip conversion. |
| OpenVINO model OOM-killed during first start | Conversion needs ~fp16-checkpoint memory. Raise `resources.memory` in `ovms-model-configs.yaml`, deploy fewer models at once, or use a pre-converted `OpenVINO/*` model. |
| `openai/whisper-small` never becomes healthy | Speech-to-text is not an OVMS 2025.4 task — set `serving_engine=vllm` for speech models. |
| `openai/whisper-small` never becomes healthy | Speech models are served with vLLM only in this Compose setup — set `serving_engine=vllm` for speech models. |

### Custom Model Configuration

Expand Down
33 changes: 20 additions & 13 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
# Exposed on port 5432 for pgAdmin / external RAG tooling
# ===========================================================================
postgres:
image: pgvector/pgvector:pg16
image: pgvector/pgvector:0.8.7-pg16
container_name: agentic-postgres
restart: unless-stopped
cap_drop:
Expand Down Expand Up @@ -116,7 +116,8 @@ services:
# LiteLLM — GenAI Gateway (OpenAI-compatible proxy)
# ===========================================================================
litellm:
image: docker.litellm.ai/berriai/litellm:v1.83.14-stable.patch.2
# Same image and version as Intel Inference Toolkit (non-root, uid 65534)
image: ghcr.io/berriai/litellm-non_root:v1.105.7
container_name: agentic-litellm
restart: unless-stopped
cap_drop:
Expand Down Expand Up @@ -159,51 +160,57 @@ services:
# Observability — Langfuse + ClickHouse + MinIO (profile: observability)
# ===========================================================================
clickhouse:
image: bitnamilegacy/clickhouse:25.2.1
# Official image, latest LTS (same line as Langfuse's own compose); runs as the clickhouse user
image: clickhouse/clickhouse-server:26.3.76.2
container_name: agentic-clickhouse
restart: unless-stopped
profiles: [observability]
user: "101:101"
cap_drop:
- ALL
environment:
CLICKHOUSE_ADMIN_USER: default
CLICKHOUSE_ADMIN_PASSWORD: ${CLICKHOUSE_PASSWORD:-clickhouse}
CLICKHOUSE_DB: default
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-clickhouse}
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1"
volumes:
- clickhouse-data:/bitnami/clickhouse
- clickhouse-data:/var/lib/clickhouse
Comment thread
Copilot marked this conversation as resolved.
Resolved
networks:
- agentic-net
healthcheck:
test: ["CMD-SHELL", "clickhouse-client --user default --password \"$$CLICKHOUSE_ADMIN_PASSWORD\" --query 'SELECT 1'"]
test: ["CMD-SHELL", "clickhouse-client --user default --password \"$$CLICKHOUSE_PASSWORD\" --query 'SELECT 1'"]
interval: 15s
timeout: 5s
retries: 10
start_period: 120s

minio:
image: bitnamilegacy/minio:2024.12.18
# Chainguard build of MinIO (same image Langfuse's own compose uses); MinIO no longer
# publishes release images. Free tier has only :latest, so pin the digest.
image: cgr.dev/chainguard/minio@sha256:fdbc0d5b977a24ad86a8525f49c6bec64fe869742f92b9009957e67f80729ae4
container_name: agentic-minio
restart: unless-stopped
profiles: [observability]
cap_drop:
- ALL
command: ["server", "/data", "--address", ":9000", "--console-address", ":9001"]
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minio}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
MINIO_CONSOLE_PORT_NUMBER: "9001"
volumes:
- minio-data:/bitnami/minio/data
- minio-data:/data
ports:
- "9001:9001" # MinIO console
networks:
- agentic-net
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9000/minio/health/live || exit 1"]
test: ["CMD", "mc", "ready", "local"]
interval: 30s
timeout: 10s
retries: 3

langfuse-web:
image: langfuse/langfuse:3.106.1
image: langfuse/langfuse:4.90.0
container_name: agentic-langfuse-web
restart: unless-stopped
profiles: [observability]
Expand Down Expand Up @@ -263,7 +270,7 @@ services:
- agentic-net

langfuse-worker:
image: langfuse/langfuse-worker:3.106.1
image: langfuse/langfuse-worker:4.90.0
container_name: agentic-langfuse-worker
restart: unless-stopped
profiles: [observability]
Expand Down
Loading
Loading