-
Notifications
You must be signed in to change notification settings - Fork 74k
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
tf.test.is_built_with_cuda() is 'False' #68236
Comments
please help me!!!thanks!😭😭😭 |
@Viper373, https://www.tensorflow.org/install/pip#windows-native_1 Thank you! |
I am certain that my Windows machine comes with a GPU, model 4070 super. Additionally, my Python version is 3.10.7, and I have installed cuda version 12.3 and cuDNN version 8.9.7. What version do I need to install? Can you help me write the corresponding Python, CUDA, and CUDNN versions for TF2.10 |
@Viper373, Thank you! |
thank you a lot!!! |
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.16.1
Custom code
Yes
OS platform and distribution
Windows 10
Mobile device
No response
Python version
3.10.7
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA12.3 cuDNN8.9.7
GPU model and memory
NVIDIA GeForce RTX 4070 super
Current behavior?
import tensorflow as tf
print("TensorFlow version:", tf.version)
print("Is GPU available?", tf.config.list_physical_devices('GPU'))
print("Is TensorFlow built with CUDA?:", tf.test.is_built_with_cuda())
result:
TensorFlow version: 2.16.1
Is GPU available? []
Is TensorFlow built with CUDA?: False
The command I am using is "pip install tensorflow-2.16.1-cp310-cp310-win_amd64.whl --force"
And I have already installed CUDA and cuDNN through NVIDIA's official website
I am working on a graduation project for LSTM model prediction,Please help me, thank you!!!
Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: