caikit.runtime.servicers.model_train_servicer
Attributes
Classes
This class contains the implementation of the Model Train process.proto |
Module Contents
- class caikit.runtime.servicers.model_train_servicer.ModelTrainServicerImpl(training_service: caikit.runtime.service_factory.ServicePackage)[source]
Bases:
caikit.runtime.protobufs.process_pb2_grpc.ProcessServicerThis class contains the implementation of the Model Train process.proto interface (a.k.a. the Process Servicer).
- _training_service
- _gts
- Run(request, context)[source]
Run RPC – launches a training job. Args:
- request(process_pb2.ProcessRequest):
Generated from process.proto
context(grpc.ServicerContext): Context object (contains request metadata, etc)
- Returns:
- process_pb2.ProcessResponse:
Generated from process.proto