echuraev commented on pull request #8492: URL: https://github.com/apache/tvm/pull/8492#issuecomment-911888558
> We should send the callable `build_func` here as an argument instead of the name of build_func. There will be a new requirement for custom build functions: it requires the custom build_func to be defined in a module importable from `PYTHONPATH` Are you sure that cloud pickle will be able to serialize such callable object? It was my first idea, but I faced the problem that I wasn't able to serialize python callable object and then call it from C++ code. I got an error like something like that: "Not able to serialize callable object". Don't remember the whole test, unfortunately. But maybe I missed something and did something wrong. -- 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]
