[Draft] Deprecate LEAP SDK and add native llama.cpp developer guides - #126
Draft
tuliren wants to merge 3 commits into
Draft
[Draft] Deprecate LEAP SDK and add native llama.cpp developer guides#126tuliren wants to merge 3 commits into
tuliren wants to merge 3 commits into
Conversation
New "Build with llama.cpp" section covering what the LEAP SDK guides used to cover, using llama.cpp directly: - iOS & Android: XCFramework / NDK integration and the C API generation loop - Desktop & Server Apps: llama-server sidecar, Python/Node/.NET bindings, hybrid local + cloud routing - Chat & Streaming: OpenAI-compatible API, sampling table, prompt caching - Function Calling & Agents: --jinja tool calling (LFM2/LFM2.5 parsed natively by llama.cpp), agent loop - Structured Output: JSON schema / GBNF, C API grammar sampler - Vision & Audio: mmproj vision, LFM2.5-Audio runners - Migrating from LEAP SDK: concept-by-concept mapping table Also links the new guides from the llama.cpp overview page. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Remove the "Leap SDK" tab; move Model Bundling into the LFM tab - Drop the SDK overview from the Edge Inference group - Keep every SDK page on disk (URLs keep resolving per the link contract) with a deprecation Warning banner and noindex - Rewrite the SDK overview as a short archived-reference notice pointing to the llama.cpp migration guide - Add a "Deprecated SDKs" section to the Deprecations page Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
FAQs, hardware evaluation, migration guide, model library, AI-tools snippet, README, and quickstart widget notes now reference the llama.cpp guides. Android example pages get a note that they were built with the deprecated LEAP SDK. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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.
Summary
The LEAP SDK is being deprecated. This PR de-emphasizes it in the docs (kept, but archived) and replaces the SDK developer guides with guides that use llama.cpp directly.
1. New "Build with llama.cpp" section (
deployment/on-device/llama-cpp/)llama-serversidecar (Node/Python/.NET), in-process bindings (llama-cpp-python, node-llama-cpp, LLamaSharp), hybrid local + cloud routing--jinjatool calling (llama.cpp parses LFM2/LFM2.5 tool-call formats natively incommon/chat.cpp), agent loopllama_sampler_init_grammarThe
llama.cppoverview page links to these with a card group.2. LEAP SDK deprecated in place
deployment/on-device/sdk/*pages and the changelog stay on disk (URLs keep resolving per the link contract) with a<Warning>banner andnoindex: true.3. Cross-references updated
FAQs, hardware evaluation, migration guide, model library, connect-AI-tools snippet, README, quickstart-widget notes. Android example pages keep their content but get a "built with the deprecated LEAP SDK" note.
Verification
npm run snapshot:checkpasses (7 new URLs added; nothing removed).mintlify broken-links: only 2 pre-existing failures in untouched files (CLAUDE.mdrelative link, a model-bundling image).mintlify dev.common/chat.cppLFM2 detection, release assets, HF GGUF filenames) were verified against upstreammaster/ the HF API on 2026-08-27.Open questions for reviewers
leap-bundle) — kept as-is and moved into the LFM tab. Is it also being deprecated with the LEAP platform?leap.liquid.ai/models) on the model overview pages were left untouched. Remove if the library is going away.repeat_penaltyvsrepetition_penalty—llama-serveronly readsrepeat_penalty(tools/server/server-schema.cpp);repetition_penaltyis silently ignored. The new pages userepeat_penalty. CLAUDE.md and the existingllama-cpp.mdxsayrepetition_penaltyfor llama-server — I left those alone but they should probably be fixed in a follow-up.llama-cpp.mdxuses lowercase GGUF filenames (lfm2.5-1.2b-instruct-q4_k_m.gguf); the files on HF areLFM2.5-1.2B-Instruct-Q4_K_M.gguf(paths are case-sensitive). Not touched here.🤖 Generated with Claude Code