engram_parser/analysis/mod.rs
1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3//! Model-analysis specializations built on top of format parsing.
4//!
5//! Modules here interpret checkpoint contents for a specific model
6//! family or architecture pattern. They are consumers of the
7//! format-specific handles (`gguf`, `safetensors`) and the shared
8//! [`checkpoint`](crate::checkpoint) contract — not part of the core
9//! parsing substrate.
10//!
11//! Today this namespace holds a single specialization:
12//!
13//! - [`moe`]: Mixture-of-Experts expert enumeration and per-expert
14//! raw-weight extraction. GGUF-specific: it operates on
15//! [`GgufLayout`](crate::gguf::GgufLayout) and returns
16//! GGUF-typed [`RawTensor`](moe::RawTensor) slices.
17//!
18//! Format-independent MoE/topology discovery (model roles, transformer
19//! structure) is deliberately *not* here yet — that is v0.4 work.
20
21pub mod moe;