caikit.runtime.protobufs.model_mesh_pb2_grpc
Client and server classes corresponding to protobufs-defined services.
Classes
this is a grpc version of the external model-mesh interface |
|
this is a grpc version of the external model-mesh interface |
|
this is a grpc version of the external model-mesh interface |
Functions
|
Module Contents
- class caikit.runtime.protobufs.model_mesh_pb2_grpc.ModelMeshStub(channel)[source]
Bases:
objectthis is a grpc version of the external model-mesh interface for managing and serving models
- registerModel
- unregisterModel
- getModelStatus
- ensureLoaded
- setVModel
- deleteVModel
- getVModelStatus
- class caikit.runtime.protobufs.model_mesh_pb2_grpc.ModelMeshServicer[source]
Bases:
objectthis is a grpc version of the external model-mesh interface for managing and serving models
- registerModel(request, context)[source]
model lifecycle rpcs
Registers a trained model to this model-mesh cluster
- unregisterModel(request, context)[source]
Unregisters (deletes) a model from this model-mesh cluster, has no effect if the specified model isn’t found
- getModelStatus(request, context)[source]
Returns the status of the specified model. See the ModelStatus enum
- ensureLoaded(request, context)[source]
Ensures the model with the specified id is loaded in this model-mesh cluster
- setVModel(request, context)[source]
vmodel lifecycle rpcs
Creates a new vmodel id (alias) which maps to a new or existing concrete model, or sets the target model for an existing vmodel to a new or existing concrete model
- caikit.runtime.protobufs.model_mesh_pb2_grpc.add_ModelMeshServicer_to_server(servicer, server)[source]
- class caikit.runtime.protobufs.model_mesh_pb2_grpc.ModelMesh[source]
Bases:
objectthis is a grpc version of the external model-mesh interface for managing and serving models
- static registerModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)[source]
- static unregisterModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)[source]
- static getModelStatus(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)[source]
- static ensureLoaded(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)[source]
- static setVModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None)[source]