From: Nicolas Patry Date: Wed, 6 Jul 2022 22:38:20 +0000 (+0200) Subject: Including here. X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5c644db0fe101b791fa1e54074d0c2b172bd0b55;p=safetensors.git Including here. --- diff --git a/bindings/python/src/lib.rs b/bindings/python/src/lib.rs index 74f2de2..707b672 100644 --- a/bindings/python/src/lib.rs +++ b/bindings/python/src/lib.rs @@ -33,6 +33,7 @@ fn prepare<'a>(tensor_dict: HashMap) -> PyResult Dtype::F16, "float32" => Dtype::F32, "float64" => Dtype::F64, + "bfloat16" => Dtype::BF16, dtype_str => { unimplemented!("Did not cover this dtype: {}", dtype_str) }