Skip to content

Commit

Permalink
[ci] Revert "Temporarily disable ad_external_array on Metal (taichi-d…
Browse files Browse the repository at this point in the history
…ev#7136)"

This reverts commit 7615d60.
  • Loading branch information
feisuzhu committed Apr 21, 2023
1 parent 6498808 commit 1a1ffd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/test_ad_external_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from tests import test_utils


@test_utils.test(exclude=[ti.metal])
@test_utils.test()
def test_to_numpy():
a = ti.field(dtype=float, shape=(), needs_grad=True)
loss = ti.field(dtype=float, shape=(), needs_grad=True)
Expand All @@ -19,7 +19,7 @@ def func():
assert "Exporting data to external array (such as numpy array) not supported in AutoDiff for now" in e.value.args[0]


@test_utils.test(exclude=[ti.metal])
@test_utils.test()
def test_from_numpy():
a = ti.field(dtype=float, shape=(), needs_grad=True)
loss = ti.field(dtype=float, shape=(), needs_grad=True)
Expand Down

0 comments on commit 1a1ffd1

Please sign in to comment.