[AutoTVM] Use popenpool in local_executor#8851
Conversation
|
Author's note:
|
5c0ace4 to
bab59c0
Compare
|
Similar to the fix you did for auto scheduler, |
|
@vinx13 just moved all testing utility functions of autotvm to |
|
@vinx13 The refactor is finished. I moved the two test cases for |
18eab6b to
29f0c1b
Compare
|
Can you confirm autotvm work both in the terminal and jupyter? You can run this tutorial |
vinx13
left a comment
There was a problem hiding this comment.
The test case can be updated if the only usage of LocalFutureNoFork is the test case
c25bd00 to
d78e79e
Compare
|
On 64-core linux machine, each did 5 runs:
|
|
@shingjan can you also check if custom build func still works for autotvm? |
0b5397e to
34e9d12
Compare
|
With a custom build function like the one below, this PR runs fine for |
* use popenpool in local_executor * move auto_tvm_common to tvm.testing * refactor * nit * remove LocalFutureNoFork * exception handling * handling two exceptions * handling error * add initiazlier
* use popenpool in local_executor * move auto_tvm_common to tvm.testing * refactor * nit * remove LocalFutureNoFork * exception handling * handling two exceptions * handling error * add initiazlier
This PR intends to replace
multiprocessing.poolwithpopenpoolinautotvm/local_executor.@junrushao1994 @vinx13 @tqchen