Skip to content

docs(unsloth): decision record — lean client, install-dependency, trim the fat - #1709

Merged
joelteply merged 1 commit into
canaryfrom
feat/headless-startup
Jun 21, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/headless-startup

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Records the hardened endpoint of the unsloth strategy (Joel 2026-06-21): lean on unsloth till we're fast, then our own adapters; phase out if we feel like it.

Adds UNSLOTH-INTEGRATION.md §1.5:

  • unsloth = declared install dependency; continuum = lean client (no ML of its own for the gateway path). One step (the key), then automatic.
  • Trim order: (1) embeddings→unsloth /v1/embeddings, delete ort/fastembed/libonnxruntime (shrinks binary, removes an install step, deletes the startup ORT panic at its root); keep LexicalEmbedder fallback. (2) unsloth as install dep (Add project roadmap and detailed documentation #33). (3) inference→unsloth, retire local llama/ggml/Metal.
  • Everything behind the trait (AIProviderAdapter/EmbeddingProvider, both exist): unsloth = impl Feature: CLI Implementation with Testing #1; our own Candle/llama adapter = impl Feature: Add CI/CD Configuration #2 when we choose; phase-out = delete an impl. Reversible — local ML stays in git + tree, re-plugs behind the trait.
  • No-feature-loss audit + the foundry handoff (forge → load into unsloth → serve+share; genome market = continuum layer on top).

This is the headless-solid + lean-install push toward alpha — fixes the exact failure mode that forced the redesign (too hard to install, not performant). Docs-only.

🤖 Generated with Claude Code

…m the fat

Hardens the UNSLOTH-INTEGRATION strategy to its endpoint (Joel 2026-06-21,
"lean on unsloth till we get fast, then our own adapters; phase out if we
feel like it"):

- unsloth = declared INSTALL DEPENDENCY; continuum = lean client carrying no
  ML of its own for the gateway path. One step (the key), then automatic.
- Trim order: (1) embeddings -> unsloth /v1/embeddings, DELETE ort/fastembed/
  libonnxruntime (shrinks binary, removes install step, deletes the startup
  ORT panic at its root); keep LexicalEmbedder fallback. (2) unsloth as install
  dependency (#33). (3) inference -> unsloth, retire local llama/ggml/Metal.
- Everything behind the AIProviderAdapter / EmbeddingProvider traits (both
  exist): unsloth = impl #1; our own Candle/llama adapter = impl #2 when we
  choose; phase-out = delete an impl. Reversible — local ML stays in git +
  the tree, re-plugs behind the trait, not thrown away.
- No-feature-loss audit + the foundry handoff (forge -> load into unsloth ->
  serve+share; genome market = continuum layer on top).

This is the headless-solid + lean-install push toward alpha — fixes the exact
failure mode that forced the redesign (too hard to install, not performant).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@joelteply
joelteply enabled auto-merge (squash) June 21, 2026 04:23
@joelteply
joelteply merged commit a3c8694 into canary Jun 21, 2026
@joelteply
joelteply deleted the feat/headless-startup branch June 21, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant