-
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
Add support for CUDA 11.1 on Windows 10 for the 8.6 compute capability #44750
Comments
@sanjoy @pkanwar23 can you take it from here? |
Been using tensorflow/tensorflow:nightly-gpu-jupyter, even the latest nightly images (2.5.0-dev20201112) have the issue still with RTX 3090. Any insights? |
I got some performance issues (too slow learning) until I applied temporary fix for the PTX compilations. You can read more in the article that I posted in the description: https://dobromyslova.medium.com/making-work-tensorflow-with-nvidia-rtx-3090-on-windows-10-7a38e8e582bf |
@dobromyslova Thanks for the info. Just tried with images provided by Nvidia which works with my RTX 3090, and the performance did improve. If you used docker, definitely check it out. |
Thank you for the information, I will try this as well |
Is this when building TensorFlow from source? If yes, you can try to explicitly select compute capability 8.0 (and not 8.6) when |
No, I used already prebuilt TensorFlow from pip, the one that currently works for me is the Right now I don't have any issues with this version, but if you want I can try to build it from source with compute capability 8.0, just let me know if you want me to try. |
exactly the same issue on Linux |
the same issue |
@dobromyslova Could you please try to use TF v2.6.0 and refer to the Build from source ? Please let us know if the issue still persists ?Thanks you! |
Thank you! I will try it and let you know! |
@sushreebarsa I tried GPU build from branch v2.6.0:
And got the following error:
I found that this issue may be related to this problem: #52131 Also, the CPU build works, but we want GPU anyway. P.S. here is my configuration:
|
@dobromyslova, This issue is fixed in latest Tensorflow version. |
Thank you, I will try and let you know. |
Okay, I can confirm that latest build of TensorFlow is now working without an issues on RTX 3090 (8.6 compute capability)! Thank you for the hard work! Here is also some profile data from my runs: With tf-nightly-gpuInstall TF:
Results of run:
With tensorflow-gpuInstall TF:
Results of run:
|
System information
System: Windows 10
TensorFlow version (you are using): 2.5.0.dev20201108
Are you willing to contribute it (Yes/No): Yes. I can do the testing of the new build and provide any additional information.
TensorFlow version (you are using): 2.5.0.dev20201108
Python version: 3.8.6-amd64
Compiler: MSVC 2019
cuDNN: 8.0.4.30
CUDA: 11.0.3_451.82
ptxas: from CUDA 11.1
NVIDIA Drivers: 456.71
Hello TensorFlow team. I recently got working on my RTX 3090 on the Windows 10 machine and decided to share my investigations with you.
Right now I got TensorFlow 2.5.0.dev20201108 work with CUDA 11.0 and ptxas.exe (PTX compiler) from CUDA 11.1, because ptxas from 11.1 supports 8.6 compute capability and on 11.0 - I'm getting error
ptxas fatal : Value 'sm_86' is not defined for option 'gpu-name'
- which is mean that 11.0 doesn't support 8.6 yet (at least I think so).So, I don't know if it's planned, but would be great to add support of the CUDA 11.1 for the Win build (I don't know if people having the same issue on the Linux). Because my current solution is kind of hacky (using the compiler from a different version) and even though I don't see any errors right now, it could potentially cause some in the future.
Here is also detailed info on my finding: https://dobromyslova.medium.com/making-work-tensorflow-with-nvidia-rtx-3090-on-windows-10-7a38e8e582bf
Please feel free to contact me for any additional information.
The text was updated successfully, but these errors were encountered: