-
Notifications
You must be signed in to change notification settings - Fork 675
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
memory leak in Pt indexing #2300
Conversation
Codecov ReportBase: 72.08% // Head: 73.95% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2300 +/- ##
============================================
+ Coverage 72.08% 73.95% +1.86%
- Complexity 5126 7401 +2275
============================================
Files 473 774 +301
Lines 21970 39749 +17779
Branches 2351 3436 +1085
============================================
+ Hits 15838 29396 +13558
- Misses 4925 8780 +3855
- Partials 1207 1573 +366
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Description
A patch to the memory leak issue #2283, #2283, #2289
As pointed out in #2283, the native resources allocated by
ai.djl.pytorch.jni.PyTorchLibrary#torchIndexInit
was not released. This pr fixes it.