Questions tagged [azureml-python-sdk]
188 questions
1
vote
1 answer
How to set environment variables in pipelines in Azure ML SDK v2 with jobs.create_or_update()?
I am changing some of our code from Azure ML's SDK v1 to v2.
However, when I invoke pipelines with components via ml_client.jobs.create_or_update, I just can't get them to use my environment variables. Here is what I am…

DoubleSteakHouse
- 93
- 4
1
vote
1 answer
Authentication unavailable when i load data_asset with MLTABLE in Azure ML SDK Python2
credential = DeviceCodeCredential()
ml_client = MLClient(credential,
auth_subscription_id,
auth_resource_group,
auth_workspace_name
…

Paweł
- 61
- 4
1
vote
2 answers
How can I save an Azure ML sklearn model to a specific blob storage container?
Saving an sklearn model to blob storage from AzureML
Simply put, I have a sklearn model in Azure ML. I want to write the model to a specific blob storage container to save it. I've already authenticated the connection to the right blob container.…

Mary
- 11
- 1
1
vote
1 answer
How to pass the datastore URI to azureml.fsspec.AzureMachineLearningFileSystem Python SDK?
I have registered a datastore which is an ADLS.
datastore = mlclient.datastores.get(ds_name)
from azureml.fsspec import…

TheHumanSpider
- 63
- 2
- 9
1
vote
1 answer
AttributeError in Azure ML: 'Logger' object has no attribute 'activity_info' during Dataset Registration
I am trying to register a dataset in Azure Machine Learning using the Python SDK. Here is the code that I have used:
from azureml.core import Dataset
testdata = Dataset.Tabular.from_delimited_files(default_store.path('test/prep.csv'))
testdata
The…

SDXT
- 11
- 1
1
vote
1 answer
AzureML Cannot create a deployment in endpoint p2b-sample-endpoint because it is in Creating provisioning state
online_endpoint_name = "p2b-sample-endpoint"
# create an online endpoint
endpoint = ManagedOnlineEndpoint(
name=online_endpoint_name,
description="this is a sample online endpoint",
auth_mode="key",
tags={"foo":…

Kaushik J
- 962
- 7
- 17
1
vote
1 answer
Resubmitting AzureML training pipeline with new training data
I am following the tutorial at https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-pipeline-python-sdk to create a training pipeline. Instead of using a file from a web path, I am using a CSV saved at the same location as notebook.…

amit.s
- 31
- 2
1
vote
1 answer
Azureml SDK v2 The provided asset name will not be used for anonymous registration
I am trying to create an environment using AzureML SDK v2 and it throws Warning/Error as follows:
##[error]Warning: the provided asset name 'my_environment_name' will not be used for anonymous registration
This breaks my Azure Devops Pipeline, and…

Eddmik
- 155
- 7
1
vote
1 answer
Pass a partitioned TabularDataset into ParallelRunStep with azureml sdkv1
Trying to pass a partitioned TabularDataset into a ParallelRunStep as input, but getting the error and can't figure out why azureml ParallelRunStep can't recognize the partitioned dataset:
UserInputNotPartitionedByGivenKeys: The input dataset…

geominded
- 201
- 2
- 10
1
vote
1 answer
Register Sentencetransformer model on Azure ML
Basically title. The Azure documentation for v2 is constantly getting updated, and as of now i have no resource to find out how you can register a pre-trained model from SentenceTransformers on AzureML for future use in endpoints. The library is…

Mase
- 85
- 2
- 11
1
vote
2 answers
Data asset inside Azure ML workspace
1: I created a datastore using azure blob Storage and I selected the table which is in parquet format now i am using that table while data assets creation.
2: I am able to create a dataframe of that data asset but..
Can I perform query operation on…

Chandrabhanu
- 11
- 1
1
vote
2 answers
Encountered an internal AutoML error- ClientException: Message: No objects to concatenate
I am trying to implement Hierarchical time series forecasting on azureautoml pipelines.
I followed this notebook for…

Arun P
- 110
- 1
- 8
1
vote
1 answer
Azure ML Studio Pipeline is run under Service Principle
I have a draft pipeline created inside the azure machine learning service workspace (Designer Mode). I try to run pipeline from python using Python Azure ML SDK. It starts but quickly fails on the second step.
Trace from step:
Traceback (most recent…

Roman Weisert
- 11
- 1
1
vote
3 answers
Azure ML - Can not list/load registered Datasets via Python SDK
I'm quite new to Azure ML and Python. I created some datasets using both the Azure ML GUI and the Python SDK:
Now I want to load these datasets in a Pandas Dataframe. But when I run
Dataset.get_all(workspace=workspace)
I got an empty list.
Do I…

user20450365
- 11
- 1
1
vote
1 answer
Azure ML Pipeline Glob patterns inside the path are not supported by the volume mount
I'm trying to run an Azure ML pipeline using the Azure ML Python SDKv2. The input to the pipeline is a Data asset whose Data source is the default blob store. Its path is azureml:raw_data_v2:1 and it is of type URI_FOLDER. I'm getting the following…

gary69
- 3,620
- 6
- 36
- 50