You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Persist this model including model files and metadata to the model registry.
98
104
99
105
# Arguments
100
106
model_path: Local or remote (Hopsworks file system) path to the folder where the model files are located, or path to a specific model file.
101
107
await_registration: Awaiting time for the model to be registered in Hopsworks.
102
108
keep_original_files: If the model files are located in hopsfs, whether to move or copy those files into the Models dataset. Default is False (i.e., model files will be moved)
109
+
upload_configuration: When saving a model from outside Hopsworks, the model is uploaded to the model registry using the REST APIs. Each model artifact is divided into
110
+
chunks and each chunk uploaded independently. This parameter can be used to control the upload chunk size, the parallelism and the number of retries.
111
+
`upload_configuration` can contain the following keys:
112
+
* key `chunk_size`: size of each chunk in megabytes. Default 10.
113
+
* key `simultaneous_uploads`: number of chunks to upload in parallel. Default 3.
114
+
* key `max_chunk_retries`: number of times to retry the upload of a chunk in case of failure. Default 1.
0 commit comments