mirror of https://github.com/Jittor/Jittor
update test_trace_var
This commit is contained in:
parent
dcbf8b76f2
commit
28ab13d804
|
@ -149,7 +149,6 @@ class TestTraceVar(unittest.TestCase):
|
|||
if i not in data["node_data"]:
|
||||
assert 0, (i, "not found")
|
||||
|
||||
@unittest.skipIf(platform.system() == 'Darwin', 'will crash on macOS')
|
||||
def test_resnet_trainx(self):
|
||||
with jt.flag_scope(trace_py_var=2):
|
||||
|
||||
|
@ -177,7 +176,6 @@ class TestTraceVar(unittest.TestCase):
|
|||
# if "_opt" in s["name"] or "_model" in s["name"]:
|
||||
# assert 0, v
|
||||
|
||||
@unittest.skipIf(platform.system() == 'Darwin', 'will crash on macOS')
|
||||
def test_resnet_train_profile(self):
|
||||
with jt.profile_scope(trace_py_var=1):
|
||||
|
||||
|
|
Loading…
Reference in New Issue