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

How to install tensorflow2.0 in cuda9? #26418

Closed
lucasjinreal opened this issue Mar 7, 2019 · 16 comments
Closed

How to install tensorflow2.0 in cuda9? #26418

lucasjinreal opened this issue Mar 7, 2019 · 16 comments
Assignees
Labels
TF 2.0 Issues relating to TensorFlow 2.0 type:build/install Build and install issues

Comments

@lucasjinreal
Copy link

Any way to specific a cuda version with tensorflow2.0 alpha version? To reinstall cuda is really risky, cause there are many other projects based on caffe which does not support an advanced cuda

@Ayush517
Copy link
Contributor

Ayush517 commented Mar 7, 2019

@jinfagang Is there any version of Tensorflow already installed on your system?

@jvishnuvardhan jvishnuvardhan self-assigned this Mar 9, 2019
@jvishnuvardhan jvishnuvardhan added type:build/install Build and install issues TF 2.0 Issues relating to TensorFlow 2.0 labels Mar 9, 2019
@jvishnuvardhan
Copy link
Contributor

@jinfagang TF2.0 was built with CUDA10.0. But, I think you can use CUDA9.0 with TF2.0. You need to make sure that the CUDA and cuDNN are referenced correctly. Thanks!

@jvishnuvardhan jvishnuvardhan added the stat:awaiting response Status - Awaiting response from author label Mar 10, 2019
@jvishnuvardhan jvishnuvardhan added stat:awaiting tensorflower Status - Awaiting response from tensorflower and removed stat:awaiting response Status - Awaiting response from author labels Mar 20, 2019
@meteorcloudy
Copy link
Member

@jvishnuvardhan Sorry, I'm not the correct person to be assigned

@meteorcloudy meteorcloudy removed their assignment Mar 21, 2019
@tensorflowbutler tensorflowbutler removed the stat:awaiting tensorflower Status - Awaiting response from tensorflower label Mar 21, 2019
@jvishnuvardhan jvishnuvardhan self-assigned this Mar 25, 2019
@jvishnuvardhan
Copy link
Contributor

@jinfagang You need to build TF2.0 from source, then you can use CUDA 9.0 which you already have it. Please don't use binaries as they are built with CUDA10.0 and some of the dependencies will be looking for CUDA 10.0 paths. Please let us know how it progresses. Thanks!

@jvishnuvardhan
Copy link
Contributor

@jinfagang Please check the resource here. Thanks!

@jvishnuvardhan jvishnuvardhan added stat:awaiting response Status - Awaiting response from author 2.0.0-alpha0 and removed TF 2.0 Issues relating to TensorFlow 2.0 labels Apr 3, 2019
@lucasjinreal
Copy link
Author

lucasjinreal commented Apr 4, 2019

@jviereck Thanks, I never built tensorflow successfully yet, most reason is that it downloads too many dependencies and some using google which blocked in China................ I meant if there any wheel just like pytorch does provide difference version built on cuda 9 with cudnn 7

@tensorflowbutler tensorflowbutler removed the stat:awaiting response Status - Awaiting response from author label Apr 4, 2019
@jvishnuvardhan
Copy link
Contributor

@jinfagang Do you have access to https://github.com/tensorflow/tensorflow/tags and https://pypi.org/project/tensorflow-gpu/? You could download from those locations. Thanks!

@jvishnuvardhan jvishnuvardhan added the stat:awaiting response Status - Awaiting response from author label Apr 5, 2019
@jvishnuvardhan
Copy link
Contributor

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will open a new issue. Thanks!

@tensorflow-bot
Copy link

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

@jvishnuvardhan jvishnuvardhan removed the stat:awaiting response Status - Awaiting response from author label Apr 17, 2019
@Rhyssiyan
Copy link

I don't find the tf2.0 package built with cuda9.0 from https://github.com/tensorflow/tensorflow/tags and https://pypi.org/project/tensorflow-gpu/. And it's troublesome for me to install tf by building. Finally, I give up and adopt the shell from https://github.com/phohenecker/switch-cuda to switch cuda version as a temporary solution.

@SmileTM
Copy link

SmileTM commented Sep 28, 2019

@jvishnuvardhan you are right. I have succeeded to build TF2.0 with CUDA9 and cudnn6.7 from source. Now it's working grateful. Thanks.

@jvishnuvardhan
Copy link
Contributor

as a temporary solution.

I don't find the tf2.0 package built with cuda9.0 from https://github.com/tensorflow/tensorflow/tags and https://pypi.org/project/tensorflow-gpu/. And it's troublesome for me to install tf by building. Finally, I give up and adopt the shell from https://github.com/phohenecker/switch-cuda to switch cuda version as a temporary solution.

Tensorflow2.0 officially built with cuda10.0. There are community built binaries are there but not sure whether they have anything you are looking. Please check some here. Thanks

@sudonto
Copy link

sudonto commented Dec 25, 2019

hi @SmileTM will you share the binary for us? thanks.

@SmileTM
Copy link

SmileTM commented Dec 29, 2019

hi @SmileTM will you share the binary for us? thanks.

@sudonto ,hi
This binary may not be useful to you , because it was modified based on my configuration.
if you need the binary, you must bazel the binary in your configuration.
you can refer my method.

@bestpredicts
Copy link

hi @SmileTM will you share the binary for us? thanks.

@sudonto ,hi
This binary may not be useful to you , because it was modified based on my configuration.
if you need the binary, you must bazel the binary in your configuration.
you can refer my method.

hello, I meet some probleam by your blog, can I add your . qq . or can u share the tensorflow 2.0 which build by cuda9.0?

@SmileTM
Copy link

SmileTM commented Jan 5, 2020

hi @SmileTM will you share the binary for us? thanks.

@sudonto
The binary in the here. But i am not sure ,it works well in your machine.
If it works in your machine, please reply me.
https://github.com/SmileTM/Tensorflow2.0-GPU-CUDA9.0

@lvenugopalan lvenugopalan added the TF 2.0 Issues relating to TensorFlow 2.0 label Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TF 2.0 Issues relating to TensorFlow 2.0 type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

10 participants