Code Monkey home page Code Monkey logo

Comments (5)

pichuan avatar pichuan commented on June 15, 2024

Hi @melop , I'll be helping you with this, but I'm a bit behind on my tasks. I'll assign this myself and I'll try to take a look soon (hopefully by end of tomorrow!)

from deepvariant.

pichuan avatar pichuan commented on June 15, 2024

Hi @melop , sorry that it took me a while.

I have a question for you: When call_variants step is running, is your GPU being utilized?

from deepvariant.

pichuan avatar pichuan commented on June 15, 2024

And @melop , the most recent time I tried to set up a GPU machine was using these steps:

#745 (comment)

I don't think I've seen the failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected error message you saw.

Based on that error message I did a bit internet search. I wonder if this is relevant: https://stackoverflow.com/a/48715413 Specifically , try setting CUDA_VISIBLE_DEVICES to 0, by running export CUDA_VISIBLE_DEVICES=0 and see if that works for you?

from deepvariant.

pichuan avatar pichuan commented on June 15, 2024

Hi @melop , let me know if you have a chance to try and follow up. I'll close this because it has been 2 weeks. Please feel free to follow up and reopen if you have more questions.

from deepvariant.

carsonhh avatar carsonhh commented on June 15, 2024

I get the same error. There appears to be Cuda 12 modules being used even though Cuda 11 is installed? Adding '--env LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/lib/python3.8/dist-packages/nvidia/cublas/lib:/usr/local/lib/python3.8/dist-packages/nvidia/cuda_nvrtc/lib:/usr/local/lib/python3.8/dist-packages/nvidia/cuda_runtime/lib:/usr/local/lib/python3.8/dist-packages/nvidia/cudnn/lib' lets the image see all these libraries and stops the "Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libcublas.so.12: cannot open shared object file" error.

But now during the call_variants step, I get a new error --> "2024-03-11 23:23:22.756430: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:433] Could not create cudnn handle: CUDNN_STATUS_NOT_INITIALIZED
2024-03-11 23:23:22.756490: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:442] Possibly insufficient driver version: 470.57.2"

Just doing '--env LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/lib/python3.8/dist-packages/nvidia/cublas/lib' also seems to get past the "Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libcublas.so.12:" error, but now I get "could not retrieve CUDA device count: CUDA_ERROR_NOT_INITIALIZED: initialization error" during the call_variants step

The 1.6.0-gpu image appears to have some mixed cuda 11 & cuda 12 module library conflict issues. Some of these issues may be suppressed if you have a sufficient nvidia driver for both cuda 11 and cuda 12 (I'm still waiting to test that though).
Note that 1.5.0 has no issues running for me.

from deepvariant.

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.