Files
foxhunt/crates/model_loader

model_loader

ML model loading and caching infrastructure.

Key Types

  • AsyncModelLoader — async model loading with LRU cache
  • LoadedModelInfo — loaded model metadata and weights
  • ModelType — re-exported from common (10 model variants)

Usage

use model_loader::AsyncModelLoader;
let loader = AsyncModelLoader::new(cache_size);
let model = loader.load("path/to/checkpoint").await?;