echuraev commented on pull request #9032:
URL: https://github.com/apache/tvm/pull/9032#issuecomment-921056388


   > Is it because `args` not being properly managed?
   
   I think so. In case when the `args` is a global dictionary then during the 
tuning some object hold the `rpc_endpoint` and we cannot destroy it. This is 
why this hang happens.
   
   > Do you know exactly what resource is not freed?
   
   I tried to find the exact resource which hold the resources and leads to 
hang. But didn't find it. Now I thought about it and I suppose it can be the 
empty ndarrays which were created. But I have to check it. Maybe the good 
solution will be to regenerate such arguments which were not predefined for 
each run.


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