Skip to content

Commit

Permalink
[AutoTVM, Relay] Clear compile engine after task extraction (#5724)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored Jun 4, 2020
1 parent 43dcbc6 commit a642089
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tvm/autotvm/task/relay_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def extract_from_multiple_program(mods, params, target, target_host=None, ops=No
args=(mod, target, param))
build_thread.start()
build_thread.join()
relay.backend.compile_engine.get().clear()

logger.disabled = old_state

Expand Down

0 comments on commit a642089

Please sign in to comment.