Skip to main content

check

Function check 

Source
pub fn check() -> Result<()>
Expand description

Ok when this CPU can run the compiled-in llama.cpp, else Error::UnsupportedCpu. Cheap (the detection is cached), so apps can call it to decide whether to offer local models.