Tensorflow 2.0 не видит gpu

Установил Cuda 11.1.1 и Cudnn 11.1, и последние драйвера nvidia Запускаю свёрточную нейронную сеть, и она почему-то грузит процессор. Так же вывелись такие сообщения

2021-01-30 18:26:19.177886: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-01-30 18:26:24.161997: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-01-30 18:26:24.172660: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-01-30 18:26:24.253218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties: 
pciBusID: 0000:01:00.0 name: GeForce GTX 960 computeCapability: 5.2
coreClock: 1.304GHz coreCount: 8 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 104.46GiB/s
2021-01-30 18:26:24.253985: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-01-30 18:26:24.970577: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-01-30 18:26:24.970750: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-01-30 18:26:25.460081: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-01-30 18:26:25.510567: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-01-30 18:26:25.511461: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cusolver64_10.dll'; dlerror: cusolver64_10.dll not found
2021-01-30 18:26:25.826348: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-01-30 18:26:25.852264: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-01-30 18:26:25.852418: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1757] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2021-01-30 18:26:25.855402: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-01-30 18:26:25.857468: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-01-30 18:26:25.857730: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]      
2021-01-30 18:26:25.857934: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
Found 39 images belonging to 2 classes.
Found 6 images belonging to 2 classes.
Found 2 images belonging to 2 classes.
2021-01-30 18:26:27.775637: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
Epoch 1/5
2021-01-30 18:26:30.399826: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 768000000 exceeds 10% of free system memory.
2021-01-30 18:26:37.610651: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 432000000 exceeds 10% of free system memory.
2021-01-30 18:26:37.632978: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 432000000 exceeds 10% of free system memory.
2021-01-30 18:26:38.714595: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1728000000 exceeds 10% of free system memory.
2021-01-30 18:26:38.714951: W tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 1728000000 exceeds 10% of free system memory.

Пути в PATH прописаны и для cudnn и cuda, все, что написаны в документации


Ответы (0 шт):