Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions grpc_client/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,28 @@ cp grpc_client/proto/*.proto grpc_client/python/smg_grpc_proto/proto/
pip install -e grpc_client/python/
```

### Testing proto changes on a remote GPU machine

After editing `.proto` files locally, build a wheel and install it in the remote environment (e.g. vLLM):

```bash
# 1. Build wheel (regenerates Python stubs from latest .proto files)
cd grpc_client/python
# Copy proto files into the package tree (the repo uses a symlink which
# won't survive wheel packaging)
mkdir -p smg_grpc_proto/proto
cp ../proto/*.proto smg_grpc_proto/proto/
pip wheel . --no-deps -w dist/

# 2. Copy to remote
scp dist/smg_grpc_proto-*.whl remote-gpu:/tmp/

# 3. Install on remote (into vLLM's env or whichever env needs it)
pip install --force-reinstall /tmp/smg_grpc_proto-*.whl
Comment thread
coderabbitai[bot] marked this conversation as resolved.
```

No import changes are needed on the remote side — vLLM already imports from `smg_grpc_proto`.

## License

Apache-2.0