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

endpoint yaml specification missing resources field #263

Open
amahab opened this issue Nov 2, 2022 · 6 comments
Open

endpoint yaml specification missing resources field #263

amahab opened this issue Nov 2, 2022 · 6 comments

Comments

@amahab
Copy link

amahab commented Nov 2, 2022

Doc here states k8s isntance_type can be specified via resources for endpoint - https://github.com/Azure/AML-Kubernetes/blob/master/docs/simple-flow.md

Adding this field causes error in endpoint creation.

Resources field is not in the spec - https://learn.microsoft.com/en-us/azure/machine-learning/reference-yaml-endpoint-online

@Bozhong68
Copy link
Collaborator

Hi @amahab thanks for feedback, the github documentation/examples now are outdated, the GitHub was meant for public preview purpose, since the product now is GAed, please use official documentation https://aka.ms/amlarc/doc and official AzureML example repo: https://github.com/Azure/azureml-examples.

Thank you so much.

@amahab
Copy link
Author

amahab commented Nov 2, 2022

Hi @Bozhong68

Where can I find the compute instance_type spec for endpoints for on prem Azure Arc k8s deployments. The link you point to has examples for Azure cloud.

@Bozhong68
Copy link
Collaborator

It is applicable to both cases - Instance type official documentation here: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-manage-kubernetes-instance-types

@Bozhong68
Copy link
Collaborator

@amahab
Copy link
Author

amahab commented Nov 3, 2022

@Bozhong68 The instance official doc helped. Thanks!

Regarding AML-K8s examples - This is the only site where I find on prem k8s examples. Any other links?

Also how can i specify k8s instance type via Az ML python SDK instead of CLI? I have filed issue #262 on this.

@jiaochenlu
Copy link
Collaborator

jiaochenlu commented Nov 3, 2022

@amahab Have replied how to specify instance type using SDK in issue #262

More examples you can find in our official AzureML example repo: https://github.com/Azure/azureml-examples.

To use k8s compute for training job, you just need to specify your k8s compute name in "compute" parameter, and specify your instanceType in "instance_type" parameter.

To use k8s compute for real-time inference, you can follow this SDK example, or this CLI example

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

No branches or pull requests

3 participants