[object Object]

← back to Exo

Fixed GRPC issues

e3ec9eaa4436c34e207b5ab96b4f837d2867ed19 · 2024-11-22 02:57:40 +0400 · Nel Nibcord

Files touched

Diff

commit e3ec9eaa4436c34e207b5ab96b4f837d2867ed19
Author: Nel Nibcord <blindcrone@tuta.io>
Date:   Fri Nov 22 02:57:40 2024 +0400

    Fixed GRPC issues
---
 scripts/compile_grpc.sh | 4 ++--
 setup.py                | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/compile_grpc.sh b/scripts/compile_grpc.sh
index 29a0b239..4f086ae4 100644
--- a/scripts/compile_grpc.sh
+++ b/scripts/compile_grpc.sh
@@ -1,7 +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
+python3 -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
 
diff --git a/setup.py b/setup.py
index c337fd9e..d3ff86f2 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ install_requires = [
   "nvidia-ml-py==12.560.30",
   "pillow==10.4.0",
   "prometheus-client==0.20.0",
-  "protobuf==5.27.1",
+  "protobuf==5.28.1",
   "psutil==6.0.0",
   "pydantic==2.9.2",
   "requests==2.32.3",

← bc905cd6 formatting deleteModel  ·  back to Exo  ·  fix test_inference_engine unittest reshape token output tens 8a741485 →