engram-parser 0.3.0

Pure-Rust GGUF + Safetensors checkpoint/tensor substrate: format-independent tensor inventory, metadata, and raw payload access for ANN/SNN research. Default builds are zero-dependency (`fs::read` into `Vec<u8>`). Optional `mmap` feature adds memmap2. Packed dequant for Q8_0/Q5_K/Q6_K/IQ3_M. Off-by-default `safetensors` feature adds manifest/discovery plus raw tensor payload access via the upstream safetensors crate. MoE per-expert weight extraction ships as a GGUF model-analysis specialization.
Documentation
// SPDX-License-Identifier: MIT OR Apache-2.0

//! Model-analysis specializations built on top of format parsing.
//!
//! Modules here interpret checkpoint contents for a specific model
//! family or architecture pattern. They are consumers of the
//! format-specific handles (`gguf`, `safetensors`) and the shared
//! [`checkpoint`](crate::checkpoint) contract — not part of the core
//! parsing substrate.
//!
//! Today this namespace holds a single specialization:
//!
//! - [`moe`]: Mixture-of-Experts expert enumeration and per-expert
//!   raw-weight extraction. GGUF-specific: it operates on
//!   [`GgufLayout`](crate::gguf::GgufLayout) and returns
//!   GGUF-typed [`RawTensor`](moe::RawTensor) slices.
//!
//! Format-independent MoE/topology discovery (model roles, transformer
//! structure) is deliberately *not* here yet — that is v0.4 work.

pub mod moe;