Repository navigation
Use the native pooled-only graph for resident embeddings - #6156
Merged
Merged
Conversation
Contributor
Author
|
Review at fc8296d (Fable): approve, with two fixes asked in this PR (not follow-ups). Verified: the pin and gitlink both name 51c7089eec (fork #156, approved);
Heads-up, not a change for you: my branch fable/residents-on-the-scheduler builds a |
joelteply
added a commit
that referenced
this pull request
Nov 19, 2026
…'s ChatRender), the residents' contract ported onto it Canary's serving S2a/S2b (#6142, #6145) and this branch's 75cea66 built the same capability twice (chat_boundary.cpp + ChatRender + chat_turn.rs, and chat_template.cpp + chat_template.rs + native_chat.rs); both defined continuum_chat_free, so they could not link together. Canary's stays the owner (agreed with Codex, 06:07Z). Ported onto it, the three things residents need that it lacked: - the think budget: chat_boundary's continuum_chat_reasoning_budget (llama.cpp's common_reasoning_budget, what llama-server ran) as llama::SamplerChainBuilder::reasoning_budget, bounded by the render's own thinking tags (chat_turn::Described::think_bound); a stated zero budget renders with enable_thinking off (chat_turn::thinking_request); - the template's extra stops (Described::additional_stops) into the decode's stops; - her view's end (chat_turn::view_text: her view rendered by the same templates, generation prompt off; describe now returns generation_prompt), passed as TurnPrompt.stable_prefix so the engine checkpoints her there (CONTINUUM-ENGINE 4.15). Deleted: core/llama/chat_template.cpp, src/safe/chat_template.rs, llamacpp_adapter/native_chat.rs, LlamaCppBackend::chat_templates and its second `chat` field, the inline AIProviderAdapter impl (it lives in provider.rs on canary), and the llama crate's serde deps. The fork pin moves to 2869b164a7 (fable/persona-files merged with 51c7089eec, so it carries canary's 74be098b5 and #6156's pooled graph). Checked with serving down (06:08-06:13Z): cargo check of continuum-core, continuum-engine --tests, the persona crates and the metal example; llama chat tests 3/3; persona-engine 21/21. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
Resident embedding batches request the pooled native graph; generation keeps its existing outputs. Pins the matching source from CambrianTech/llama.cpp#156. Real-model numerical parity and local deployment preceded check-in. The exact integrated core on BigMama includes concurrent changes isolated from this PR; its existing external CUDA server was retained, so this deployment validates the in-process embedding path only. The real GGUF test separately compared the returned vectors. A matched external engine build and the exact-head CI/review are pending.