pub fn gguf_validate_arch(path: &Path, allowed: &[&str]) -> Result<(), Error>
Ensure a GGUF file’s general.architecture is in allowed (call from model runners, not the loader).
general.architecture
allowed