GithubHelp home page GithubHelp logo

Comments (2)

dkoes avatar dkoes commented on August 11, 2024

With cache_mols enabled, your entire dataset will be loaded into memory (after processing - so just the xyz coordinates and type information). If your dataset doesn't fit in memory, you will run out. What you should see is a steady increase in memory usage until you have done one complete epoch at which point it levels off.

If your dataset isn't very large and/or you are seeing increased memory usage after performing a complete epoch, we will investigate, but otherwise it is the expected behavior.

If you aren't using vector typing, you can use the create_caches2.py script (https://github.com/gnina/scripts/blob/master/create_caches2.py) to assemble your dataset into one very efficient memory-mappable file. Memory mapping let's you benefit from in-memory data without having to worry about out-of-memory errors (and especially valuable when running multiple jobs on the same node).

from libmolgrid.

jscant avatar jscant commented on August 11, 2024

The models I'm using are on the edge of what's possible to store in the memory that I have available, so the 23gb dataset on top of that is indeed giving me OOM problems. I suppose this can be closed, perhaps adding something to the docs warning about large datasets and the default constructor (cache_structs=True) would be useful.

Thanks for the prompt response.

from libmolgrid.

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.