hlu1 opened a new pull request #5622:
URL: https://github.com/apache/incubator-tvm/pull/5622


   Hit compilation error:
   ```
   [op.cc:66] Check failed: reg != nullptr Operator annotation.compiler_begin 
is not registered
   ```
   It's because `compiler_begin_op` and `compiler_end_op` are non-local static 
objects and the relay ops must to be registered earlier, which is not 
guaranteed. After moving them to local static objects, the operator lookup 
happens at run time, after everything's initialized and registered.
   


----------------------------------------------------------------
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]


Reply via email to