Skip to content

Commit

Permalink
[AutoScheduler] Fix custom build func in PopenWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 committed Sep 3, 2021
1 parent aac0754 commit 23c5ffc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions python/tvm/auto_scheduler/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,10 +660,6 @@ def local_build_worker(args):
The build result of this Builder thread.
"""
inp, build_func, verbose = args
assert build_func == BuildFunc.name, (
"BuildFunc.name: " + BuildFunc.name + ", but args is: " + build_func
)
build_func = BuildFunc.build_func

return _local_build_worker(inp, build_func, verbose)

Expand Down Expand Up @@ -698,7 +694,7 @@ def local_builder_build(inputs, timeout, n_parallel, build_func="default", verbo
[
(
i.serialize(),
build_func,
BuildFunc.build_func,
verbose,
)
for i in inputs
Expand Down

0 comments on commit 23c5ffc

Please sign in to comment.