You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't install from source if I don't have a GPU? #71
My os X: EI Captian version 10.11.1
I tried install from the source. However, running "$ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg" this make me error. I got following error message. I think I don't have a GPU in my mac. Is there anyway that I can isnstall from source even though I don't have a GPU ?
sangpil_kim@ ~/git/tensorflow $ bazel build -c opt //tensorflow/tools/pip_package:build_pip_package
.......
INFO: Found 1 target...
INFO: From Executing genrule //third_party/gpus/cuda:cuda_config_check:
/bin/bash: touch: command not found
ERROR: /Users/sangpil_kim/git/tensorflow/third_party/gpus/cuda/BUILD:143:1: Executing genrule //third_party/gpus/cuda:cuda_config_check failed: bash failed: error executing command /bin/bash -c 'source tools/genrule/genrule-setup.sh; touch bazel-out/local_darwin-opt/genfiles/third_party/gpus/cuda/cuda.config': com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 127.
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 79.345s, Critical Path: 0.32s
-bash: tail: command not found
-bash: sed: command not found
I suspect the GPU is a red herring. Without more info, the fact that /bin/bash can't seem to be able to execute standard tools like 'touch', 'tail' or 'sed' suggests something is very weird about your system.
Thanks, after that error my bash cracked so I just reinstalled my OS. I hope to know that there is a case who build from source which don't have a GPU in their labtop.
After reinstalling your OS, are you able to run the commands /usr/bin/touch, /usr/bin/tail and /usr/bin/sed from the Terminal? If so, this step in the installation should succeed.
To clarify: it is possible to build TensorFlow from source without a GPU.
I used Time Machine before reinstalling it and I found those commands works. I assume my errors are related with CUDA configuration. I don't have a GPU but I installed CUDA so TensorFlow act like I have a GPU and makes a problem. However, I know it's possible to build without GPU. I will try to solve it next time when I have a time. I saw a benchmark that TensorFlow is not fast as torch so I decided to stick with Torch. I will try to install TensorFlow next time when it get better in the future.
Activity
vincentvanhoucke commentedon Nov 10, 2015
I suspect the GPU is a red herring. Without more info, the fact that /bin/bash can't seem to be able to execute standard tools like 'touch', 'tail' or 'sed' suggests something is very weird about your system.
booherbg commentedon Nov 10, 2015
The actual error is that the 'touch' command fails. Fix that and you should be ok?
spk921 commentedon Nov 11, 2015
Thanks, after that error my bash cracked so I just reinstalled my OS. I hope to know that there is a case who build from source which don't have a GPU in their labtop.
mrry commentedon Nov 12, 2015
After reinstalling your OS, are you able to run the commands
/usr/bin/touch,/usr/bin/tailand/usr/bin/sedfrom the Terminal? If so, this step in the installation should succeed.To clarify: it is possible to build TensorFlow from source without a GPU.
spk921 commentedon Nov 13, 2015
I used Time Machine before reinstalling it and I found those commands works. I assume my errors are related with CUDA configuration. I don't have a GPU but I installed CUDA so TensorFlow act like I have a GPU and makes a problem. However, I know it's possible to build without GPU. I will try to solve it next time when I have a time. I saw a benchmark that TensorFlow is not fast as torch so I decided to stick with Torch. I will try to install TensorFlow next time when it get better in the future.
Enable TTI for host TargetMachine in JitRunner
Merge pull request tensorflow#71 from ROCmSoftwarePlatform/refactor-a…
Add security advisory for vuln #71 in 2022
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
TfLite Reverse missing datatype support (#31) (#71)