Repository navigation
unsloth: repin Inkling onto b11556, qwen4exp shared MTP onto b11552, MoE cache auto threshold - #261
Merged
Merged
Conversation
…h the resident threshold
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Repins three pins so the nightly merges again on the tags it can pick tonight, and picks up the MoE cache threshold.
ggml-org#25731 (Inkling): onto b11556
ggml-org#29600 (Prism Bonsai 2) in b11556 added a Hadamard input transform at the top of
build_lora_mm, next to theprecparameter Inkling adds to the same signature, so from b11556 on the old pin no longer merges. The Inkling branch now merges b11556 and keeps both: Inkling'sprecargument and upstream'sbuild_hadamard_inputcall. The branch is clean against ggml-org master.#240 (qwen4exp shared MTP): onto b11552
ggml-org#30257 (spec: properly handle mtmd input for mtp) changed
graph_mtpinsrc/models/qwen4exp.cpp, so from b11552 on the old pin no longer merges and the nightly fails. The branch now merges b11552 and keeps both sides: #240's fallback to the target model's embeddings and output head, and upstream's token vs embedding input. Its PR base moved tobase/upstream-23b0202a1, so the PR diff is only its own change (+20/-5, 3 files).#251 (
--moe-cache-mib auto): resident thresholdautonow keeps the fitter's layer split instead of a MoE cache when that split would hold at least 80% of the expert weights in device memory. Above that, the cache cost about 20% decode on an R9700 32 GB report and the split also wins long prompts. The measurements behind 0.80 (Kaggle T4 sweep over the resident share on Qwen3.6-35B-A3B and gemma-4-26B-A4B) are on #251.Verification
pin_contract.pyandmerge_checks.py: all 15 pins merge, all are intact andmerge_checksis clean on b11555 and b11556 with this pin set, and on b11552 to b11555 with the previous Inkling pin.feature_matrix.py(all 7 features on CPU, including Inkling and qwen4exp-mtp), full CUDA build andtest-chat(including Inkling's parser cases) pass.test-chatpasses;test-backend-opsMUL_MAT2483/2483,MUL_MAT_ID940/940,PAD37/37.llama-fit-params --moe-cache-mib autowith a capped free-memory report on gemma-4-26B-A4B: 8192 MiB keeps the cache (4656 MiB); 10240 and 11264 MiB report 85% and 98% of the experts resident and keep the split.