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
* initial prototype for deploying arm64 models
* dev: modified deploy method for ARM-based models and added model metadata function
* More explicitly documented architecture types and created constant variables for hardware types
* Modified docstring to accurately reflect �rchitecture parameter
container_image (str): Docker container image to be deployed. This string should represent what follows a `docker pull` command
395
449
model_name (str): Name of model to be deployed
396
450
model_version (str): Version of model to be deployed
451
+
architecture (str): `{'amd64', 'arm64', 'arm'}` If set to `arm64` or `arm`, deploy method will expedite the deployment process and bypass some Modzy tests that are only available for models compiled for amd64 chips.
397
452
sample_input_file (str): Path to local file to be used for sample inference
398
453
credentials (dict): Dictionary containing credentials if the container image is private. The keys in this dictionary must be `["user", "pass"]`
399
454
model_id (str): Model identifier if deploying a new version to a model that already exists
raiseValueError("Loading model container failed. Make sure you passed through a valid Docker registry container image. \n\nSee full error below:\n{}".format(e))
raiseValueError("Inference test failed. Make sure the provided input sample is valid and your model can process it for inference. \n\nSee full error below:\n{}".format(e))
raiseValueError("Deployment failed. Check to make sure all of your parameters and assets are valid and try again. \n\nSee full error below:\n{}".format(e))
raiseValueError("Loading model container failed. Make sure you passed through a valid Docker registry container image. \n\nSee full error below:\n{}".format(e))
raiseValueError("Deployment failed. Check to make sure all of your parameters and assets are valid and try again. \n\nSee full error below:\n{}".format(e))
raiseValueError("Loading model container failed. Make sure you passed through a valid Docker registry container image. \n\nSee full error below:\n{}".format(e))
raiseValueError("Inference test failed. Make sure the provided input sample is valid and your model can process it for inference. \n\nSee full error below:\n{}".format(e))
raiseValueError("Deployment failed. Check to make sure all of your parameters and assets are valid and try again. \n\nSee full error below:\n{}".format(e))
588
+
else:
589
+
raiseValueError("Invalid value for `architecture` parameter. Choose option from array: {'amd', 'arm'}")
0 commit comments