caikit.runtime.servicers.model_management_servicer ================================================== .. py:module:: caikit.runtime.servicers.model_management_servicer .. autoapi-nested-parse:: The Model Management Service is responsible for deploying and undeploying models Attributes ---------- .. autoapisummary:: caikit.runtime.servicers.model_management_servicer.log caikit.runtime.servicers.model_management_servicer.DeployModelRequestProto caikit.runtime.servicers.model_management_servicer.ModelInfoProto caikit.runtime.servicers.model_management_servicer.UndeployModelRequestProto Classes ------- .. autoapisummary:: caikit.runtime.servicers.model_management_servicer.ModelManagementServicerImpl Module Contents --------------- .. py:data:: log .. py:data:: DeployModelRequestProto .. py:data:: ModelInfoProto .. py:data:: UndeployModelRequestProto .. py:class:: ModelManagementServicerImpl .. py:attribute:: __doc__ :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ The Model Management Service is responsible for deploying and undeploying models """ .. raw:: html
.. py:attribute:: _model_manager :value: None .. py:method:: DeployModel(request: DeployModelRequestProto, context: grpc.RpcContext) -> ModelInfoProto Deploy a model to the runtime .. py:method:: UndeployModel(request: UndeployModelRequestProto, context: grpc.RpcContext) -> UndeployModelRequestProto Un-deploy a model to the runtime .. py:method:: deploy_model(model_id: str, model_files: Dict[str, bytes]) -> caikit.interfaces.runtime.data_model.ModelInfo Deploy a model to the runtime .. py:method:: undeploy_model(model_id: str) -> caikit.interfaces.runtime.data_model.UndeployModelRequest Un-deploy a model to the runtime