Skip to content

Add MoE expert cache load parameter - #691

Merged
will-lms merged 3 commits into
mainfrom
bionic/moe-expert-cache-load-param
Oct 26, 2026
Merged

will-lms merged 3 commits into
mainfrom
bionic/moe-expert-cache-load-param

Conversation

@will-lms

Copy link
Copy Markdown
Contributor
  • Add llm.load.moeCacheMiB (and decision.load.moeCacheMiB) to the llama.cpp load schematic: an MoE-only, machine-dependent MiB value with a default of 0, exposed through the MoE schematic slice and the decision load schema.
  • Add moeCacheMiB to LLMLoadModelConfig and DecisionLoadModelConfig with zod validation, and round-trip it through the KV config conversion. It composes with AutoFit and is not treated as a manual placement setting.

Add moeCacheMiB to the llama.cpp KV load schematic, the public load
config, and the decision load config. The value is in MiB, defaults to
disabled, is gated to MoE models, and composes with AutoFit.
@github-actions github-actions Bot added the CLA signed Indicates if all contributors have signed the CLA label Oct 23, 2026
@will-lms

Copy link
Copy Markdown
Contributor Author

Code Review Comments

No review comments.

@will-lms
will-lms marked this pull request as ready for review October 26, 2026 14:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T14:48:01.244898Z 832adb0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@will-lms
will-lms merged commit b7a0167 into main Oct 26, 2026
1 check passed
@will-lms
will-lms deleted the bionic/moe-expert-cache-load-param branch October 26, 2026 15:16
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA signed Indicates if all contributors have signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants