Skip to content

pr-set: pin Muse Spark Open (ggml-org#30616), repin DiffusionGemma, union distinct type definitions in additive_merge - #280

Merged
danielhanchen merged 1 commit into
masterfrom
pin-muse-spark-30616
Oct 15, 2026
Merged

danielhanchen merged 1 commit into
masterfrom
pin-muse-spark-30616

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Pins ggml-org#30616 (Muse Spark Open: text, vision and audio) at 9bbf448.

The prebuilt is the aged upstream b#### plus the pins in pr-set.json, merged in order with diff3 and additive_merge.py for pure add/add conflicts. ggml-org#30616 merges cleanly onto upstream by itself, but it hit two of our pins:

File Collides with Cause Fix
tests/test-llama-archs.cpp DiffusionGemma (ggml-org#24423) Both edit the shared SWA-mix arch condition on adjacent lines (DiffusionGemma appends its arch, ggml-org#30616 adds LLM_ARCH_MUSE_SPARK one line up) DiffusionGemma now sets its mixed SWA pattern inside its own if (arch == LLM_ARCH_DIFFUSION_GEMMA) block and leaves the shared condition as upstream has it. Test-only; repinned to dd7f73b.
tools/mtmd/mtmd-audio.h Inkling (ggml-org#25731) Pure add/add: each adds a different audio preprocessor struct at the same spot. Both declare the same preprocess(...) override, so additive_merge.py refused it as "one change made twice". additive_merge.py now unions two sides that each open with a type definition (leading comments skipped) when no type name is on both sides, the same reasoning as the existing distinct case arm rule. The same type added twice still refuses.

feature-checks.json gains a muse-spark entry owned by ggml-org#30616 (arch muse-spark, mtmd projector muse-spark-audio). ggml-org#30616 is a third-party PR, so its branch is pinned as is and not modified.

Evidence

  • llama_pinset.py sim --tags window with this pin set and this additive_merge.py: b11643 (aged), b11645, b11647, b11655, b11658, b11662, b11669 (newest) all merge; ggml-org#30616 additive; pin_contract 19/19 pins intact; merge_checks clean. Before the two fixes every tag refused model: add Muse Spark Open (text, vision and audio) ggml-org/llama.cpp#30616.
  • test_additive_merge.py: all cases pass, including the real Inkling / Muse Spark shape and a same-struct-twice refusal.
  • test-llama-archs -a diffusion-gemma passes with the moved SWA pattern.
  • audit: 18/19 clean. The one FIX row is ggml-org#30520, merged upstream; it is first in b11669, which has not aged in, so its pin stays until an aged base contains it.

Not yet run: the CUDA build and backend-op verify on the aged and newest tags, and the DiffusionGemma output gate on the repinned head (the change touches only tests/test-llama-archs.cpp, which llama-diffusion-cli does not build).

…et additive_merge union distinct type definitions
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 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-15T17:35:26.437631Z 9008b1c PR opened
🔒 Security Review ✅ Completed 2026-10-15T17:37:51.322197Z 9008b1c 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
danielhanchen merged commit c130d02 into master Oct 15, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9008b1c5fa

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +183 to +189
ours_types, theirs_types = type_defs(ours), type_defs(theirs)
if ours_types and theirs_types and ours_types.isdisjoint(theirs_types):
# Both sides define new types, and no type name is on both sides. Two
# differently named definitions are two constructs, so a shared member
# declaration is a coincidence of the interface they implement. The
# same type added twice keeps its name and is refused below.
return list(theirs) + list(ours)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restrict the shortcut to type-only hunks

When both additions merely start with differently named types but also contain the same trailing operation, this returns before the shared-line check and duplicates that operation. For example, the regex also recognizes Python class A:/class B: blocks, so two such blocks followed by the same register("shared") call are accepted and the registration runs twice. type_defs() proves only that the first significant line is a type declaration, not that the entire hunk consists of that definition; limit this shortcut to parsed definition spans or continue rejecting shared content outside those spans.

Useful? React with 👍 / 👎.

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