shingjan commented on a change in pull request #8492:
URL: https://github.com/apache/tvm/pull/8492#discussion_r675215414
##########
File path: python/tvm/autotvm/record.py
##########
@@ -230,7 +231,7 @@ def split_workload(in_file, clean=True):
lines = list(open(in_file).readlines())
logger.info("start converting...")
- pool = multiprocessing.Pool()
+ pool = popen_pool.PopenPoolExecutor()
Review comment:
A default value for number of processes used in `PopenPoolExecutor` is
added.
##########
File path: python/tvm/autotvm/utils.py
##########
@@ -111,7 +112,7 @@ def pool_map(func, args, batch_size, verbose=False,
pool=None):
ret = None
tic = time.time()
- local_pool = pool or multiprocessing.Pool()
+ local_pool = pool or PopenPoolExecutor()
Review comment:
Same as above.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]