nrbennet / dl_binder_design

MIT License
223 stars 53 forks source link

Complex error - cuDNN/CuFFT/Numpy version(?) #75

Open Avidhoot26 opened 7 months ago

Avidhoot26 commented 7 months ago

May I ask how I could solve this error which occurs when I run predict.py in af2_binder_design condo env?

E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2024-03-19 15:15:50.282777: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered 2024-03-19 15:15:50.319855: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf Traceback (most recent call last):

Avidhoot26 commented 7 months ago

I think I solved it with pip install tensorflow[and-cuda]. But now I am facing another error:

SCOPData.py:18: BiopythonDeprecationWarning: The 'Bio.Data.SCOPData' module will be deprecated in a future release of Biopython in favor of 'Bio.Data.PDBData. warnings.warn( /dl_binder_design/af2_initial_guess/af2_util.py:14: UserWarning: Import of 'rosetta' as a top-level module is deprecated and may be removed in 2018, import via 'pyrosetta.rosetta'. from rosetta import * 2024-03-20 14:42:46.523865: E external/xla/xla/stream_executor/cuda/cuda_dnn.cc:428] There was an error before creating cudnn handle (35): cudaErrorInsufficientDriver : CUDA driver version is insufficient for CUDA runtime version Traceback (most recent call last): line 554, in af2_runner = AF2_runner(args, struct_manager) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: DNN library initialization failed. Look at the errors above for more details.