Repository navigation
Description
Problem
Embedding calls have no errors, but they wait. In 72 h, the gateway answered 4,715 /v1/embeddings calls with 200 and none with a failure. In 48 h, ollama-48gib answered embeddings with a p95 of 37 s and a maximum of 60 s, because the tier also serves chat models. ollama-64gib had a p95 of 6 s.
ollama-48gib-slow runs one Ollama instance on two Quadro P6000 GPUs, holds a chat model of 22 GB, and is an order 2 embedding target. An idle P6000 embeds a batch of 32 chunks (12,886 tokens) in 2.1 s.
Nothing states which GPU architectures are too old for chat, or which must run one instance per GPU.
Expected
Two thresholds, both pascal by default, name a GPU architecture:
- Embedding: a tier at or below the threshold serves only embedding models, and LiteLLM sends embeddings to it first.
- Multi-GPU: a tier at or below the threshold runs one Ollama instance per GPU.
A tier newer than a threshold runs as it does today.
Acceptance criteria
k8s/llm/profiles/gpu-thresholds.yamlholds the two values. Argo CD tracksmain, soconfig.yamlcannot set them.devops ai gateway renderwrites the manifests and routes from the values, and a test fails when the tracked manifests differ from its output.ollama-48gib-slowbecomesollama-24gib-embed-gpu0and-gpu1, each withnvidia.com/gpu: 1, each with one LiteLLM deployment at order 1.devops-backgroundmoves off the tier, toollama-64gib-standard.- A threshold newer than the architectures of every tier template is refused, and a chat route on an embedding-only tier is refused.
Evidence
Measured on ollama/ollama:0.40.12, device plugin 0.16.2, on temporary pods:
- Two pods with
nvidia.com/gpu: 1each saw one different P6000. OLLAMA_NUM_PARALLEL1, 2 and 4 gave 0.49, 0.49 and 0.47 batches/s on one GPU.num_batchup to 8192 gave no gain.- Two instances gave 0.99 batches/s, and one gave 0.50. The longest wait at 4 streams went from 8.0 s to 4.2 s.
- Cosine of a vector from a P6000 to a vector from a Tesla V100 was 0.99945, and to an RTX 3090 was 0.99951.
Existing tool considered
Helm can compare the values in a template, and Argo CD reads a chart. A chart means rewriting 1,340 lines of profiles, the Services and the LiteLLM ConfigMap, and about 20 tests that read those files. Kustomize has no comparison. devops ai gateway render is already the render step of this configuration.
Activity
dan-petty commentedon Nov 4, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(k8s)scope of the title gives the scope.Reduces embedding latency on old GPUs but does not block a release or fix a broken path.Cuts p95 embedding wait from 37 s to roughly 6 s on the slow tier, a clear gain for RAG users.Requires a new config file, render-command changes, tier split into two instances, workload move, and validation rules.Both place workloads by GPU architecture; #453 delivered initial placement, the candidate adds threshold-based embedding-only and per-GPU rules on top.chore(main): release 0.56.0 (#3510)
devops-cli-service commentedon Nov 4, 2026
Released in v0.56.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.56.0
devops-cli-service commentedon Nov 4, 2026
Live since 2026-11-04 21:19 UTC