PhilippvK commented on issue #11656: URL: https://github.com/apache/tvm/issues/11656#issuecomment-1479511245
@AndrewZhaoLuo Thank you for raising that issue. I recently ran into the described problem that POpenPools do not properly propagate Pass contexts to the build functions running in the subprocesses. While I am am aware of #11632, it does not seem to solve the issue when using the `LocalRunner` for AutoTVM and AutoScheduler. Is there any workaround that I am not aware of? For AutoTVM I was able to just just pass the current pass context as an argument (see proof of concept: https://github.com/apache/tvm/commit/f82ad67ce4c927cadeec23a9efe11398b35bfcc3), but I would imagine that this did only work because AutoTVM is solely based on Python. For AutoSchedule which heavily relies on C++ we would probably need to implement the serialization of the PassContext as described 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]
