skip METAL sin test in test_dtype_alu (#3633)

revert this part of #3629. this is flaky
This commit is contained in:
chenyu
2024-03-06 17:29:19 -05:00
committed by GitHub
parent 8f10bfa2ff
commit b2e92d44fa

View File

@@ -38,7 +38,8 @@ unary_operations = [(Tensor.exp, np.exp), (Tensor.log, np.log), operator.neg, (T
#binary_operations += [(Tensor.maximum, np.maximum)]
# TODO: CUDACPU segfaults on sin
if getenv("CUDACPU"): unary_operations.remove((Tensor.sin, np.sin))
# TODO: METAL sin is flaky for float16
if getenv("CUDACPU") or Device.DEFAULT == "METAL": unary_operations.remove((Tensor.sin, np.sin))
class ht:
float64 = strat.floats(width=64, allow_subnormal=False)