Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

once gain: tf.2.16.1 fails to recognize GPUs #19276

Closed
JuanVargas opened this issue Mar 9, 2024 · 10 comments
Closed

once gain: tf.2.16.1 fails to recognize GPUs #19276

JuanVargas opened this issue Mar 9, 2024 · 10 comments
Assignees
Labels
stat:awaiting response from contributor type:support User is asking for help / asking an implementation question. Stackoverflow would be better suited.

Comments

@JuanVargas
Copy link

OS = Linux Ubuntu 22.04.04 LTS
python = 3.10.12
CUDA = 12.4

According to the most recent "install instructions" I coud issue the line below in a python venv to get TF installed with GPU support

python -m pip install tensorflow**

I did that and it failed

tf.version
'2.16.1'

tf.config.list_physical_devices('GPU')
[ ]

so I created another python venv wherein I tried

python -m pip install tensorflow[and-cuda]

that failed too, same error messages.

BTW, my system works wonderfully well with the GPUs when I use pytorch and Julia.

@SuryanarayanaY
Copy link
Contributor

Hi @JuanVargas ,

Have you installed Cuda driver ? Please verify and confirm the output of nvidia-smi command.

Verified the same on colab and attached gist here.

Thanks!

@SuryanarayanaY SuryanarayanaY added type:support User is asking for help / asking an implementation question. Stackoverflow would be better suited. stat:awaiting response from contributor labels Mar 11, 2024
@sampathweb
Copy link
Collaborator

Please open this issue in TensorFlow GitHub where you might get better responses. This issue is not related to Keras.

@JuanVargas
Copy link
Author

JuanVargas commented Mar 11, 2024 via email

@SuryanarayanaY
Copy link
Contributor

Hi @JuanVargas ,

There is duplicate of # 63362 on tensorflow repo for same issue.Could you please close it here and track it there.It seems the issue is related to CUDA driver compatibility which we can discuss at TF repo.

Thanks!

@JuanVargas
Copy link
Author

JuanVargas commented Mar 12, 2024 via email

@mihaimaruseac
Copy link
Contributor

This was not closed, instead the issue on TF was closed (and reopened)

@chaudharyachint08
Copy link

Almost final and automated fix below

@SuryanarayanaY
Copy link
Contributor

Hi @JuanVargas ,

Since the issue is related to tensorflow repo which is still open there. To avoid duplicacy could you please track the issue there at TF repo and close it here. Thanks in advance.

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@JuanVargas
Copy link
Author

JuanVargas commented Apr 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response from contributor type:support User is asking for help / asking an implementation question. Stackoverflow would be better suited.
Projects
None yet
Development

No branches or pull requests

5 participants