llm: multi-host Ollama dispatch (3060/4090/5080) #568

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

Remote GPUs are just Ollama endpoints — rig 4090 and laptop 5080 run ollama serve; batch runners fan out over LAN/tailscale. All bib/pgvector I/O stays on the server; remote boxes contribute pure compute. This is the lightweight version of the fan-out the April extraction spec anticipated for inference workloads.

Scope

  • LLM_OLLAMA_HOSTS (list) config; least-loaded dispatch across hosts
  • per-host model availability check at startup; missing host degrades gracefully to remaining pool
  • works for both embedding (P33) and tagging (P35) runners
  • docket partitioning via --docket remains the manual fallback

Acceptance

  • indexer saturates 2+ hosts concurrently; unplugging a host mid-run degrades without data loss

Refs .claude/specs/2026-04-23-comments-extraction-design.md (distributed-GPU notes).

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

Remote GPUs are just Ollama endpoints — rig 4090 and laptop 5080 run `ollama serve`; batch runners fan out over LAN/tailscale. All bib/pgvector I/O stays on the server; remote boxes contribute pure compute. This is the lightweight version of the fan-out the April extraction spec anticipated for inference workloads. **Scope** - [ ] `LLM_OLLAMA_HOSTS` (list) config; least-loaded dispatch across hosts - [ ] per-host model availability check at startup; missing host degrades gracefully to remaining pool - [ ] works for both embedding (P33) and tagging (P35) runners - [ ] docket partitioning via `--docket` remains the manual fallback **Acceptance** - indexer saturates 2+ hosts concurrently; unplugging a host mid-run degrades without data loss Refs `.claude/specs/2026-04-23-comments-extraction-design.md` (distributed-GPU notes). 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:08 +00:00
kert added the infrallm labels 2026-07-16 19:26:08 +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:21 +00:00
Sign in to join this conversation.