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
Copy file name to clipboardExpand all lines: docs/source/user_guide/model_registration/model_deploy_byoc.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ Deploy Model on Container Runtime
3
3
4
4
The ADS ``GenericModel`` and ``ModelDeployment`` classes allow you to run a container image using OCI data science model deployment.
5
5
6
-
To deploy model on container runtime, you need to first build a docker container image. See `<build_container_image>` for the end-to-end example. Once you have the image, push it to `OCI container registry <https://docs.oracle.com/en-us/iaas/Content/Registry/Concepts/registryoverview.htm>`_. See `Creating a Repository <https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrycreatingarepository.htm>`_ and `Pushing Images Using the Docker CLI <https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrycreatingarepository.htm>`_ for more details.
6
+
To deploy model on container runtime, you need to first build a docker container image. See `Bring Your Own Container <https://docs.oracle.com/en-us/iaas/data-science/using/mod-dep-byoc.htm#construct-container>`_ for the end-to-end example. Once you have the image, push it to `OCI container registry <https://docs.oracle.com/en-us/iaas/Content/Registry/Concepts/registryoverview.htm>`_. See `Creating a Repository <https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrycreatingarepository.htm>`_ and `Pushing Images Using the Docker CLI <https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrycreatingarepository.htm>`_ for more details.
7
7
8
8
Deploy Using GenericModel Class
9
9
===============================
10
10
11
-
When the container runtime is ready, you can call ``deploy`` function to deploy the model and generate the endpoint. You must specify the container ``deployment_image``. You can optionally specify the `entrypoint` and `cmd` for running the container (See `Understand how CMD and ENTRYPOINT interact <https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact>`_). For more details regarding the parameters allowed for container runtime, see `<build_container_image_parameters>`.
11
+
When the container runtime is ready, you can call ``deploy`` function to deploy the model and generate the endpoint. You must specify the container ``deployment_image``. You can optionally specify the `entrypoint` and `cmd` for running the container (See `Understand how CMD and ENTRYPOINT interact <https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact>`_). For more details regarding the parameters allowed for container runtime, see `BYOC Required Interfaces <https://docs.oracle.com/en-us/iaas/data-science/using/mod-dep-byoc.htm#model-dep-byoc-interfaces>`_.
12
12
13
13
Below is an example of deploying Sklearn model on container runtime using ``SklearnModel`` class:
14
14
@@ -68,7 +68,7 @@ Deploy Using ModelDeployment Class
68
68
69
69
To deploy a model deployment, you can define a ``ModelDeployment`` object and call the ``.deploy()`` of it. You could either use API or YAML to define the ``ModelDeployment`` object.
70
70
71
-
When configuring the ``ModelDeploymentContainerRuntime`` object, you must specify the container `image`. You can optionally specify the `entrypoint` and `cmd` for running the container (See `Understand how CMD and ENTRYPOINT interact <https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact>`_). For more details regarding the parameters allowed for container runtime, see `<build_container_image_parameters>`.
71
+
When configuring the ``ModelDeploymentContainerRuntime`` object, you must specify the container `image`. You can optionally specify the `entrypoint` and `cmd` for running the container (See `Understand how CMD and ENTRYPOINT interact <https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact>`_). For more details regarding the parameters allowed for container runtime, see `BYOC Required Interfaces <https://docs.oracle.com/en-us/iaas/data-science/using/mod-dep-byoc.htm#model-dep-byoc-interfaces>`_.
72
72
73
73
Below is an example of deploying model on container runtime using ``ModelDeployment`` class:
0 commit comments