Skip to main content

from_model_index

Function from_model_index 

Source
pub fn from_model_index(path: &Path) -> Hint
Expand description

The hint for a diffusers model_index.json: its pipeline family’s modality and capabilities as a job. An unknown or absent _class_name yields an empty job hint (still a job — a diffusers bundle is never a streaming model).