Skip to content

Commit a91bb43

Browse files
committed
Updated doc.
1 parent 6e9c32e commit a91bb43

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/source/user_guide/model_deployment/deploy.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ The Data Science Model Deployment supports service managed conda runtime and cus
6767
ModelDeploymentContainerRuntime
6868
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6969

70+
To use the ``ModelDeploymentContainerRuntime``, you need to first push the image 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.
71+
7072
You can define the model deployment container runtime by passing the following properties to ``ModelDeploymentContainerRuntime`` object:
7173

7274
* ``model_uri``: The model ocid or path to model artifacts directory that is used in the model deployment.
@@ -179,7 +181,7 @@ A ``ModelDeployment`` object can be serialized to a YAML file by calling ``to_ya
179181
kind: infrastructure
180182
...
181183
"""")
182-
184+
183185
deployment.deploy(wait_for_completion=False)
184186
185187
Here is an example of a YAML file representing the ``ModelDeployment`` with docker container runtime defined in the preceding examples:

docs/source/user_guide/model_deployment/update.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Or, you could update the instance shape with:
1515

1616
.. code-block:: python3
1717
18-
deployment.infrastructure.with_shape_name("VM.Standard.E4.Flex")
18+
deployment.infrastructure.with_shape_name("VM.Standard.E4.Flex").with_shape_config_details(ocpus=2, memory_in_gbs=32)
1919
deployment.update()
2020

0 commit comments

Comments
 (0)