Questions tagged [azureml-python-sdk]
The azureml-python-sdk tag has no usage guidance.
azureml-python-sdk
217
questions
0
votes
1
answer
431
views
how to load a registered model in azureml to a azure function app?
I am migrating to Azure function app for model inference from using Azure container instance deployment. The code below shows how I was loading the model in score.py
import json
import pandas as pd
...
0
votes
0
answers
113
views
Azure ML Pipelines user_identity on parallel job
I'm using a user_identity to read data from Azure Data Lake. I'm saving the data to a datastore. Then I want to use the datastore for my parallel job, but I keep running into this error:
Please ...
0
votes
1
answer
981
views
Azure Machine Learning SDK V1 migration to V2 Pipeline Steps
I am trying to migrate Pipelines from Azure Machine Learning SDK V1 to V2, but sometimes I don't understand the logic behind the V2 and I get stuck.
In V1, I just had to create PythonScriptStep and ...
1
vote
1
answer
1k
views
How to download a data asset from Azure registry
As the question in title
I can use azure.ai.ml.MLClient to connect with an azure registry.
In this registry, there is a data asset (container) named as train, and there are a few jsonl files saved in ...
0
votes
2
answers
532
views
unable to import azureml in vscode
I've installed python 3.8, from vscode terminal I created an env and seem to have successfully installed azureml as below:
C:\Python38\python.exe -m venv tempml
tempml\scripts\activate
pip install ...
0
votes
0
answers
113
views
Cancel run in azureml sdk2
I'm using azureml sdk2 and I want to add execution cancel condition to my code but I don't know how to do it?
from azure.ai.ml import MLClient
ml_client = MLClient(
credential=credential,
...
0
votes
1
answer
362
views
build and deploy docker container to build fast api app on Azure web app
I am currently testing a small project and developing within the Azure ML notebook environemnt. Due to the confidential issue, I have to test within the Azure. I have a python script that I would like ...
1
vote
1
answer
492
views
Azure ml Studio Object Detection jupyter: Error to access the mltable for training the model
I am new with azure machine learning and I am still learnning. There is a file named annotations.jsonl saved in the subfolder "image-frames/dados_treinamento" inside the container "...
0
votes
0
answers
147
views
Use Azure ML Environment from Share ML Registry with Python SDK
We have created an environment in azure ML shared registry. The environment was built into the registry. Here is what it looks like:
A DevOps pipeline creates this environment:
az ml environment ...
0
votes
1
answer
323
views
How do you dynamically change the asset input in a pipeline?
In AzureML, I have a pipeline that takes in a data asset. The pipeline is now published and I'd like to change that data asset. How do you do that? There don't seem to be docs for this, but from the ...
0
votes
1
answer
4k
views
How to load pdf files from Azure Blob Storage with LangChain PyPDFLoader
I currently trying to implement langchain functionality to talk with pdf documents.
I have a bunch of pdf files stored in Azure Blob Storage. I am trying to use langchain PyPDFLoader to load the pdf ...
0
votes
0
answers
141
views
AzureML SDK v2 list compute error AttributeError: 'Databricks' object has no attribute 'tags'
I am using AzureML SDK v2. I run the following code
ml_ws_client = MLClient(credential=credential,subscription_id=subscription_id, resource_group_name=resource_group, workspace_name=ws_name)
for ...
1
vote
0
answers
233
views
HTTP Error 409 while accessing registered dataset as a URI file (Azure SDKv2)
In Azure ML I'm trying to read data from the blob storage, register it as a URI File. This is needed to keep data versioning and at the same time to keep data lineage (sort of) because components ...
3
votes
3
answers
2k
views
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....
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....