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

Tensorflow 1.8 with CUDA 9.2 #12

Open
XuYunqiu opened this issue May 18, 2018 · 22 comments
Open

Tensorflow 1.8 with CUDA 9.2 #12

XuYunqiu opened this issue May 18, 2018 · 22 comments

Comments

@XuYunqiu
Copy link

Have you compiled Tensorflow 1.8 with CUDA 9.2?

@fo40225
Copy link
Owner

fo40225 commented May 18, 2018

I will use CUDA 9.2 to build tensorflow-gpu 1.9.0.

@elranu
Copy link

elranu commented May 20, 2018

yes and the last cudnn drivers are Download cuDNN v7.1.4 (May 16, 2018), for CUDA 9.2. Please do it with those. Because I cannot find a download link cuDNN v7.1.3

also with avx2 support would be great :)

Thanks for your work!

@fo40225
Copy link
Owner

fo40225 commented May 20, 2018

cuDNN 7.1.3 for CUDA 9.1 Windows 10

cudnn-9.1-windows10-x64-v7.1.zip

SHA1: 914006C6407256408EE9C18D6115FDA1209C2F0B

Google Drive

百度盤

@fo40225
Copy link
Owner

fo40225 commented May 20, 2018

I have rebuild the tensorflow-gpu 1.8.0 with CUDA 9.2& cuDNN 7.1.4.

https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.8.0/py36/GPU/cuda92cudnn71sse2

try it.

@elranu
Copy link

elranu commented May 23, 2018

@fo40225 thanks for the last version of cuda 9.2. It works to me much better that the 9.1.

Can you compile me the version with avx support? I think it will work even better ;)

Thanks for your work! I really appreciate it :)

@fo40225
Copy link
Owner

fo40225 commented May 23, 2018

Tensorflow team has planed to use CUDA 9.2 to build 1.9.0, it will contain AVX support.

@LSinev
Copy link

LSinev commented May 23, 2018

Offtopic: CUDA 9.1 + AVX (not AVX2) to build 1.8.0 maybe?

@fo40225
Copy link
Owner

fo40225 commented May 23, 2018

Nvidia didn't provide cuDNN 7.1.x for CUDA 9.1, maybe cuda 9.1 is deprecated.

@gaohongfein
Copy link

Have you compiled Tensorflow 1.8 with CUDA 9.2 in Linux for example ubuntu?

@fo40225
Copy link
Owner

fo40225 commented May 29, 2018

@gaohongfein No, you can ask others who maintains custom Linux build for help.

https://github.com/mind/wheels
https://github.com/lakshayg/tensorflow-build
https://github.com/yaroslavvb/tensorflow-community-wheels/issues

@gaohongfein
Copy link

Thank you very much

@mtianyan
Copy link

mtianyan commented Jun 6, 2018

@gaohongfein I build the cuda9.2 for TensorFlow1.8.0(python3.6)on ubuntu18.04。
https://github.com/mtianyan/tensorflow-linux-wheel

@sleeplessai
Copy link

sleeplessai commented Jun 7, 2018

@fo40225
Ask something about cuda92cudnn71sse2 wheel. Is there AVX2 support on it?
// And thanks a lot for compiling these packages, later i would try c++ lib.

@yanhaiming56
Copy link

CMake Error at CMakeLists.txt:322 (message):
Selected compiler (or version) is not supported for CUDA
I use win10+vs2017+cuda9.2+cudnn7.1 compile tensorflow1.8. When I use cmake generate the file, it get the error.How can I resolve?

@fo40225
Copy link
Owner

fo40225 commented Jul 2, 2018

@yanhaiming56 You have two options to solve that:

  • edit C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\include\crt\host_config.h Line 131:

from

#if _MSC_VER < 1600 || _MSC_VER > 1913

to

#if _MSC_VER < 1600

OR

@tgbamg
Copy link

tgbamg commented Jul 8, 2018

Is this wheel(Tensorflow 1.8 with CUDA 9.2)support python2.7?
And where should I find a CUDA9.2 wheel which support python2.7?

@fo40225
Copy link
Owner

fo40225 commented Jul 8, 2018

@tgbamg Uploaded.

https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.8.0/py27/GPU/cuda92cudnn71sse2

@jlar0che
Copy link

jlar0che commented Jul 31, 2018

no avx
I want to second @elranu and give massive props to @fo40225 for compiling the whl file with Cuda 9.2, CuDNN 7.14 and Python 3.6 support in Windows. Your whl file worked like a charm (see my installation environment and hardware details below).

Would you be able to compile a version with AVX support? If so, you would quickly earn yourself the title of "God Status" ;)

Thanks so much for your work - we all appreciate it!

My specs that worked with the WHL:

  • Windows 10 64bit (all latest Windows updates installed)
  • Python 3.6.3 (64bit) [NOTE: I'm just using simple virtual environments with virtualenv v16.0.0 & virtualenvwrapper-win v1.2.5 - NOT Anaconda]
  • Visual Studio Community 2017
  • CUDA Toolkit 9.2.148 (for Windows 10)
  • CuDNN 7.1.4 (for Cuda 9.2)
  • fo40225's compiled WHL: tensorflow_gpu-1.8.0-cp36-cp36m-win_amd64.whl
  • NVIDIA GeForce GTX 1050 Ti with 4gb Ram, NVIDIA Driver version 398.36

@RobMcH
Copy link

RobMcH commented Sep 21, 2018

@fo40225 Will you build tensorflow-gpu with CUDA 10 support?

@fo40225
Copy link
Owner

fo40225 commented Sep 21, 2018

I will use CUDA 10 to build tensorflow-gpu 1.11 for python 3.6 x64.

@bluecd
Copy link

bluecd commented Sep 26, 2018

I will use CUDA 10 to build tensorflow-gpu 1.11 for python 3.6 x64.

Did you succeed w/above?

@fo40225
Copy link
Owner

fo40225 commented Sep 28, 2018

I will use CUDA 10 to build tensorflow-gpu 1.11 for python 3.6 x64.

Did you succeed w/above?

@bluecd Yes.

https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.11.0/py36/GPU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests