Skip to content

Commit 86234c7

Browse files
committed
Added a section to notify the customer to use CLI or SDK for configuring custom envs.
1 parent 1230cc1 commit 86234c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/machine-learning/how-to-deploy-custom-container.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@ You can optionally configure your `model_mount_path` value. By adjusting this se
339339
> [!IMPORTANT]
340340
> The `model_mount_path` value must be a valid absolute path in Linux (the OS of the container image).
341341

342+
> [!IMPORTANT]
343+
> For BYOC scenarios, where a custom `model_mount_path` is to be configured on an online deployment, the [The inference_config parameter](#the-inference_config-parameter) parameter is also required to be set in the Environment, for the environment to be recognized as a custom environment. For such scenarios, please use Azure CLI or Python SDK, as there are known limitations in configuring `inference_config` parameter when creating custom environment from Azure Portal.
344+
342345
When you change the value of `model_mount_path`, you also need to update the `MODEL_BASE_PATH` environment variable. Set `MODEL_BASE_PATH` to the same value as `model_mount_path` to avoid a failed deployment due to an error about the base path not being found.
343346

344347
# [Azure CLI](#tab/cli)

0 commit comments

Comments
 (0)