You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/05/17 23:13:46 UTC

[GitHub] [tvm] hsuanguo opened a new pull request #8063: [Python] allow Module exits without del

hsuanguo opened a new pull request #8063:
URL: https://github.com/apache/tvm/pull/8063


   I have seen this error a couple of times :
   
   ```
   Exception ignored in: <object repr() failed>
   Traceback (most recent call last):
     File "/home/developer/tvm/python/tvm/runtime/module.py", line 48, in __del__
   AttributeError: 'NoneType' object has no attribute 'TVMModFree'
   ```
   
   Not sure what's the cause of it, seems pretty random, and it doesn't really have any negative impact, just throw error at the end of the program, we can still get correct results.
   
   I found a similar fix here #583, this PR is basically the same as it.


-- 
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:
users@infra.apache.org



[GitHub] [tvm] tqchen merged pull request #8063: [Python] allow Module exits without del

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #8063:
URL: https://github.com/apache/tvm/pull/8063


   


-- 
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:
users@infra.apache.org



[GitHub] [tvm] tqchen commented on pull request #8063: [Python] allow Module exits without del

Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #8063:
URL: https://github.com/apache/tvm/pull/8063#issuecomment-843149199


   Thanks @hsuanguo 


-- 
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:
users@infra.apache.org