laminio 0.1.0

A layer-streaming tensor engine for loading massive models directly from cold storage.
Documentation
/*  src/lib.rs  Library entry point and primary interfaces for laminio.
 *
 *  Copyright 2026 Emerge Cooperative
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero General Public License as published
 *  by the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *                                                                          */

//! `laminio` is a layer-streaming tensor execution engine designed to execute
//! massive (>100GB) model files slice-by-slice directly from disk into RAM.

pub mod error;

pub use error::LaminioError;

/// Precision classification for quantized and floating-point layer weights.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Precision {
    /// 4-bit packed weights (nibble precision).
    Nibble,
    /// 8-bit quantized or integer weights (byte precision).
    Byte,
    /// 16-bit floating-point weights (word precision, FP16/BF16).
    Word,
}