Skip to main content

kernel/install/
mod.rs

1//! Installing models: resolving a user-typed reference to a provider, and the
2//! provider-facing error/identity types. The Hugging Face / Ollama fetch providers
3//! and the install service build on this foundation.
4
5mod bytes;
6pub mod catalog;
7pub mod error;
8pub mod event;
9pub mod file_selection;
10pub mod ollama_pull;
11pub mod plan;
12pub mod provider;
13pub mod pulls;
14pub mod reference;
15
16pub use catalog::{InstallCatalogEntry, InstallCategory, recommended, recommended_for_ram};
17pub use error::InstallError;
18pub use event::{InstallEvent, InstallProgress, InstallStreamEvent};
19pub use file_selection::{HFSibling, file_extension, is_weight_path, select};
20pub use plan::{
21    ActiveInstall, InstallBrowseResult, InstallPlan, InstallPlanFile, InstallSearchHit,
22};
23pub use provider::{InstallAvailability, InstallProviderId};
24pub use pulls::{
25    PullControl, PullError, PullEvent, PullEventKind, PullJob, PullJobDir, PullLock, PullState,
26    PullStatus, PullStore, take_lock,
27};