mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 15:52:08 +00:00
fix makefile
This commit is contained in:
parent
c90afea3de
commit
cd75eddd30
@ -1,6 +1,6 @@
|
||||
gen-server:
|
||||
# Compile protos
|
||||
#pip install grpcio-tools==1.49.1 --no-cache-dir
|
||||
pip install grpcio-tools==1.49.1 --no-cache-dir
|
||||
mkdir text_generation/pb || true
|
||||
python -m grpc_tools.protoc -I../proto --python_out=text_generation/pb --grpc_python_out=text_generation/pb ../proto/generate.proto
|
||||
find text_generation/pb/ -type f -name "*.py" -print0 -exec sed -i -e 's/^\(import.*pb2\)/from . \1/g' {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user