mbs-octoml commented on pull request #8722:
URL: https://github.com/apache/tvm/pull/8722#issuecomment-897043257


   > the other idea i had was explicitly deleting the module from sys.modules, 
if it's true that sphinx-gallery is importing it. seems like it does something 
very weird, though, and it's likely the top-level ref is removed: 
https://github.com/sphinx-gallery/sphinx-gallery/blob/master/sphinx_gallery/gen_rst.py#L501
   
   Yuk. At least on my runs it's not outright holding onto everything and gc 
indeed does do the right thing. So I thought trying the obvious dumb thing 
first would be worthwhile before we get deeper into the labyrinth.
   


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