Questions tagged [azureml-python-sdk]
The azureml-python-sdk tag has no usage guidance.
azureml-python-sdk
217
questions
0
votes
1
answer
176
views
How to modify azureml python sdk v2 to serve custom use cases?
I want to modify azureml.data.dataset_factory.register_pandas_dataframe() for my use case so it returns relative_path_with_guid in addition to the registered_dataset by default.
The default azureml....
2
votes
1
answer
737
views
Azure Machine Learning Service writing to AzureDataLakeGen2Datastore
I registered an azure storage account gen2 where datalake filesystem enabled as a datastore as
_ = Datastore.register_azure_data_lake_gen2(workspace='xxx',
...
0
votes
1
answer
67
views
Load Registered Component in Azure ML for Pipeline using Python sdk v2
I'm working in Azure Machine Learning Studio to create components that I will run together in a pipeline. In this basic example, I have a single python script and a single yml file that make up my ...
1
vote
0
answers
54
views
Azureml studio Unable to start connection test getting ValidationError: Required metadata property ContainerName is missing
In Azureml studio i go into service connection and try to test the connection using Microsoft Entra but getting " Required metadata property ContainerName is missing."
however when i go ...
0
votes
1
answer
84
views
How to set resources in pipeline component in Azure machine learning sdk v2?
I'm creating a pipeline that scores images using a custom pytorch unet. Assume I registered my model and now I'm creating that pipeline. I'm running into a OOM issue due to Azure setting the docker ...
0
votes
0
answers
48
views
AzureML SDKV2 - ml_client job stream error - Unauthorized
I have a aml pipeline that uses azureml sdkv2. I submit the pipeline as:
def get_chained_credentials(client_id: str):
try:
managed_identity_creds = ManagedIdentityCredential(client_id=...
0
votes
1
answer
98
views
AzureML command job: 'Your file exceeds 100 MB.'
I am trying to submit a job to AzureML using Python SDK V2.
I am developing locally on VSCode.
As my repository grew over time, I now get the message when submitting the job:
Your file exceeds 100 MB....
1
vote
0
answers
164
views
Connection Default_AzureOpenAI not found Azure AI Studio
**Update: It's a shame Microsoft set a redirect of the tutorial I was using for this Stackoverflow question and the tutorial is now lost and replaced without it being the same tutorial or code. If ...
0
votes
1
answer
201
views
Azure deployment error "TypeError: metaclass conflict" when importing tensorflow (1.13.1) in project code
Any help fixing the problem would be greatly appreciated.
I am trying to deploy an old CNN model (MRCNN), last deployed in December 2020, on Azure ML studio using the Python SDK V2. After a successful ...
0
votes
1
answer
107
views
error when trying to create a scheduled job in azure ml
im getting this error when submitting a scheduled pipeline,
Failed to submit job due to Exception: Response status code does not indicate success: 400 (Exception(s) encountered while validating ...
3
votes
3
answers
3k
views
Retrieving current job for Azure ML v2
Using the v2 Azure ML Python SDK (azure-ai-ml) how do I get an instance of the currently running job?
In v1 (azureml-core) I would do:
from azureml.core import Run
run = Run.get_context()
if ...
0
votes
1
answer
329
views
Azure ML custom command component - how to use a custom image
All examples that I have seen of the use of the command_component decorator to create custom components in Azure ML pipelines use an image from Microsoft's container registry, as seen in this ...
0
votes
1
answer
126
views
Azure Machine Learning dataset creation hangs forever
I'm trying to create a Dataset from a datastore using Azure ML, however, the execution hangs forever and never finishes.
This is the code I'm running which I've adapted from the Msft documentation:
...
0
votes
1
answer
90
views
What is the best way to containarise model using Azure ML Pipeline
We are migrating from Azure ML Python SDK V1 to V2.
I have a requirement to train a model, containerize using a custom Dockerfile, and push it to a container registry.
Previously with V1 SDK, I used ...
0
votes
1
answer
209
views
Azure ML Pipeline: Specify input-path on compute
I got a python script which shall be executed as an Azure ML pipeline step. This script expects to find several file-sets in a certain tree structure e.g.
data/
├─ project_A/
│ ├─ data.csv
│ ├─ ...