Git Product home page Git Product logo

Comments (8)

fantes avatar fantes commented on May 26, 2024 2

should be better with #1262

from deepdetect.

fantes avatar fantes commented on May 26, 2024

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.

rguilmont avatar rguilmont commented on May 26, 2024

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.

fantes avatar fantes commented on May 26, 2024

yes, same behavior using tensorrt/GPU within valgrind 😢

from deepdetect.

rguilmont avatar rguilmont commented on May 26, 2024

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.

fantes avatar fantes commented on May 26, 2024

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.

rguilmont avatar rguilmont commented on May 26, 2024

Awesome news !! Out of curiosity, did you find it with Valgrind in the end ? :)

from deepdetect.

beniz avatar beniz commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.