Skip to content

census: review MuseSparkForConditionalGeneration as a pin gap, report-only (#437) - #440

Merged
bong-water-water-bong merged 1 commit into
mainfrom
1bit/census-muse-spark
Oct 18, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
1bit/census-muse-spark

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Fixes #437.

  • MuseSparkForConditionalGeneration (Meta's Muse Spark Open, 816B-A42B, latent-space MoE with vision and audio) declares general.architecture = muse-spark in its GGUF header (read by range request).
  • The pinned third_party/llama.cpp 1a5dcba2 has no muse-spark. Upstream ggml-org/llama.cpp added it on 2026-10-15 (ba3c05f71, #30616), after the fork's last upstream sync, so the class maps by itself once a fork sync reaches it. Even its smallest GGUF (~500 GB) is far bigger than the 128 GB box.
  • I recorded it as "watch": "report" in registry/significant.json, added a section in docs/arch-gaps.md, and added a check in tests/census_watch_test.py. This is the same mechanism as HrmTextForCausalLM (census: new HF model class uncovered by the registry #402).
  • The issue's REMOTE-CODE and UNVERIFIABLE lines don't alert by design.

Checks: python3 tests/census_watch_test.py passes. python3 tools/registry_build.py --check-gaps reports none of the 23 reviewed classes mapped without a reason. A live tools/census_watch.py run no longer lists Muse Spark (it has aged out of the newest-120 window). It still exits 1 on DeepseekV41ForCausalLM, which is a reviewed significant gap that alerts on purpose because it needs real engine support. That alert is not part of this issue.

🤖 Generated with Claude Code

…-only (#437)

The 2026-10-17 census run (39018386399) alerted on
MuseSparkForConditionalGeneration (Interchained/Muse-Spark-Open-816B-A42B-GGUF),
Meta's Muse Spark Open. Its GGUF header declares
general.architecture = muse-spark: 256 experts in a 4096-wide latent
(moe_latent_size), one full-attention layer in four with a sliding
window of 2048 elsewhere, softcapped logits, vision and audio towers.

The pinned third_party/llama.cpp 1a5dcba2 has no muse-spark architecture.
Upstream ggml-org/llama.cpp added it on 2026-10-15 (ba3c05f71, #30616),
after the fork's last upstream sync, so the class maps by itself once a
fork sync reaches it. No supported family computes the same function,
so an alias would be silent substitution. Its smallest GGUF (~500 GB)
is also four times the 128 GB box.

Record it in registry/significant.json with "watch": "report" and in
docs/arch-gaps.md, the mechanism HrmTextForCausalLM (#402) uses for an
upstream-only architecture; tests/census_watch_test.py pins that it is
listed as REVIEWED and does not alert.

The other lines in #437 are REMOTE-CODE (custom modeling code, below the
three-uploader threshold) and UNVERIFIABLE (gated configs), which do not
alert by design.

Fixes #437

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

437 - Partially compliant

Compliant requirements:

  • The MuseSparkForConditionalGeneration class is mapped in registry/architectures.json with the correct model_type and family information
  • The class is documented in docs/arch-gaps.md with a detailed explanation of why it's not an alias and why it's not mapped
  • A check is added in tests/census_watch_test.py to verify the class is reviewed and documented
  • The census watcher no longer alerts on this class

Non-compliant requirements:

  • None

Requires further human verification:

  • None
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Documentation Clarity

The documentation for MuseSparkForConditionalGeneration in docs/arch-gaps.md is quite detailed but could benefit from a clearer explanation of how the architecture differs from existing models in terms of computational behavior, especially regarding the latent-space experts and the per-layer rope schedule. This would help future developers understand the significance of this gap.

### `muse_spark` - `Interchained/Muse-Spark-Open-816B-A42B-GGUF`

Architecture class `MuseSparkForConditionalGeneration`, `model_type: muse_spark`: Meta's
Muse Spark Open (`meta-models/Muse-Spark-Open-816B-A42B`, created 2026-09-15, gated by
manual approval), a 62-layer text model with vision and audio towers. The flagged upload is
a GGUF conversion (F16, Q4_0, Q4_K_M, Q5_K_M) whose header (read 2026-10-17 by range request)
declares `general.architecture = muse-spark`: 256 experts, 8 used, `moe_latent_size: 4096`
(experts run in a 4096-wide latent, like Nemotron 3 Super's `ffn_latent_down`/`ffn_latent_up`),
`expert_gating_func: 2`, hidden 8192, 128 heads / 16 kv, head_dim 64, sliding window 2048 with
one full-attention layer in four (`sliding_window_pattern`), `final_logit_softcapping: 20.0`,
`logit_scale` 0.177, context 1,048,576, `gpt-4o` pre-tokenizer.

**Why an alias is wrong**: the latent-space experts, the per-layer rope schedule
(`layer_rope_theta` 0 on the full-attention layers) and the softcapped logits change the
computation; no supported family has that combination, so mapping it to a Llama 4 or
Nemotron-H shape would be silent substitution.

**Why it is not mapped**: the pinned `third_party/llama.cpp` 1a5dcba2 has no `muse-spark`
architecture (it has the `moe_latent_size` key and the latent tensors only for Nemotron 3
Super). Upstream `ggml-org/llama.cpp` added it on 2026-10-15 in ba3c05f71 ("model: add Muse
Spark Open (text, vision and audio)", #30616: `LLM_ARCH_MUSE_SPARK`, `src/models/muse-spark.cpp`,
`conversion/muse_spark.py`), after the fork's last upstream sync, so a later fork sync that
reaches it maps the class automatically - at that point `tools/registry_build.py --check-gaps`
fails until this entry records why (`mapped_ok`).

**Not a one-off, but not servable here.** The HF `muse_spark` tag lists 23 models (Meta's
base and NVFP4, unsloth, mlx-community, intel-ai INT4, amd Quark-MXFP4). Even its smallest
GGUF (Q4_K_M, ~500 GB) is about four times the 128 GB Strix Halo, so the gap costs nothing on
the target box today. Reviewed 2026-10-17: **not an alias**. Its `registry/significant.json`
entry carries `"watch": "report"`, so the census watcher lists new uploads as `. REVIEWED` and
does not alert; remove that field (and record `mapped_ok`) when the pin gains `muse-spark`.

@bong-water-water-bong
bong-water-water-bong merged commit d344381 into main Oct 18, 2026
8 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the 1bit/census-muse-spark branch October 18, 2026 02:11
bong-water-water-bong added a commit that referenced this pull request Nov 20, 2026
42b544465 hrx: the fused F16 routed-FFN decodes the table with the layout it was written with (engine#2861) (#445)
cd5f6b570 hrx: revert #434's loomc builder rename, which moved the fork onto an API the pinned hrx-system predates (engine#2916) (#446)
d102fbe02 test-hrx-ops: accept the HIP add-on route for a kquant-covered few-token MUL_MAT, and give the routed-MoE row its verdict (engine#2774) (#447)
da1636929 hrx: a code object carries a content identity of its add-on tree (engine#2935) (#444)
3b7cbfb14 hrx: reuse the 2..8-token kquant kernel for 1-bit prefill, scoped by a measured format guard (engine#2832) (#443)
a7fd21ac9 hrx: the routing layout follows the consumer, so the plan keeps one table (engine#2861) (#438)
db6c8a9b3 Revert "hrx: select the existing 2..8-token kquant reuse kernel above the add-on's prefill matcher (engine#2832)" (#442)
b021440f3 tests: a whole run of device cases answers 77 too, not 0 (engine#2912, the other half) (#441)
f3db40313 tests: a skipped device case answers 77, not 0 (engine#2912) (#439)
1ac44fc38 hrx: select the existing 2..8-token kquant reuse kernel above the add-on's prefill matcher (engine#2832) (#440)

registry/architectures.json regenerated by tools/registry_build.py; --check, --check-pins and copyright
--check pass on the staged tree. hw-gate starts by itself for a pin-moving PR (engine#2759).

Co-authored-by: bong-water-water-bong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

census: new HF model class uncovered by the registry

1 participant