[object Object]

← back to Exo

Added a small script to compile grpc

9712d696a99b41b9be27979f7169434f4e9b7cee · 2024-11-12 21:28:39 -0800 · Nel Nibcord

Files touched

Diff

commit 9712d696a99b41b9be27979f7169434f4e9b7cee
Author: Nel Nibcord <blindcrone@tuta.io>
Date:   Tue Nov 12 21:28:39 2024 -0800

    Added a small script to compile grpc
---
 scripts/compile_grpc.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/scripts/compile_grpc.sh b/scripts/compile_grpc.sh
new file mode 100644
index 00000000..29a0b239
--- /dev/null
+++ b/scripts/compile_grpc.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+source ./install.sh
+pushd exo/networking/grpc
+python3.12 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
+sed -i "s/import node_service_pb2/from . &/" node_service_pb2_grpc.py
+popd
+

← b787c676 Updated unit tests  ·  back to Exo  ·  fix tokenizers test with restructured models 34f3c4a1 →