Memory and VRAM leak using rust frontend

I write a project that run Yolo in TVM using rust frontend: https://github.com/12101111/yolo-rs

It’s work well, but I found it has issue of memory leak. Both llvm and CUDA backend will cause memory leaks. CUDA backend alse leak vram.

Any idea what cause this memory leak?

Did you ever figure this out? I’m having a similar issue.