You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: [RET-2633] add readiness method to clients (#25)
* feat(grpc): add health check service and generated protobuf files
* feat(grpc): add health check methods to Requester and RequesterAsync in Python
* feat(grpc): add health check method to Requester interface and implementations
* feat(grpc): add health check tests for Python
* feat(grpc): add health check methods and tests for clients
* docs(grpc): add health check calls to Embedder, Ranker, and Chunker clients
* feat(grpc): add health check method to Chunker, Embedder, and Ranker in TS
* feat(grpc): add health check method to Chunker, Embedder, and Ranker in Go
* refactor(python): use readiness instead
* feat(grpc): implement readiness checks for Chunker, Embedder, and Ranker interfaces and update tests for Go
* feat(grpc): add readiness checks for Chunker, Embedder, and Ranker models and update tests for TS
* docs(ts): add model readiness checks to Embedder, Chunker, and Ranker examples
* feat(grpc): add server ready check to Requester in Python
* feat(grpc): add server ready check to Requester in Go
* feat(grpc): add server ready check to Requester in TS
* docs: add embedder example for Go
* test: add readiness checks for chunker_embedder in Go and TS
* test: update embedder health check to readiness check in Python
* refactor: move name formatting logic to separate function
* test: add ModelReady JSON stub for GRPCInferenceService
* fix: enhance error messages for model readiness checks with model name and version
* test: fix stubs and tests
@@ -65,10 +67,9 @@ export class GrpcRequester implements Requester {
65
67
}),
66
68
);
67
69
68
-
// NOTE: The model version is always set to 1 because all models deployed within the same Triton server instance -- when stored in different model repositories -- must have unique names.
69
70
return{
70
-
modelName: `${modelName}:${modelVersion}`,
71
-
modelVersion: '1',
71
+
modelName: modelName,
72
+
modelVersion: modelVersion,
72
73
id: id,
73
74
inputs: grpcInputs,
74
75
outputs: grpcOutputs,
@@ -119,14 +120,18 @@ export class GrpcRequester implements Requester {
0 commit comments