tqchen commented on issue #6590: URL: https://github.com/apache/incubator-tvm/issues/6590#issuecomment-700875357
Thanks for reporting the problem, please open a new thread on https://discuss.tvm.apache.org/. BTW, checking a modified version of the script on master seems to show a stable memory usage. ```python import os, psutil import tvm from tvm import te def tvm_build(): n = 2 A = te.placeholder((n,), name='A') B = te.placeholder((n,), name='B') C = te.compute(A.shape, lambda *i: A(*i) + B(*i), name='C') s = te.create_schedule(C.op) m = tvm.driver.lower(s, [A, B, C], name="test_add") rt_mod = tvm.driver.build(m, target="llvm") def main(): process = psutil.Process(os.getpid()) for i in range(0, 1000): tvm_build() print('i='+str(i)+', Used Memory:', process.memory_info().rss / 1024 / 1024, 'MB') main() ``` ---------------------------------------------------------------- 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: [email protected]
