Skip to content

pr-set : repin #251 and #332 for b12233 (ggml-org#31185) - #360

Merged
danielhanchen merged 1 commit into
masterfrom
pinset/r251-r332-b12233
Nov 9, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pinset/r251-r332-b12233

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

The prebuilt is an aged upstream ggml-org b#### tag plus the pins in scripts/unsloth/pr-set.json, merged in order (git diff3, then additive_merge.py for pure add/add conflicts only). b12233 carries ggml-org#31185 ("external PLE file loading"), which changes the fit and the model load from one path_model to a list of paths (paths_model, common_model_load(params.model.get_paths(), ...)). With the current set, b12233 refuses #251, and #332 merges but does not compile (common/fit.cpp: path_model was not declared). b12233 ages in at 01:15Z, so tomorrow's nightly picks it or a newer tag.

Pins

pin what ggml-org#31185 broke fix new pin
#251 --moe-cache-mib auto conflicts in common/common.cpp, common/fit.cpp, common/fit.h: the renamed paths_model and common_model_load next to the pin's moe_cache_auto parameter and its extra add_extra_memory / common_get_device_memory_data_impl arguments Fix merge conflicts merge of b12233 into the pin's branch: upstream's paths_model and common_model_load verbatim, the pin's moe_cache_auto parameter, the shares_model placement and the cache minimum size argument kept on the renamed calls 5509e06
#332 DeepSeek-V4.1 no conflict, but the pin's common_fit_draft_target takes const char * path_model and loads with llama_model_load_from_file, and its call site passes path_model Fix merge conflicts merge of b12233 into the pin's branch: the helper takes const std::vector<std::string> & paths_model and loads with common_model_load, as upstream's own fit code now does 7195599

Each pin's own change is otherwise the same (#251 9 files, +212/-23; #332 63 files, +3466/-49). #251 and #332 are retargeted to base/upstream-5f490d7bf.

Evidence

Merge loop + pin_contract.py + merge_checks.py (local sim of this exact pr-set.json): all 25 pins merge and are intact on b12233 (the newest tag), and merge_checks is clean. Without this change, #251 is refused on b12233.

Full CPU build of every target (tests, examples, tools, server) on the merged b12233 tree with GGML_RPC=ON: 138 binaries, 0 errors; test-llama-archs 153/153, test-mtmd-impl 0 failures, test-arg-parser and test-chat pass.

llama_pinset.py verify on the same tree: the CPU gate build passes and feature_matrix.py shows all 16 pinned features on CPU (12 checks need a GPU, below), including #332's deepseek41.

GPU: the same checks as llama_pinset.py verify --cuda on the merged b12233 tree are running on a T4; results to follow in a comment before this is merged.

Base tags

This set is for b12233 and later. On b12221 to b12230 the pin contract flags #332, because the pin now carries the b12233 lines that #251 edits. Tonight's scheduled run was created on the previous master and is not affected by this change. A manual dispatch before 01:15Z would still pick b12230 or older, so run one only after b12233 ages in.

Not covered

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T21:44:33.398263Z 0d00021 PR opened
🔒 Security Review ✅ Completed 2026-11-09T21:49:42.010244Z 0d00021 PR opened
ℹ️ 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.

@danielhanchen

Copy link
Copy Markdown
Member Author

GPU, same checks as llama_pinset.py verify --cuda on the merged b12233 tree (tree hash 137d98e checked against the local merge before testing), with test-backend-ops also run on the plain tag:

tag GPU CUDA build test-chat MUL_MAT MUL_MAT_ID PAD GET_ROWS feature_matrix --gpu
b12233 T4 (sm75) ok ok 2654/2654 (plain 2517/2517) 1027/1027 (931/931) 37/37 (37/37) 349/349 (216/216) 16/16

Neither side has a failure. #332's own feature check (deepseek41) passes on the GPU: 4/4 device rows decode and match CPU, 9/9 cases match the CPU reference.

@danielhanchen
danielhanchen merged commit 4b9f01b into master Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant