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
Problem with Tensorflow 2.16.1 and gpu #64525
Comments
Hi @Altrastorique , After creating Conda environment please use pip to install TF package. For GPU package please use pip install |
Okay, but when I run this in the annaconda power shell I have this:
I have: The same happen when I run it in my terminal. |
The 'and-cuda' package introduced in TF2.14 onwards. You are trying for Tf2.13v as warning states.Please upgrade to higher version. |
The tensorflow version >2.13 are not available on the anaconda powershell. So I had to use the terminal. But I still have this error when installing tensorflow[and-cuda]
When trying the 2.14 version I had this:
|
Hi @Altrastorique , If you are using Windows OS cuda package is not available for windows from TF2.11 onwards. Please refer the caution on same in documentation. If you want to use GPU then you need to install WSL2. Please refer the instructions for wsl2 here. |
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
Windows 11
Mobile device
No response
Python version
3.12 and also tried with 3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
RTX 3070
Current behavior?
Hello, I was trying to make TensorFlow work with my GPU, but the CUDA installation crashed every time. So I tried using Anaconda, but they don't have CUDA version 12.3 and CuDNN version 8.9. So I succeeded using the Anaconda PowerShell and downloading TensorFlow-GPU 2.10.
I heard that TensorFlow-GPU is an old version we should not use.
Does someone have any idea which could help me?
Thank you very much!
Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: