Skip to main content

weight_file_bytes

Function weight_file_bytes 

Source
fn weight_file_bytes(id: &str, file: &WeightFile) -> Result<WeightBytes, String>
Expand description

Resolve one weight file to its bytes: supplied bytes, then (native) local override / cache, then download.