Skip to content

Commit 04176b3

Browse files
authored
Merge pull request #373 from KernelTuner/fix-find_bfloat16_if_available
Fix `_find_bfloat16_if_available` always returning `None`
2 parents 8047438 + fe3ffe6 commit 04176b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel_tuner/accuracy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _find_bfloat16_if_available():
9696
+ "please install either the package `ml_dtypes`, `jax`, or `tensorflow`"
9797
)
9898

99-
return None
99+
return dtype
100100

101101

102102
def _to_float_dtype(x: str) -> np.dtype:

0 commit comments

Comments
 (0)