caikit.runtime.protobufs.model_mesh_pb2_grpc ============================================ .. py:module:: caikit.runtime.protobufs.model_mesh_pb2_grpc .. autoapi-nested-parse:: Client and server classes corresponding to protobufs-defined services. Classes ------- .. autoapisummary:: caikit.runtime.protobufs.model_mesh_pb2_grpc.ModelMeshStub caikit.runtime.protobufs.model_mesh_pb2_grpc.ModelMeshServicer caikit.runtime.protobufs.model_mesh_pb2_grpc.ModelMesh Functions --------- .. autoapisummary:: caikit.runtime.protobufs.model_mesh_pb2_grpc.add_ModelMeshServicer_to_server Module Contents --------------- .. py:class:: ModelMeshStub(channel) Bases: :py:obj:`object` this is a grpc version of the external model-mesh interface for managing and serving models .. py:attribute:: registerModel .. py:attribute:: unregisterModel .. py:attribute:: getModelStatus .. py:attribute:: ensureLoaded .. py:attribute:: setVModel .. py:attribute:: deleteVModel .. py:attribute:: getVModelStatus .. py:class:: ModelMeshServicer Bases: :py:obj:`object` this is a grpc version of the external model-mesh interface for managing and serving models .. py:method:: registerModel(request, context) model lifecycle rpcs Registers a trained model to this model-mesh cluster .. py:method:: unregisterModel(request, context) Unregisters (deletes) a model from this model-mesh cluster, has no effect if the specified model isn't found .. py:method:: getModelStatus(request, context) Returns the status of the specified model. See the ModelStatus enum .. py:method:: ensureLoaded(request, context) Ensures the model with the specified id is loaded in this model-mesh cluster .. py:method:: setVModel(request, context) 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 .. py:method:: deleteVModel(request, context) Deletes a vmodel, optionally deleting any referenced concrete models at the same time .. py:method:: getVModelStatus(request, context) Gets the status of a vmodel, including associated target/active model ids If the vmodel is not found, the returned VModelStatusInfo will have empty active and target model ids and an active model status of NOT_FOUND .. py:function:: add_ModelMeshServicer_to_server(servicer, server) .. py:class:: ModelMesh Bases: :py:obj:`object` this is a grpc version of the external model-mesh interface for managing and serving models .. py:method:: registerModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: .. py:method:: unregisterModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: .. py:method:: getModelStatus(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: .. py:method:: ensureLoaded(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: .. py:method:: setVModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: .. py:method:: deleteVModel(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: .. py:method:: getVModelStatus(request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None) :staticmethod: