Comments (8)
should be better with #1262
from deepdetect.
Hi @rguilmont , thanks for the report. We started to investigate, but it seems that the leak does not happen when using valgrind (!), which makes it quite more difficult to investigate than expected. We will keep you informed as soon as we find somthing.
from deepdetect.
Oh, thanks for the update !
FYI i tried to reproduce locally with CPU, and i was not able to. I do see an increase in ram usage, but then it get stable. So i was able to replicate only with models loaded with tensorrt. If i can provide you more information, don't hesitate :)
from deepdetect.
yes, same behavior using tensorrt/GPU within valgrind 😢
from deepdetect.
I'll try to get more information about it, and maybe try to reproduce too with Valgrind if get the time to :)
I just hope this is not hardware related... That would make things even more complicated 😂
FYI we've spotted the leak on g4dn.xlarge from Amazon with Tesla T4 gpu
from deepdetect.
Hi @rguilmont , we found the issue. Indeed @beniz has run in the same problem some time ago with tensorflow backend. We are currently trying to create a clean fix
from deepdetect.
Awesome news !! Out of curiosity, did you find it with Valgrind in the end ? :)
from deepdetect.
It's not a leak, you could actually run as is. It's the malloc library that fragments the memory due to underlying micro allocations, probably by trt.
Using tcmalloc instead of the standard malloc may do the trick.
from deepdetect.
Related Issues (20)
- Inconsistent predictons using refinedet model HOT 12
- Refinedet Tensorrt prediction fails HOT 7
- Memory leak on compressed predict requests with oatpp HOT 7
- Different prediction with tensorrt on refinedet model for the version v0.18.0 HOT 3
- getting error while training, .solverstate HOT 23
- Chain predictions swapped between images HOT 2
- Simsearch query segfault when using IVF indexes, but not default/flat index HOT 6
- On object detect training call, missing either test or train list causes a segfault
- dd_client not find in this path anyone help HOT 2
- How do I do a face recognition using this? HOT 2
- DeepDetect full rewrite in Pure Java
- 'OCR' object has no attribute 'histogram_equalization' HOT 13
- "best: -1" in predict behaves differently in torch models HOT 2
- Torch v1.12 requires libcupti* but nvidia/cuda:11.6.0-cudnn8-runtime-ubuntu20.04 doesn't include it
- Race condition / pthread error when predicting
- I have error build xgboost HOT 1
- Using `true` or `false` instead of `1` or `0` for query params for status or labels returns a internal server error HOT 1
- Question about hosting the docker image HOT 4
- Graphics problem with tsne algorithm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepdetect.