Questions tagged [azureml-python-sdk]

188 questions
0
votes
1 answer

Get an AzureML environment `source` field in python

I'm trying to get the source field of an AzureML environment using the python SDK (either version 1 or 2). It seem like neither version 1 nor version 2 support it, although the web UI has it. Anyone has an idea?
0
votes
1 answer

How to set the Jupyterlab notebooks default kernel with Papermill in prepare_only mode

Is there a way to set the default kernel in JupyterLab in Azure ML notebooks, in prepare_only mode? I know it's only a few clicks away to change it on the top right - but I need to do this many times a day, and I often forget. Having the right…
0
votes
1 answer

AzureML , using training artifactes during inference

I built a ML training pipeline in which I used ohe=OneHotEncoding() for the training data. Now I want to transform the inference data using the same ohe object. How can I make this ohe object available in my inference job? I am using Azure ML SDK…
0
votes
0 answers

Azure ML Client Authentication Failure

I am trying to authenticate the Azure ML Client through the following code running on Spark cluster: os.environ["AZURE_ML_CLI_PRIVATE_FEATURES_ENABLED"] = "true" os.environ["AZURE_SUBSCRIPTION_ID"] =…
Cengiz
  • 303
  • 2
  • 9
0
votes
1 answer

How to format the file path in an MLTable for Azure Machine Learning uploaded during a pipeline job?

How is the path to a (.csv) file to be expressed in a MLTable file that is created in a local folder but then uploaded as part of a pipline job? I'm following the Jupyter notebook automl-forecasting-task-energy-demand-advance from the…
0
votes
1 answer

How to get files under Code tab in a job using AzureML python SDK

I'm trying to access the files/artifacts located in the code tab under an AzureML job. When using the azureml.core.run.Run class, the only methods suitable could be get_file_names() and download_files but they only list files under the Outputs +…
0
votes
2 answers

Cannot install azureml-sdk on Mac M1

I'm trying to install azureml-sdk on a Mac M1 with Python 3.9.15 and facing the following problems: When I pip install azureml-sdk, it installs an old version (azureml==1.0.23) If I run: from azureml.core import Workspace ws =…
Ariel
  • 1
  • 1
0
votes
0 answers

Azure Machine Learning Execute Pipeline Configuration to pass input data

I would like to create a Synapse Pipeline for batch inferencing with data ingestion to store the data into data lake and then use this as input to call a batch endpoint already created (through ML Execute Pipeline) Then, capture the output into the…
0
votes
1 answer

Azure SDK v2 MLTable reading delta does not appear

I am trying to use the Azure Machine Learning Python SDK V2 to run a project with. Step one is ingesting a Delta table. Looking at the docs, this seems like a standard part of the SDK: you create an in-memory MLTable artefact, then can interact with…
0
votes
0 answers

Train Yolov5 on Azure

I'd like to train a Yolov5 model as an Azure ML job (Python SDK v2). Ideally, I'd like to track all metrics during training with MLFlow, so that I could compare the runs in the native Azure ML workspace. What's the best way to do this? I only know…
karu
  • 465
  • 3
  • 12
0
votes
1 answer

Is there a way to bypass key/token-authentication in ManagedOnlineEndpoint (SDK-v2)?

According to SDK-v2's ManagedOnlineEndpoint documentation, auth_mode must be provided thru key or aml_token. This means, once the endpoint is deployed, we need to include the api key or token when we send POST requests to the API. I'm wondering if…
0
votes
1 answer

Error when registering a csv file as an mltable on Azure ML: "A well-defined MLTable file was not found at the root of the selected folder."

I have a csv file and I need to register it as an mltable dataset on AzureML by uploading a local folder. I can't seem to set the MLTable file correctly though, and I get the following error: "A well-defined MLTable file was not found at the root of…
9879ypxkj
  • 387
  • 5
  • 15
0
votes
1 answer

Azureml - Why my environment image build status is always "already exists"

I'm using custom Dockerfile to create environment for Azure machine learning. However everytime I run my code, I always get back "already exists" on the UI for my environment. I didn't find much documentation on this status which is why I'm asking…
0
votes
0 answers

Azure ML Python SDK v2 query Azure SQL database

How do I query an Azure SQL database using Azure ML SDK v2? Using SDK v1 I would do: from azureml.core import Dataset, Workspace, Datastore from azureml.data.datapath import DataPath ws = Workspace.from_config() datastore = Datastore.get(ws,…
Kjetil Haukås
  • 374
  • 1
  • 11
0
votes
1 answer

can you download azureml models registred in a workspace to a local folder?

I want to download all model pickle files which are registered in azureml workspace to a local folder. is this possible? using python only don't want to manually download each pickle file using ui