Function diffuser_edit::helpers::quantize_f16
source ยท pub fn quantize_f16(checkpoint: &mut HashMap<String, Tensor>) -> Result<()>
Expand description
Quantize the float tensors to f16.
pub fn quantize_f16(checkpoint: &mut HashMap<String, Tensor>) -> Result<()>
Quantize the float tensors to f16.