Commit d5649cf2 authored by Lukáš Krupčík's avatar Lukáš Krupčík

fix

parent 2c949dc3
Pipeline #5496 failed with stages
in 2 minutes and 7 seconds
# Tensorflow 1.1.0
```console
git clone https://github.com/tensorflow/tensorflow
cd tensorflow
git checkout r1.1
ml cuDNN/5.1-CUDA-7.5.18
ml Bazel/0.4.4-GCC-4.9.3
ml Python/3.6.1
ml GCC/4.9.3-tf
./configure
jemalloc: N
cuda version: 7.5
cuda path: /apps/all/CUDA/7.5.18/
cuDNN version: 5.1.10
cuDNN path: /apps/all/cuDNN/5.1-CUDA-7.5.18/
CUDA compute capability: 3.5
(vse ostatni default)
bazel build --config=opt --config=cuda
//tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package
$HOME/tensorflow_pkg
pip install --user
~/tensorflow_pkg/tensorflow-1.1.0-cp36-cp36m-linux_x86_64.whl
```
## Chyba **protoc failed**
* přidat **env=ctx.configuration.default_shell_env** do **ctx.action** sekce v souboru **bazel-tensorflow/external/protobuf/protobuf.bzl**
* znovu spustit **bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package**
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment