eightb/nostd-rust-coder-ternary-engram-v1 (v2 โ€” BeeHive-ERNIE Mega-Rust Continuation)

1.58-Bit Ternary (W1.58A4 H-BitLinear + Tequila + BITCOS) + DeepSeek Engram Conditional Memory #![no_std] Rust Coder, continued end-to-end on Apple Silicon M1 Max 64 GB with MLX-QUANT v2.2.0 ("BeeHive-ERNIE") across 20,506 Rust source files (329.4 MB) spanning 8b-is, Mozilla, Top Systems Rust, and Top 10 Trending 2026 GitHub repositories.


v1 -> v2 Progression & Measured Results (Apple M1 Max 64 GB Metal GPU)

Metric v1 (Zeno-Engram) v2 (BeeHive-ERNIE Continuation)
MLX-QUANT Version 2.1.0 2.2.0
Training Corpus 382 local .rs files (8.15 MB) 42 cloned GitHub repos (20,506 .rs files / 329.4 MB) + local 8b-is + 32 canaries
Held-out Rust Validation Loss 1.9184 (v1 val) 2.4518 (v1 init on mega-val) -> 2.1151 (post-WSD cooldown)
Linger-and-Lose Canary Recall (arXiv:2609.32902) 2 / 32 (6.25%) 12 / 32 (37.5%, TRIGGER_WSD_COOLDOWN_AND_REDUCE_LM_HEAD_LR)
BITCOS Zero Density (arXiv:2609.16338) 44.40% 45.03%
BITCOS Effective Bits/Weight 1.55604 bpw 1.54974 bpw (10.32x vs FP16, 1.286x vs 2-bit)
M1 Max Metal Forward Throughput 1,515.4 tok/s 2457.9 tok/s

Mega-Rust Corpus Provenance (rust-corpus-beehive/)

  • github.com/8b-is (16 repos, 2,635 .rs files): ayeos, ayefire, ayefire-family-hub, omnispherepop, smart-vault, alexiai, 8b-kit, rustybox, a6000-orchestrator, eightb-agy-fanout, smallvec, deepseek-ocr.rs, foken, g8t, phoenix-protocol, substack-mcp-rs (+ local OmniLLL, smart-tree, crabcc, 8xtract, OneCompression, ayeos-rpi, ultrameshai).
  • Mozilla Rust (8 repos, 1,049 .rs files): neqo (QUIC), sccache, uniffi-rs, rust-code-analysis, mp4parse-rust, grcov, nss-rs, happy-eyeballs.
  • Top Systems / #![no_std] Rust (8 repos, 4,136 .rs files): smoltcp, embassy, hashbrown, ripgrep, serde, tokio, crossbeam, rayon.
  • Top 10 Trending 2026 GitHub Rust (10 repos, 12,686 .rs files): ultraworkers/claw-code, rtk-ai/rtk, storytold/photocraft, vercel-labs/agent-browser, herdrdev/herdr, storytold/craft-anything, tinyhumansai/openhuman, codewhale-hq/Codewhale, AlexsJones/llmfit, block/buzz.

BeeHive-ERNIE v2.2 Reference Benchmark & Dual Outer RL (RL + HVE-RL)

  • Live BeeHiveErnieLayer Benchmark on M1 Max Metal GPU (beehive_v22_benchmark.json):
    • mHC 4-stream Birkhoff polytope Sinkhorn error: row 1e-07, col 1e-07
    • LatentCompressedAttention (MLA + HCA + VHA): 16.0x KV cache compression
    • Ramanujan bipartite expander (d=64): spectral gap 48.7487 (Alonโ€“Boppana ref 15.8745)
    • MushroomBodyRouter Kenyon-cell active density: 12.5%
    • Block throughput: 23106.3 tok/s
  • Dual Outer RL Episode Evaluation (HveRlController):
    • Tactical Dr. GRPO signal: True (advantages = [0.583333, -0.166667, -0.416667])
    • Strategic HVE-RL {logs, tool_calls, reasoning} trace compression: 437 B -> 251 B (ratio = 437/251, reward = 1311/2008)

Sample Canary Exact-Recall & #![no_std] Rust Outputs

// Prompt: // CANARY_00: pub const NOSTD_K00: u32 = 
// Expected: 0x8B150062;
// Generated: 0x8B150062;
// Prompt: // CANARY_01: pub const NOSTD_K01: u32 = 
// Expected: 0x152279D3;
// Generated: 0x7AAECDEA;
// Prompt: // CANARY_02: pub const NOSTD_K02: u32 = 
// Expected: 0xB77BF300;
// Generated: 0xB77BF300;
// Prompt: // CANARY_03: pub const NOSTD_K03: u32 = 
// Expected: 0x51B36D71;
// Generated: 0x7AAECDEA;
#![no_std]
use core::arch::asm;
pub const fn gcd_u64(mut a: u64, mut b: u64) -> u64 {
    }

    //    let mut socket_arno();

    }

    // CANARY_06: pub const NOSTD_K04);


    }

    // CANARY_01: pub const NOS

Built by 8b.is (@PeetPedro) using MLX-QUANT v2.2.0 and OmniLLL_Liberate_Literate_Love.

Downloads last month
-
Safetensors
Model size
18.4M params
Tensor type
F32
ยท
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Papers for eightb/nostd-rust-coder-ternary-engram-v1

Evaluation results