Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Memory leak when run Yolo example #232

Open
Shamaseen-iotistic opened this issue Sep 26, 2024 · 1 comment
Open

[BUG]: Memory leak when run Yolo example #232

Shamaseen-iotistic opened this issue Sep 26, 2024 · 1 comment
Labels
bug Something isn't working engine-api

Comments

@Shamaseen-iotistic
Copy link

Shamaseen-iotistic commented Sep 26, 2024

Bug description

I ran the YOLO example from "max/examples/inference/yolo-python-onnx" and it worked well. However, I noticed that memory usage kept increasing until the device crashed.

To diagnose the issue, I used Memray to trace the program. My findings suggest that the memory leak originates from the api.py file.

edit

how to solve it ?

System information

AMD® Ryzen threadripper 2990wx 32-core processor × 64
Ubuntu 22.04.5 LTS
magic 0.3.0
mojo 24.5.0 (e8aacb95)
max 24.5.0 (e8aacb95)
Modular version 24.5.0
@Shamaseen-iotistic Shamaseen-iotistic added the bug Something isn't working label Sep 26, 2024
@ehsanmok
Copy link
Member

Thanks for reporting! we are looking into fixing it for the next release.

@linear linear bot removed the 24.6 label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine-api
Projects
None yet
Development

No branches or pull requests

3 participants