Skip to content

[bitnet] Maturity gate: golden-token parity, model-gated smoke, entry-point parity + CLI knobs #360

Description

@michalharakal

Problem

#346's maturity gate stands at 0/3 for BitNet:

  1. No llama.cpp golden-token parity test.
  2. No tests/smoke/smoke-models.json row — PR SKaiNET-transformers → engine 0.51: full engine-loader migration, MAPPED default, BitNet fold-in #353's "3/3 pass … BitNet-2B4T" run was manual, nothing gates regressions.
  3. Entry-point parity 1/3 — only the unified skainet-cli; no chat-model facade, no family CLI (the facade arrives with [bitnet] Full #346 conformance: BitNetWeightLoader/RuntimeWeights naming + llm-runtime/kbitnet facade #359's llm-runtime/kbitnet).

Plus CLI rough edges on the BitNet path:

  • i2sLayout hardcoded to GROUP_128 at the call site — the I2sGgufLayout knob (GROUP_64 / SEQUENTIAL) is not exposed, and a wrong flavor only "fails fast on code 3 where possible".
  • --context silently ignored (Main.kt:246-248).
  • The explicit NativeTernaryF32GemvKernel.install / NativeTernaryLmheadKernel.install at Main.kt:249-250 are the only kernel bootstraps that survived the 0.52 sweep — load-bearing (the ternary packs are not in the engine's self-healing SPI, Ternary kernel packs are missing from the self-healing dispatch SPI — consumers silently get the int8 fallback SKaiNET#1240) but uncommented, so they look like a missed cleanup.

Tasks

Verification

  • Gate: parity + smoke jobs green in CI with the model present, skipped-not-failed without it.
  • --i2s-layout sequential loads a NeoGPU-converted GGUF; wrong-layout run fails with a clear message.

Refs: #346 (maturity gate), #335, #359, SKaiNET-developers/SKaiNET#1240.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions