Skip to main content

parse_bytes

Function parse_bytes 

Source
pub fn parse_bytes(bytes: Vec<u8>, path: String) -> Result<GgufLayout>
Expand description

Parse an already-loaded byte buffer as a GGUF checkpoint. Useful for unit tests and in-memory round-trips. Uses ParseLimits::default.