feat(grpc): add KV event source discovery (#50033)
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
2ecd8645d8
commit
48fc2e2797
@@ -8,6 +8,7 @@ service Control {
|
||||
rpc GetServerInfo (GetServerInfoRequest) returns (ServerInfo) {}
|
||||
rpc GetModelInfo (GetModelInfoRequest) returns (ModelInfo) {}
|
||||
rpc Abort (AbortRequest) returns (AbortResponse) {}
|
||||
rpc GetKvEventSources (GetKvEventSourcesRequest) returns (GetKvEventSourcesResponse) {}
|
||||
}
|
||||
|
||||
message GetServerInfoRequest {}
|
||||
@@ -51,3 +52,23 @@ message AbortRequest {
|
||||
}
|
||||
|
||||
message AbortResponse {}
|
||||
|
||||
// ======================================================================================
|
||||
// KV discovery
|
||||
// ======================================================================================
|
||||
|
||||
message GetKvEventSourcesRequest {}
|
||||
message GetKvEventSourcesResponse { repeated KvEventSource sources = 1; }
|
||||
|
||||
message KvEventSource {
|
||||
string transport = 1;
|
||||
string endpoint = 2;
|
||||
string topic = 3;
|
||||
string replay_endpoint = 4;
|
||||
optional uint32 data_parallel_rank = 5;
|
||||
string encoding = 6;
|
||||
uint32 schema_version = 7;
|
||||
uint32 buffer_steps = 8;
|
||||
uint32 hwm = 9;
|
||||
uint32 max_queue_size = 10;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user