Skip to main content

validate_checkpoint

Function validate_checkpoint 

Source
pub fn validate_checkpoint(
    original_path: &Path,
    quantized_path: &Path,
) -> Result<Vec<TensorReport>>
Expand description

Compares every quantized tensor in quantized_path (as recorded by its embedded quantization_config) against the corresponding tensor in original_path, returning one TensorReport per quantized tensor, in the checkpoint’s tensor order.