Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

ERROR: Config value cuda is not defined in any .rc file #7

Closed
toby5box opened this issue Nov 4, 2018 · 7 comments
Closed

ERROR: Config value cuda is not defined in any .rc file #7

toby5box opened this issue Nov 4, 2018 · 7 comments

Comments

@toby5box
Copy link

toby5box commented Nov 4, 2018

I hit the following issue while using this project:
tensorflow/tensorflow#23401

Perhaps the workaround there could be considered (or Bazel downgrade?)

@alexei-v-ivanov
Copy link

Same here. It is kind of frustrating to keep snagging time and time again over the trivial stuff.

Bazel guys, do you have any shame at all?

@sekarpdkt
Copy link

Are you able to build 1.11.0 or 1.12.0. When I tried 1.11.0, got into an issue referred here tensorflow/tensorflow#22583

I selected nGraph (Y/n) as no.

I rerunning 1.12.0 with above fix as earlier attempts failed. Let me update later today about result. If any one of you were able to build it successfully, please let me know the options you selected for some of those build options asked.

@alexei-v-ivanov
Copy link

alexei-v-ivanov commented Nov 16, 2018

I was successful building latest with bazel 0.18 & following suggested options all the time.

@sekarpdkt
Copy link

Yes. I am also able to build it with following changes to build.sh

conda install --yes numpy wheel bazel==0.18.1

also added this post pulling from git

`# To handle bazel bug tensorflow/tensorflow#23401 (comment)

cat /tensorflow/tools/bazel.rc >> /tensorflow/.tf_configure.bazelrc`

@OlegSmelov
Copy link
Contributor

According to https://www.tensorflow.org/install/source (see Tested build configurations), they build the latest TF version using Bazel 0.15.0. I think it's best to lock Bazel to that exact version.

@Peter9606
Copy link

Yes. I am also able to build it with following changes to build.sh

conda install --yes numpy wheel bazel==0.18.1

also added this post pulling from git

`# To handle bazel bug tensorflow/tensorflow#23401 (comment)

cat /tensorflow/tools/bazel.rc >> /tensorflow/.tf_configure.bazelrc`

This works for me. Thank you!

@hadim
Copy link
Owner

hadim commented Feb 28, 2019

You can now set the Bazel version before running the build (look on the README).

@hadim hadim closed this as completed Feb 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants