Giter VIP home page Giter VIP logo

Comments (8)

pkuyyj avatar pkuyyj commented on May 28, 2024

Hi Andrea,
Since the warning repeats for every ligand, it is probably caused by insufficient GPU global memory. Please use --max_gpu_memory (in MB) to limit the maximum memory usage of Uni-Dock. If one value doesn't work, please lower the value. This problem is mostly due to different launching setting of different types of GPUs and we only have time and effort to test several common GPUs. If you have a good value of maximum memory usage of RTXA4000, you are welcome to report here for future users.
Yuejiang

from uni-dock.

andreacarotti331 avatar andreacarotti331 commented on May 28, 2024

Hi,
thanks.. The RTXA4000 has 16GB of memory. When unidock runs, it fills up all the available memory, despite the max_gpu_memory I specify. However, if I specify max_gpu_memory 12000, it runs and I have the docking poses, even If (I repeat) the memory usage I check by nvidia-smi is always at maximum (15878).
My bests
Andrea

from uni-dock.

pkuyyj avatar pkuyyj commented on May 28, 2024

Thanks for your report. Don't worry, this situation is normal. Since the memory usage patterns on different GPUs (especially RTX series) vary, it's hard to predict the exactly memory of CUDA threads using linear regression, which is done manually and integrated in Uni-Dock. Therefore, max_gpu_memory can be inaccurate and we recommend choosing the value that doesn't cause breakdown. If we have access to RTXA4000, the regression function can be improved.
Yuejiang

from uni-dock.

tom832 avatar tom832 commented on May 28, 2024

meet the same issue with 4090(24G)

from uni-dock.

andreacarotti331 avatar andreacarotti331 commented on May 28, 2024

Did you play setting the max_gpu_memory to lower values e.g. 20000 or less..Do some tests lowering until you get the docking poses...it worked for me.
On my RTXA4000 (16GB) I used 12000.
My bests

from uni-dock.

tom832 avatar tom832 commented on May 28, 2024

Did you play setting the max_gpu_memory to lower values e.g. 20000 or less..Do some tests lowering until you get the docking poses...it worked for me.
On my RTXA4000 (16GB) I used 12000.
My bests

It worked well when my ligand number was less than 45 (with no max_gpu_memory limit), but when the ligands increased, it failed and reported WARNING: Could not find any conformations completely within the search space. WARNING: Check that it is large enough for all movable atoms, including those in the flexible side chains. WARNING: Or could not successfully parse PDBQT input file of ligand #0.
And when I set max_gpu_memory lower than 20000, it failed and reported ERROR: Empty ligand list

from uni-dock.

pkuyyj avatar pkuyyj commented on May 28, 2024

Did you play setting the max_gpu_memory to lower values e.g. 20000 or less..Do some tests lowering until you get the docking poses...it worked for me.
On my RTXA4000 (16GB) I used 12000.
My bests

It worked well when my ligand number was less than 45 (with no max_gpu_memory limit), but when the ligands increased, it failed and reported WARNING: Could not find any conformations completely within the search space. WARNING: Check that it is large enough for all movable atoms, including those in the flexible side chains. WARNING: Or could not successfully parse PDBQT input file of ligand #0. And when I set max_gpu_memory lower than 20000, it failed and reported ERROR: Empty ligand list

Copy. The best way to solve this problem is recalculate memory function on RTXA4000. However, we don't have this GPU. Could you please let me use your GPU and correct this?

from uni-dock.

YumizSui avatar YumizSui commented on May 28, 2024

Hi,
I seem to be facing a similar problem in my environment (Tesla P100-SXM2-16GB). (it works on my RTX3090)
For instance, even when I try to specify the maximum GPU memory with --max_gpu_memory 10000, it looks like the program attempts to execute all the ligands provided in ligand_index concurrently in a single batch. : Batch 1 size: 200 // number of ligands specified in ligand_index
Moreover, if I set a smaller value like --max_gpu_memory 5000, the output I receive is ERROR: Empty ligand list..
However, it worked if I reduced the number of ligands specified in ligand_index.
I believe it would be more useful if I could explicitly set the maximum number of ligands per batch via a parameter like --max_batch.
My bests

from uni-dock.

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.