hearbenchmark / hear-eval-kit

Evaluation kit for the HEAR Benchmark
https://hearbenchmark.com
Apache License 2.0
55 stars 17 forks source link

Cuda version #410

Closed ZhaoyuWang1 closed 1 year ago

ZhaoyuWang1 commented 1 year ago

Hi! I am writing to ask if CUDA 12.2 is supported since I am running the evalutation on GPU cluster with CUDA12.2 only. Also, when I tried to run the hear eval, it threw the error: 2023-09-26 01:19:31.688526: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: li$2023-09-26 01:19:31.688651: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machin$WARNING:tensorflow:From /rds/general/user/zw1222/home/anaconda3/envs/hear/lib/python3.8/site-packages/heareval/embeddings/runner.py:21: is_gpu_available (f$Instructions for updating: Use tf.config.list_physical_devices('GPU') instead. 2023-09-26 01:20:56.616450: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Librar$To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-09-26 01:20:56.639682: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusolver.so.11'; dlerror: li$2023-09-26 01:20:56.639797: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing librari$Skipping registering GPU devices... Traceback (most recent call last): File "/rds/general/user/zw1222/home/anaconda3/envs/hear/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/rds/general/user/zw1222/home/anaconda3/envs/hear/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/rds/general/user/zw1222/home/anaconda3/envs/hear/lib/python3.8/site-packages/heareval/embeddings/runner.py", line 24, in raise ValueError("GPUs not available in tensorflow, but found by pytorch") ValueError: GPUs not available in tensorflow, but found by pytorch

It will be really helpful if you could kindly provide some suggestions on this.

Finally, thank you for building hear evaluation to provide such a powerful audio benchmarl!

Best wishes