mod cache_policy;
mod capacity;
mod config;
mod engine;
mod sequence;
mod telemetry;
pub use cache_policy::{
CacheAffinity, CacheAwareCandidate, StageCacheAffinity, order_cache_aware_candidates,
order_cache_aware_candidates_with_anchor, select_cache_aware_candidate,
};
pub use capacity::{
CapacityDemand, CapacityPlan, ComponentCapacitySnapshot, EvictableCacheEntry,
plan_component_capacity, rank_eviction_candidates,
};
pub use config::{MemoryComponent, SchedulerConfig};
pub use engine::{AdmissionError, Scheduler, SchedulerSnapshot};
pub use sequence::{
IterationPhase, IterationPlan, IterationPrediction, IterationWork, PrefixRestore,
PrefixRestoreKind, Sequence, SequenceStatus,
};
pub use telemetry::{IterationTelemetry, SchedulerMetrics};
pub const LLAMA_MAX_SEQ: usize = 256;