llm: ollama compose service + model bake-off #564

Closed
opened 2026-07-16 19:26:07 +00:00 by kert · 1 comment
Owner

Stand up Ollama as a compose service (nvidia runtime, like notebooks/zotero) and pick models.

Scope

  • ollama service: nvidia runtime, model volume, healthcheck, OLLAMA_KEEP_ALIVE idle unload so the shared 3060 frees VRAM
  • bake off embedding models: nomic-embed-text vs bge-m3 (retrieval quality on a comment sample, dims, speed)
  • bake off instruct models for tagging with per-host sizing: 3060 12GB (8B Q4 floor) / 4090 24GB / 5080 16GB
  • record decisions in the spec

Acceptance

  • service healthy in compose; models pull on first use; VRAM released after idle
  • spec updated with chosen models + eval numbers

Spec: docs/superpowers/specs/2026-07-16-llm-module-design.md

Stand up Ollama as a compose service (nvidia runtime, like notebooks/zotero) and pick models. **Scope** - [ ] `ollama` service: nvidia runtime, model volume, healthcheck, `OLLAMA_KEEP_ALIVE` idle unload so the shared 3060 frees VRAM - [ ] bake off embedding models: nomic-embed-text vs bge-m3 (retrieval quality on a comment sample, dims, speed) - [ ] bake off instruct models for tagging with per-host sizing: 3060 12GB (8B Q4 floor) / 4090 24GB / 5080 16GB - [ ] record decisions in the spec **Acceptance** - service healthy in compose; models pull on first use; VRAM released after idle - spec updated with chosen models + eval numbers Spec: `docs/superpowers/specs/2026-07-16-llm-module-design.md`
kert added this to the P33: LLM Foundation — Ollama, pgvector, embedding index milestone 2026-07-16 19:26:07 +00:00
kert added the llminfra labels 2026-07-16 19:26:07 +00:00
Author
Owner

Done in P33 — merged to main as 14d279b (branch llm-p33). Pilot docket CMS-2017-0092 indexed end-to-end with exact search; full test gate green at 99.75%.

Done in P33 — merged to main as 14d279b (branch llm-p33). Pilot docket CMS-2017-0092 indexed end-to-end with exact search; full test gate green at 99.75%.
kert closed this issue 2026-07-17 19:37:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#564