masahi edited a comment on issue #9349:
URL: https://github.com/apache/tvm/issues/9349#issuecomment-950765995


   It might be due to our use of `RTLD_GLOBAL`, e.g. 
https://github.com/apache/tvm/blob/dfe4cebbdadab3d4e6e6ba3951276a51a4ffeaf6/python/tvm/_ffi/base.py#L57
   
   @lhutton1 Try replacing above with `ctypes.CDLL(lib_path[0])`, it fixes the 
issue on my end (mask rcnn test works without swapping the import order).
   
   See related issues in other repos
   https://github.com/dmlc/dgl/issues/2255
   https://github.com/pytorch/pytorch/pull/28536
   https://github.com/pytorch/pytorch/issues/3059


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


Reply via email to