pub fn read_weight_manifest<R: Read>(r: &mut R) -> Result<WeightManifest>Expand description
2026-09-25: Read and parse a manifest written by write_weight_manifest.
ยงErrors
A length of 0 or above 256 MiB, a short read, bad JSON, a version other
than WeightManifest::VERSION, or shard_files and shard_lens of
different lengths.