comaniac commented on issue #5019: [AutoTVM] Temporary fix to the stack overflow issue in autotvm task extraction URL: https://github.com/apache/incubator-tvm/pull/5019#issuecomment-596901315 > Thanks for looking into this. I have hit the stackoverflow before. I've been working around it by starting up my autotvm script on another thread after I set a huge stack size. > > ``` > threading.stack_size(10 * 1024 * 1024) > t = threading.Thread(...) > t.start() > t.join() > ``` We did try this solution but found two problems. First, it is not always working (at least not working for some of us). Second, it is not scalable. The ultimate goal should be a non-recursive graph traversing, but this workaround should solve >90% of current use cases. btw, CI seems failed due to inconsistent return behaviors.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
