mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
enable sin on METAL in test_dtype_alu (#5298)
This commit is contained in:
parent
b369e75ed0
commit
fc03fc025e
1 changed files with 1 additions and 2 deletions
|
|
@ -40,8 +40,7 @@ unary_operations = [(Tensor.exp, np.exp), (Tensor.log, np.log), operator.neg, (T
|
|||
#binary_operations += [(Tensor.maximum, np.maximum)]
|
||||
|
||||
# TODO: CUDACPU segfaults on sin
|
||||
# TODO: METAL sin is flaky for float16
|
||||
if getenv("CUDACPU") or (getenv("MOCKGPU") and Device.DEFAULT == "NV") or Device.DEFAULT == "METAL": unary_operations.remove((Tensor.sin, np.sin))
|
||||
if getenv("CUDACPU") or (getenv("MOCKGPU") and Device.DEFAULT == "NV"): unary_operations.remove((Tensor.sin, np.sin))
|
||||
|
||||
class ht:
|
||||
float64 = strat.floats(width=64, allow_subnormal=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue