cortiq-core 0.1.4

CMF (Cortiq Model Format): a self-describing, memory-mappable binary container for quantized LLM weights, tokenizer, per-task masks and per-skill delta records.
Documentation
//! cortiq-core — CMF v2 container: types, tensor directory, masks, quant.
//!
//! Format specification: `docs/CMF_V2_SPEC.md`.

pub mod format;
pub mod hash;
pub mod mask;
pub mod quant;
pub mod types;

pub use format::{
    build_sparse_index, CmfError, CmfHeader, CmfModel, SelectionDescriptor, SkillRecord,
    SparseIndexEntry, TensorEntry, TensorSpec, CMF_MAGIC, CMF_VERSION,
};
pub use hash::hash64;
pub use mask::{MaskCatalog, MaskDiff, MaskPriority, Quality, TaskMask};
pub use types::{
    ExecutionMode, LayerStats, LayerType, LinearCoreConfig, ModelArch, MoeConfig, MtpConfig, NormStyle, PerformanceMetrics,
    QuantType, SimdType, TensorDtype,
};