Repository navigation
docs(unsloth): decision record — lean client, install-dependency, trim the fat - #1709
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:/v1/embeddings, deleteort/fastembed/libonnxruntime(shrinks binary, removes an install step, deletes the startup ORT panic at its root); keepLexicalEmbedderfallback. (2) unsloth as install dep (Add project roadmap and detailed documentation #33). (3) inference→unsloth, retire localllama/ggml/Metal.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.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