Skip to main content

read_archive

Function read_archive 

Source
pub fn read_archive(path: impl AsRef<Path>) -> Result<PriorArchive, PriorError>
Expand description

Reads and dequantizes a QPI1/QPR1/LRA1/QLA1 archive into f32 tensors.

ยงErrors

Returns PriorError if the file cannot be read, the magic/version/metadata is invalid, any payload is truncated, or trailing bytes remain.