tensorflow: cuBLAS Error in 2.14.0
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
2.14.0
Custom code
No
OS platform and distribution
Ubuntu 23.04
Mobile device
No response
Python version
3.11.5
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA 11.8 CUDNN 8.9.4
GPU model and memory
Nvidia RTX 3080ti
Current behavior?
in the shell terminal
install tensorflow via pip
pip install tensorflow==2.14.0
In the python terminal
input
import tensorflow as tf
then the output
2023-09-28 19:19:50.298229: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-09-28 19:19:50.298259: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-09-28 19:19:50.298302: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-09-28 19:19:50.303578: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-09-28 19:19:50.982905: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Standalone code to reproduce the issue
no
Relevant log output
No response
About this issue
- Original URL
- State: open
- Created 9 months ago
- Reactions: 16
- Comments: 53 (5 by maintainers)
tensorflow is a disappointment
Same issue with Ubuntu 22.04 + Cuda 12.2 + cudnn 8.9 + build from source
Tried to install tf2.15 on Unbuntu with python3.11 using:
and
Both did not install tf2.15 but tf2.13 or 2.14. I guess that is because
cudatoolkit 12.2
(which tf2.15 depends on) is not yet available. (p.s. I am using an HPC with no admin, thus relying on conda to handle cuda dependencies.)In case
pip install tensorflow[and-cuda]
may not find the proper source of cuda dependencies, I tried to install tf2.14 and cuda dependencies manually using:The three lines of errors
Unable to register ...
persist.Same issue with v2.15
This problem occured in version 2.10 and 2.11, then repaired since 2.12, but come again in 2.14.
same here, using nvidia 535 on ubuntu 22.04, install tf using
pip install tensorflow[and-cuda]
and got the same errors.i have the same problem win11/wsl2/tensorflow 2.14.0
Any luck on this ?
I seem to have exact problem on win10/wsl2/tensorflow2.14/
These errors are not impacting performance!!!
Tested it on ResNet50 google colab V100 vs local rtx 3090 yield almost the same performance.
https://github.com/tensorflow/tensorflow/issues/62075#issuecomment-1867470232
I think it’s a problem by design. TF has stopped supporting gpu under windows since 2.10…so don’t break your head anymore …
On Wed, 15 Nov 2023 at 9:05 AM, Sebastián Segovia @.***> wrote:
Same error happening with Windows 11, WSL2, and Tensorflow 2.14.1 with an RTX 2060
Downgrading to another version of Tensorflow did not work
I get the same error. rtx 3090 Driver Version: 536.99 cuda: 12.2![image](https://github.com/tensorflow/tensorflow/assets/64731985/004a8c7f-9613-475b-ae23-96d831025120)