GithubHelp home page GithubHelp logo

azure / aml-compute Goto Github PK

View Code? Open in Web Editor NEW
20.0 7.0 9.0 150 KB

GitHub Action that allows you to attach, create and scale Azure Machine Learning compute resources.

License: MIT License

Dockerfile 0.48% Shell 0.15% Python 99.37%
azure-machine-learning aml azure mlops machine-learning data-science

aml-compute's People

Contributors

ashishonce avatar awmatheson avatar lostmygithubaccount avatar marvinbuss avatar microsoftopensource avatar pulkitaggarwl avatar vivishno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

aml-compute's Issues

Add support for Sovereign clouds like AzureUSGovernment

When using updated aml-workspace action (target_cloud branch) I get the following when running the aml-compute action.

Error:
##[error]Microsoft REST Authentication Error: Get Token request returned http error: 400 and server response: "error":"invalid_request","error_description":"AADSTS900382: Confidential Client is not supported in Cross Cloud request.\r\nTrace ID: 602fff1b-a2ef-4b88-b157-c12c330d8300\r\nCorrelation ID: 9b38af2a-baeb-4b80-b727-d1bcd300a67b\r\nTimestamp: 2020-06-26 19:38:33Z","error_codes":[900382],"timestamp":"2020-06-26 19:38:33Z","trace_id":"602fff1b-a2ef-4b88-b157-c12c330d8300","correlation_id":"9b38af2a-baeb-4b80-b727-d1bcd300a67b"

Same issue as aml-workspace Azure/aml-workspace#18
Please update for Sovereign clouds.

See PR in aml-workspace for fix.
Azure/aml-workspace#20

Change default SKU

  • Change default SKU for AML Cluster
  • Change default SKU for AKS Cluster

Action is failing when deploying AKS in custom Vnet

Hi Team,

When we are trying to built aks cluster in custom vnet it is failing.We are passing below info in the compute.json. And when we tried to created the cluster manually with same configuration, it worked.

Compute.json:
{
"name": "testml12",
"compute_type": "akscluster",
"agent_count": 3,
"vm_size": "Standard_D3_v2",
"location": "northcentralus",
"service_cidr": "192.168.19.0/24",
"dns_service_ip": "192.168.19.10",
"docker_bridge_cidr": "172.19.0.1/16",
"cluster_purpose": "DevTest",
"vnet_resource_group_name": "vnet-rg",
"vnet_name": "ml-vnet-workerpool",
"subnet_name": "ml-subnet-1",
"load_balancer_type": "PublicIp"
}

Error:


"error": ***
    "message": "ComputeTargetNotFound: Compute Target with name testml12 not found in provided workspace"
***

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/code/main.py", line 140, in
main()
File "/code/main.py", line 128, in main
compute_target = create_aks_cluster(
File "/code/utils.py", line 86, in create_aks_cluster
aks_config = AksCompute.provisioning_configuration(
File "/usr/local/lib/python3.8/site-packages/azureml/core/compute/aks.py", line 255, in provisioning_configuration
config = AksProvisioningConfiguration(agent_count, vm_size, ssl_cname, ssl_cert_pem_file, ssl_key_pem_file,
File "/usr/local/lib/python3.8/site-packages/azureml/core/compute/aks.py", line 779, in init
self.validate_configuration()
File "/usr/local/lib/python3.8/site-packages/azureml/core/compute/aks.py", line 809, in validate_configuration
raise ComputeTargetException('Invalid configuration, not all virtual net information provided. To use '
azureml.exceptions._azureml_exception.ComputeTargetException: ComputeTargetException:
Message: Invalid configuration, not all virtual net information provided. To use a custom virtual net with aks, please provide vnet name, vnet resource group, subnet name, service cidr, dns service ip and docker bridge cidr
InnerException None
ErrorResponse


"error": ***
    "message": "Invalid configuration, not all virtual net information provided. To use a custom virtual net with aks, please provide vnet name, vnet resource group, subnet name, service cidr, dns service ip and docker bridge cidr"
***

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.