Skip to main content

kernel/resolution/
mod.rs

1//! Identifying a model's format and capabilities from its files. The full
2//! runtime-bid auction lives with the runtime adapters; this module holds the
3//! file-format detection those decisions build on.
4
5pub mod format;
6pub mod gguf;
7pub mod identification_cache;
8pub mod identity;
9pub mod pipelines;
10pub mod safetensors;
11
12pub use format::{
13    GgufArchitectureProfile, GgufFacts, ModelFormat, gguf_architecture_profile,
14    ollama_chat_profile, ollama_profile, ollama_vision_profile,
15};
16pub use gguf::{gguf_facts, gguf_general_architecture, has_ggml_magic, has_gguf_magic};
17pub use identification_cache::IdentificationCache;
18pub use identity::{IdentifiedModel, RuntimeBid, identify};
19pub use pipelines::{
20    DiffusersPipelineProfile, PipelineFamily, PipelineFamilyRegistry, PipelineRefinement,
21    SchedulerFacts,
22};
23pub use safetensors::{safetensors_format, safetensors_header_format};