Skip to content

sync: open-core source for 0.2.4 - #62

Merged
prabod merged 1 commit into
mainfrom
sync/source-0.2.4-b5e86372
Sep 9, 2026
Merged

sync: open-core source for 0.2.4#62
prabod merged 1 commit into
mainfrom
sync/source-0.2.4-b5e86372

Conversation

@prabod

@prabod prabod commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Automated source sync from the engine tree, generated by tools/sync_public.py. Opened by hand because the sync workflow's token cannot create pull requests.

63 files — 5 new, 58 changed.

What's new

Three model families land in the converter, so this repo can build bundles for them:

  • gpt-ossbase-arch/src/gpt_oss.rs and base-convert/src/gpt_oss.rs. MXFP4 expert stacks are transplanted verbatim rather than requantized.
  • Nemotron-Hbase-arch/src/nemotron.rs. Mamba-2 hybrid.
  • GLM 5.2base-arch/src/glm.rs. Multi-head latent attention.

Plus base-hub/src/parts.rs for multi-part bundle reassembly, the public headers, the language bindings, and a rustfmt pass over the workspace.

Header change worth noting

BaseRTModelConfig changed layout — the new families added fields beside the ones they relate to rather than at the end, so offsets moved and the struct grew. Anything built against 0.2.3 that reads it needs recompiling. baseRT_model_config_sizeof() reports the library's own size and the bindings compare it at load, so a mismatched pairing fails loudly rather than misreading fields.

Verification

Checked against a fresh clone of this repo before opening:

  • Builds: cargo build --release --bin basert clean.
  • Tests: 327 workspace tests pass.
  • No internal references in the diff.
  • The tuned quantization profiles are held back by the allow-list, as intended; only default-* and whisper-* are published.

The build check in particular is now enforced by the sync workflow itself. An earlier run of this sync pushed a tree that did not compile — it dropped every newly added file, so base-arch/src/lib.rs declared three modules whose files were missing. That branch (sync/source-0.2.4-63abd3f6) is incomplete and should be deleted rather than merged; this one supersedes it.

Generated by tools/sync_public.py from the internal tree at b5e86372.
Only allow-listed paths are included; tuned quant profiles and internal
tooling are excluded by rule.
@prabod
prabod merged commit dfe3b7a into main Sep 9, 2026
12 of 13 checks passed
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