KUAN-HSUN-LI commented on a change in pull request #772:
URL: https://github.com/apache/submarine/pull/772#discussion_r726737464
##########
File path: submarine-sdk/pysubmarine/submarine/tracking/client.py
##########
@@ -64,3 +90,46 @@ def log_param(self, job_id, key, value, worker_index):
validate_param(key, value)
param = Param(key, str(value), worker_index)
self.store.log_param(job_id, param)
+
+ def save_model(
+ self, model_type: str, model, artifact_path: str,
registered_model_name: str = None
+ ) -> None:
+ """
+ Save a model into the minio pod.
+ :param model_type: The type of the model.
+ :param model: Model.
+ :param artifact_path: Relative path of the artifact in the minio pod.
+ :param registered_model_name: If none None, register model into the
model registry with
Review comment:
typo `If none None`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]