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 2023/01/07 01:53:14 UTC
[GitHub] [tvm] junrushao commented on issue #13639: [Bug] cudaFree() error when use meta-schedule
junrushao commented on issue #13639:
URL: https://github.com/apache/tvm/issues/13639#issuecomment-1374344623
Can we try:
```diff
- module.run()
- return module.get_output(0).numpy()
+ module.run()
+ result = module.get_output(0).numpy()
+ del module
+ return result
```
This prevents `module` from early destruction
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org