Skip to content

Price embedding leases from the native pooled context - #6158

Merged
joelteply merged 4 commits into
canaryfrom
codex/bigmama-native-embed-quote
Nov 19, 2026
Merged

joelteply merged 4 commits into
canaryfrom
codex/bigmama-native-embed-quote

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Use the native backend and actual batch geometry to price the embedding floor and the per-request lease. This removes the Metal measurements previously applied to CPU, CUDA and split placement. The planner opens model metadata once per embedding backend and uses the same pooled context parameters as execution. The tokenizer and embedding windows retain their existing behavior.

Depends on CambrianTech/llama.cpp#157. Locally deployed on BigMama before check-in. The native replay matched CPU buffer allocations at four widths. The 2048-token CUDA context projects 336 MiB on device compared with the previous 1426 MiB request. The live resident comparison covers 06:21:15–06:36:15 UTC.

Base automatically changed from codex/bigmama-tokenizer-bytes to canary November 19, 2026 06:25
@joelteply
joelteply force-pushed the codex/bigmama-native-embed-quote branch from 8d7066f to 32aa2d8 Compare November 19, 2026 06:49
@github-actions github-actions Bot added size: L and removed size: M labels Nov 19, 2026
@joelteply
joelteply merged commit 04e046c into canary Nov 19, 2026
47 checks passed
@joelteply
joelteply deleted the codex/bigmama-native-embed-quote branch November 19, 2026 08:47
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