Write computation graph to file

This commit is contained in:
Philipp Moritz
2016-06-27 12:16:59 -07:00
parent fb6c74ecab
commit 7af0f1b221
13 changed files with 96 additions and 41 deletions
+7
View File
@@ -0,0 +1,7 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# TODO(mehrdad): How would this look in windows, where does the protoc executable go?
# On Linux, we compile it ourselves, on Windows we might not want to do that (?)
mkdir -p $DIR/../lib/python/ray/internal/
$DIR/../thirdparty/grpc/bins/opt/protobuf/protoc -I ../protos/ --python_out=$DIR/../lib/python/ray/internal/ ../protos/graph.proto
$DIR/../thirdparty/grpc/bins/opt/protobuf/protoc -I ../protos/ --python_out=$DIR/../lib/python/ray/internal/ ../protos/types.proto