Open PriyajeetGoswami opened 1 week ago
@PriyajeetGoswami,
I was able to clone the tensorflow repository without any problem on Ubuntu. I observed that you are using Bazel 6.2, GCC 9.3 which is incompatible with TF v2.7.0. And also TF v2.7.0 is a pretty older version, please try to install the latest stable version.
Could you please create a virtual environment and try to install the tensorflow as mentioned in this official document link and have a look at the compatible tested build configurations as well. Please find the attached screenshot for reference.
Is there any specific reason to install tensorflow v2.7, because as mentioned above v2.7 is the pretty older version. It's unlikely for TF 2.7 version to receive any bug fixes except when we have security patches. There is a high possibility that this was fixed with later TF versions. Thank you!
I was trying TF 2.7 because of some project requirement but moved on from that, used latest version of TF, it worked. Thanks
@PriyajeetGoswami, Glad the issue is resolved. Please feel free to move this issue to closed status. Thank you!
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.7.0
Custom code
No
OS platform and distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.8.10
Bazel version
6.2.1
GCC/compiler version
9.3.0
CUDA/cuDNN version
11.2
GPU model and memory
No response
Current behavior?
https://www.tensorflow.org/install/source Followed the instructions here to create a tensorflow docker with gpu support, unable to build the tensorlfow using bazel using the following command bazel build //tensorflow/tools/pip_package:wheel --repo_env=WHEEL_NAME=tensorflow --config=cuda
Standalone code to reproduce the issue
Relevant log output