Skip to content

Commit eb4f13b

Browse files
committed
Revert Default impl for DType when feature = "python"
1 parent e3e34b8 commit eb4f13b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backends/src/dtype.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,9 @@ impl Default for DType {
8484
{
8585
DType::Float16
8686
}
87+
#[cfg(feature = "python")]
88+
{
89+
DType::Bfloat16
90+
}
8791
}
8892
}

0 commit comments

Comments
 (0)