From 5c644db0fe101b791fa1e54074d0c2b172bd0b55 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 7 Jul 2022 00:38:20 +0200 Subject: [PATCH] Including here. --- bindings/python/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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) } -- 2.43.0