Creating a Model Deployment
After you store a model in the model catalog, it can be deployed as an HTTP endpoint using the model deployments resource. Ensure that you have created the necessary policies, authentication, and authorization for your model deployments.
You can create a model deployment using these interfaces:
Using the Console
Using the OCI Python SDK
We have developed an OCI Python SDK model deployment example that includes authentication.
Artifacts exceeding 6GB are not supported for deployment. Please select a smaller model artifact for deployment.
You must upgrade the OCI SDK (v2.33.0 or later) before creating a deployment with the Python SDK using this command:
pip install --upgrade oci
Using the OCI CLI
You can use the OCI CLI to create a model deployment as in this example.
Notebook Examples
We have provided notebook examples that show you how to train, prepare, save, deploy, and invoke model deployments for these frameworks: