Skip to content

Commit

Permalink
[ci] Temporarily disable ad_external_array on Metal (taichi-dev#7136)
Browse files Browse the repository at this point in the history
This test is flaky. It does not fault out properly and CI detects a
success while a worker will be brought down by this crash, making CI
impossibly long.

Issue: #

### Brief Summary
  • Loading branch information
bobcao3 authored Jan 12, 2023
1 parent 42ec4c2 commit 7615d60
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()
@test_utils.test(exclude=[ti.metal])
def test_to_numpy():
a = ti.field(dtype=float, shape=(), needs_grad=True)
loss = ti.field(dtype=float, shape=(), needs_grad=True)
Expand All @@ -20,7 +20,7 @@ def func():
0]


@test_utils.test()
@test_utils.test(exclude=[ti.metal])
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 7615d60

Please sign in to comment.