Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdatingCLIAzureMLNIMDeployment_for_demo #99

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mreyesgomez
Copy link

No description provided.

@@ -3,7 +3,7 @@ name: deployment_name_placeholder
endpoint_name: endpoint_name_placeholder
environment:
name: image_name_placeholder-env
image: acr_registry_placeholder.azurecr.io/image_name_placeholder:v1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove "latest" and mention "tag" instead to make it generalized.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using the v1 it was crashing

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried the way it was and the deployment was throwing errors as it couldn't find the image, the errors went away with latest

CREATE_WORKSPACE=false

for i in "$@"; do
case $i in
--create_new_workspace) CREATE_WORKSPACE=true ;;
-*|--*) echo "Unknown option $i"; exit 1 ;;
--create_new_resource_group)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the create resource group flag? I think it is safe to assume that users will already have a resource group to deploy this on.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually dont think it is safe.

Its a bit redundant but it makes the script to work even when the user does not have a work group for the workspace

I for instance like to create a worksgroup for every single project/test I do as it is way easier to delete resources by workgroup than individually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants