metrale_speculative/lib.rs
1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3//! 2026-09-25: Metrale Engine speculative-decoding policy: the MTP gate, the
4//! adaptive and DFlash rungs, the n-gram proposer, draft-capacity clamps,
5//! per-run speculation counters and the scheduler snapshot.
6//!
7//! Owner: speculative.
8//! Invariants: none beyond the types.
9
10pub mod adaptive_rung;
11pub mod dflash_rung;
12pub mod mtp_gate;
13pub mod ngram;
14pub mod prompt_lookup;
15pub mod shared_lookup;
16pub mod snapshot;
17pub mod spec_capacity;
18pub mod spec_cost;
19pub mod spec_stats;