Skip to main content

cortiq_core/
lib.rs

1//! cortiq-core — CMF v2 container: types, tensor directory, masks, quant.
2//!
3//! Format specification: `docs/CMF_V2_SPEC.md`.
4
5pub mod format;
6pub mod hash;
7pub mod mask;
8pub mod quant;
9pub mod types;
10
11pub use format::{
12    build_sparse_index, CmfError, CmfHeader, CmfModel, SelectionDescriptor, SkillRecord,
13    SparseIndexEntry, TensorEntry, TensorSpec, CMF_MAGIC, CMF_VERSION,
14};
15pub use hash::hash64;
16pub use mask::{MaskCatalog, MaskDiff, MaskPriority, Quality, TaskMask};
17pub use types::{
18    ExecutionMode, LayerStats, LayerType, LinearCoreConfig, ModelArch, MoeConfig, MtpConfig, NormStyle, PerformanceMetrics,
19    QuantType, SimdType, TensorDtype,
20};