RoboForex – Professional services on Forex market
To compile tensorflow on my Amazon AWS server, I always get some strange error. No answer got upon enormous googling.
I installed swig which is needed. However, I don’t know if this matters.
sudo apt install swig
Otherwise, maybe it just a simple running out of memory problem.
Try reducing number of parallel builds by passing ‘–local_resources 2048,.5,1.0’, which would instruct bazel to spawn no more than one compiler process at the time.
bazel build -c opt --jobs 1 --local_resources 2048,0.5,1.0 --verbose_failures --config=cuda //tensorflow/tools/pip_package:build_pip_package