[Apache TVM Discuss] [Questions] [Memory leak]How to free memory manually after building a operator for long running building case?

2020-09-30 Thread jamesqiao via Apache TVM Discuss
Hi [tqchen](https://discuss.tvm.apache.org/u/tqchen), Thank you for your reply! We are curently using the tvm v0.6. So is there any way to reduce the memory usage after building a operator for tvm v0.6? Can i call a method to free the memory? Thank you in advance! BTW, I have tested these tw

[Apache TVM Discuss] [Questions] [Memory leak]How to free memory manually after building a operator for long running building case?

2020-09-29 Thread jamesqiao via Apache TVM Discuss
Hello all, I have a sample code from tvm offical site below. I want to build thousands of operators in the same process. But i found there is memory leak and the memory usage is increasing. I thought after the build of one operator was finished, the corresponding resource should be freed. Do y