Skip to main content

gguf_validate_arch

Function gguf_validate_arch 

Source
pub fn gguf_validate_arch(path: &Path, allowed: &[&str]) -> Result<(), Error>
Expand description

Ensure a GGUF file’s general.architecture is in allowed (call from model runners, not the loader).