GithubHelp home page GithubHelp logo

Comments (14)

fglaser avatar fglaser commented on September 28, 2024 1

Hi same problem here, I have the following card NVIDIA GeForce RTX 2080 Ti , I know 11Mb is not a lot, but maybe there is a workaround?

I have many CPUs', but I am unsure how to make the modeling itself with CPUs, can anybody give accurate instructions if this is possible?

Thanks!!
Fabian

Trying to solve a big protein/RNA complex...

from rosettafold2na.

ylx6266 avatar ylx6266 commented on September 28, 2024

RuntimeError: CUDA out of memory. Tried to allocate 1.54 GiB (GPU 0; 10.75 GiB total capacity; 6.28 GiB already allocated; 1.44 GiB free; 7.32 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

from rosettafold2na.

fdimaio avatar fdimaio commented on September 28, 2024

How large is the structure you are trying to predict?

from rosettafold2na.

ylx6266 avatar ylx6266 commented on September 28, 2024

How large is the structure you are trying to predict?

The complex I want to predict consists of a protein with 872 residues and a DNA with 12bp.

from rosettafold2na.

lilc-112 avatar lilc-112 commented on September 28, 2024

I had the same problem, and my GPU mem is 8GB. Does it have to run on a multi-GPU server?

from rosettafold2na.

FSong2020 avatar FSong2020 commented on September 28, 2024

I have encountered this same issue. It was running on a 3090 GPU with 24GB mem.

from rosettafold2na.

georgkempf avatar georgkempf commented on September 28, 2024

Running on a GPU with more memory solved the problem for me when I encountered this error.

from rosettafold2na.

ylx6266 avatar ylx6266 commented on September 28, 2024

Running on a GPU with more memory solved the problem for me when I encountered this error.

I forced this program to use CPU, which can avoid this error, but it was too slow.

from rosettafold2na.

fdimaio avatar fdimaio commented on September 28, 2024

As others have pointed out, for large complexes the memory requirements might be high, using a higher memory card (or CPU only) may be necessary.

I have a memory-optimized version I will try to push in the next couple of weeks (need to make sure results are the same).

from rosettafold2na.

mf-rug avatar mf-rug commented on September 28, 2024

More of a FYI: I'm getting CUDA out of memory for a complex of a 505 aa dimer (1010 aa in total) with a 76 bases RNA molecule (x2 = 152 in total) on an NVIDIA V100 with 32GB memory, which is somewhat disappointing as I was hoping to also model considerable larger complexes than that in the future.

from rosettafold2na.

kcygan avatar kcygan commented on September 28, 2024

If anyone is encountering this error, I just solved it yesterday by:
export 'PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:256' and then running the script as usual. I have a 16GB GPU and trying to solve for 1030nts long RNA structure.

Thanks,

Kamil

from rosettafold2na.

dwbaron avatar dwbaron commented on September 28, 2024

met the same problem, hope a new version of multi-gpu in the future

from rosettafold2na.

bifxcore avatar bifxcore commented on September 28, 2024

FYI I tested a similar system to the one described by @mf-rug (2x500aa + 76b RNA) on a 16GB GPU, using @kcygan recommendation of setting the PYTORCH_CUDA_ALLOC_CONF environment. I still got the CUDA out of memory error.

I also tried suggestions from stackoverflow

  • adding garbage_collection_threshold:0.6 to the PYTORCH_CUDA_ALLOC_CONF
  • setting torch.cuda.empty_cache() at the start of the _run_model() function

Alas none of these helped.

However running predict.py on 8 CPUs with 64GB memory on an HPC completed in ~ 5hrs. Good enough for me in this instance.

from rosettafold2na.

sherryliu987 avatar sherryliu987 commented on September 28, 2024

If you're struggling to run RosettaFold2NA locally, feel free to try https://www.tamarind.bio/rosettafold2na. Tamarind is an online platform for bioinformatics tools that offers structural biology workflows, including RoseTTAFold2NA, for free.

from rosettafold2na.

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.