Skip to content

Commit

Permalink
Unregister updater after test
Browse files Browse the repository at this point in the history
Change-Id: I8009940bb2ac949f2c3f0d72c943a5b74afd6954
  • Loading branch information
mbaret committed Oct 29, 2020
1 parent f5924b1 commit a787166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/python/relay/test_external_codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ def constant_updater(expr, symbol):
assert len(params) == 1
assert "ccompiler_0_p0" in params.keys()

tvm._ffi.registry.remove_global_func("relay.ext.ccompiler.constant_updater")


def test_extern_dnnl():
if not tvm.get_global_func("relay.ext.dnnl", True):
Expand Down

0 comments on commit a787166

Please sign in to comment.