diff --git a/candle-core/src/safetensors.rs b/candle-core/src/safetensors.rs index fd4966e02c..4d38ce4308 100644 --- a/candle-core/src/safetensors.rs +++ b/candle-core/src/safetensors.rs @@ -219,6 +219,7 @@ fn convert(view: &st::TensorView<'_>, device: &Device) -> Result { st::Dtype::F16 => convert_::(view, device), st::Dtype::F32 => convert_::(view, device), st::Dtype::F64 => convert_::(view, device), + st::Dtype::F8_E4M3 => convert_::(view, device), dtype => Err(Error::UnsupportedSafeTensorDtype(dtype)), } }