[Rust Frontend][gRPC] Add server and model discovery (#49491)
Signed-off-by: Connor Carpenter <connorc@nvidia.com> Co-authored-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
co-authored by
Nick Hill
parent
2b465b2c42
commit
e3c2fc3b3c
@@ -9,7 +9,13 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
.build_server(true)
|
||||
.build_client(true)
|
||||
.protoc_arg("--experimental_allow_proto3_optional") // be compatible with old compilers
|
||||
.compile_protos(&[format!("{proto_dir}/vllm_grpc.proto")], &[proto_dir])?;
|
||||
.compile_protos(
|
||||
&[
|
||||
format!("{proto_dir}/control.proto"),
|
||||
format!("{proto_dir}/inference.proto"),
|
||||
],
|
||||
&[proto_dir],
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user