1,964
questions
0
votes
0
answers
13
views
How to use predict_proba with AzureML batch endpoint within invoke method, whilst using URI folder URL as the data?
I have a AutoML generated binary classification model deployed to a batch endpoint. I can successfully invoke the model using the below code to output a file that contains a binary prediction (1|0).
# ...
1
vote
0
answers
18
views
How to stop my Azure Machine Learning Batch Jobs registering anonymous data assets in workspace
I am successfully using Azure Machine Learning Batch job as part of an ETL process.
However, an issue I have is that each etl run ends up registering an anonymous data asset to the workspace.
We are ...
1
vote
1
answer
20
views
When I will upload the CSV data in blob storage how can my azure ML notebook will get retrained
I am working on a project where I will upload the data in blob storage in azure then my azure machine learning notebook will get restrained and give the updated.pkl file.
I need the solution for the ...
0
votes
1
answer
33
views
How to pass environment variables for a AzureML pipeline job using python sdk v2?
I am following the example from this link: https://github.com/Azure/azureml-examples/blob/main/sdk/python/jobs/pipelines/1a_pipeline_with_components_from_yaml/pipeline_with_components_from_yaml.ipynb
...
-1
votes
1
answer
34
views
Azure ML Studio permission denied on data asset
I created a dataasset using the python azure API using the code below. The pattern is as following:
wasbs://<container-name>@<account name>.blob.core.windows.net/<folder>/*.csv
...
1
vote
0
answers
25
views
Azure AI Fine-Tuned Model Hosting: Cold Start Time When Starting and Stopping on Request?
I'm considering using Azure AI services to host a fine-tuned model and noticed that there's an hourly cost associated with hosting. To manage expenses, I'm wondering if it's possible to start the ...
0
votes
0
answers
50
views
Error loading workspace in Azure Machine Learning Studio
error:
Error loading workspace
Your request for data was not sent. Here are some things to try: Check your network and internet connection, make sure a proxy server is not blocking your connection, ...
0
votes
0
answers
34
views
Optimize conda dependencies from Azure Machine Learning AutoML Model
I have trained an Object Detection Instance Segmentation Model using Azure Machine Learning Studio and AutoML. The resulting model is of type ML-Flow.
When i download the model, the conda.yaml ...
-1
votes
1
answer
41
views
Azure ML Query- No web service input generated and void input data schema during subsequent endpoint generation
I am trying to create real-time inference pipeline in azure ml , following all straight forward steps, but I am unable to generate the web service input . only web service output is generated.
Further,...
0
votes
1
answer
100
views
ModuleNotFoundError: No module named 'azure.keyvault' - Azure pipeline run
I am trying to run few ML scripts using Azure pipeline on Azure ML studio. I have created a new ML environment with all the required dependencies as well but am facing a issue as below.
...
0
votes
0
answers
29
views
How to automate model training on Azure for Machine Learning Models created with ModelBuilder
We created several Machine Learning Models with Visual Studio Model Builder because it was very easy to use.
Certain types of models (e.g. object detection) can only be trained on Azure to produce a ...
0
votes
0
answers
33
views
"Connection failed" to Azure ML in Fabric Data Pipeline
When I try to establish a connection with Azure ML from a Fabric Data Pipeline, I get an error saying:
Request sent to Azure ML Service for operation 'validateWorkspace' failed with http status code '...
1
vote
0
answers
26
views
Azure ML Prompt Flow Creation and Cloning Failed
Creating or cloning prompt flow both result in the following error - "This request is not authorized to perform this operation". However, I have both the "contributor" and "...
1
vote
1
answer
40
views
Concurrency on Azure VM for ML Endpoint
I am currently working on deploying an Azure ML endpoint and facing an issue with achieving parallel execution. Below is the code snippet I am using:
def create_online_deployment(self, ml_client, ...
0
votes
1
answer
88
views
How to Output and Deploy Multiple Artifacts from Best Child in Sweep Job Component?
I am building a pipeline composed of 6 components using Azure Machine Learning SDK2 Python, and I am currently working on the 4 component.
In my script, I created a Sweep Job to hyper-tune my model, ...
0
votes
1
answer
136
views
Azure Machine Learning - error trying to view uploaded data in tutorial
I have been trying to follow the Azure Machine Learning tutorial at https://microsoftlearning.github.io/mslearn-ai-fundamentals/Instructions/Labs/01-machine-learning.html. I have followed the ...
0
votes
1
answer
27
views
Am I able to include the score.py file as an artifact?
I am trying to deploy a very simple model:
import mlflow
class FunctionModel(mlflow.pyfunc.PythonModel):
def load_context(self,context):
def rag_pipeline_function():
from ...
0
votes
0
answers
25
views
Azure Machine Learning Studio integration with rocker Rstudio: Git tab is not appearing for an Rproject set up with GitHub repository
I am running and Rproject with GitHub version control in Rstudio within a compute instance in Azure Machine Learning Studio. The Rproject was previously set up outside of Azure MLS and is running ...
0
votes
0
answers
56
views
Private Azure Machine Learning Workspace getting forbidden to reach private Storage Account for SAS
My Azure Machine learning workspace is configured with private endpoint , my aml is configured to a Storage account which is also configured private endpoint and disabled the public access, My Storage ...
0
votes
2
answers
72
views
Azure: there is no package called ‘dynlm’
Context:
I have uploaded the zip file of the proper package version related to the R version inside the src dir of the compute instance.
I have the following code:
# R version: 3.5.1
# The script MUST ...
0
votes
1
answer
93
views
How to authenticate blob storage data while running a job script on Azure Machine Learning
I'm not able to access my data in ADLS gen2 blob container when I try to run a python script for data preprocessing in Azure Machine Learning Workspace. I'm working on a ML pipeline but I cant seem to ...
-1
votes
1
answer
83
views
How to create Azure ML Registry using Terraform?
How do I create Azure ML registry using terraform? I see we have a way to create Azure ML workspace (azurerm_machine_learning_workspace) and ACR as well. But I don't see a way to explicitly create ML ...
0
votes
1
answer
42
views
Difference between batch size and train batch size and validation batch size
The finetuning job creation required us to specify the values for these three kinds of batch sizes in the Azure ML Studio but I do not understand why we are specifying the batch size initially if we ...
0
votes
1
answer
49
views
Alternative to Azure Personalizer AI service
Azure Personalizer will be retired on 1st October 2026.
We use this service on our website to power a "Recommended articles" section.
The Rank & Rewards APIs are used to train the ML ...
0
votes
1
answer
122
views
Load a Registered Model in Azure ML Studio in an Interactive Notebook
I'm using Azure Machine Learning Studio and I have an sklearn mlflow model stored in my default datastore (blob storage) which I have then registered as a model asset. How can I load this model inside ...
-1
votes
1
answer
126
views
How to prepare data for batch-inference in Azure ML?
The data format (.csv) that I am using for inferencing produces the error :
"each data point should be a conversation array" when running the batch scoring job. All the documentations ...
0
votes
1
answer
39
views
How can I install python and pip via conda without internet access during environment creation in AzureML?
I need to create an environment in AzureML, however there is no public internet access configured in the network settings of my workspace. I can access my Python packages locally on a storage account ...
1
vote
0
answers
64
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 ...
1
vote
1
answer
197
views
Connecting VSCode Desktop (Locally) to Azure Studio Compute Instance through Azure Machine Learning Extension - New
I have been combing the internet for this for a long long time, so your help is very very much appreciated,
I am trying to connect to an Azure Studio Compute Instance through VSCode Desktop and its ...
0
votes
0
answers
66
views
Connecting VSCode Desktop (Locally) to Azure Studio Compute Instance through Azure Machine Learning Extension
I am trying to connect to an Azure Studio Compute Instance through VSCode Desktop and its associated Azure Machine Learning VSCode extension.
Context:
While developing in Azure Studio ML Compute ...
0
votes
1
answer
138
views
Azure API Create Serverless Endpoint Not Working
I am trying to create a Serverless Endpoint as outlined in the documentation here.
I tried both the API version 2024-04-01 and 2024-04-01-preview without success. I can create this resource without ...
1
vote
1
answer
122
views
Control where Source Code for Azure ML Command gets Uploaded
I'm working in a notebook in Azure Machine Learning Studio and I'm using the following code block to instantiate a job using the command function.
from azure.ai.ml import command, Input, Output
from ...
0
votes
2
answers
411
views
How can I access a OneLake in Fabric from Azure Machine Learning?
As Azure Machine Learning has more maturity compared to Synapse Data Science from Fabric that I recently been using, I wanted to know:
If there is a way to access OneLake data (Files or Tables) from ...
0
votes
1
answer
185
views
"requests.exceptions.HTTPError: 400 Client Error: BadRequest for url" when querying an Azure Data Explorer table
I am running a Python script from the Azure Machine Learning (AML) environment. This script queries data from an Azure Data Explorer (ADX) table, using the Kusto Query Language (KQL).
Here is an ...
0
votes
1
answer
66
views
Bicep Azure Machine learning custom role assignment
List of role assignments:
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-assign-roles?view=azureml-api-2&tabs=team-lead
i want to implement a Data Scientist Custom role. how can i ...
0
votes
1
answer
184
views
Unable to access azureml datastore
full error "Unable to access data because you do not have 'Microsoft.MachineLearningServices/workspaces/datastores/listsecrets/action' permission in your role assignment for this workspace. ...
0
votes
1
answer
165
views
How can I avoid unbalanced memory usage when performing multi-gpu training using Huggingface Trainer?
I am attempting to fine-tune Google's flan-t5-large model (only 783M parameters, so it can easily fit on a much smaller single GPU than any of the ones I'm using) on multiple GPUs using the ...
0
votes
1
answer
77
views
AzureML: 'OSError: No space left on device'
I am training a computer vision model using AzureML.
After struggling to submit a Job via the Python SDK, I followed the idea of this answer by uploading the code directly into the blob, in my case ...
0
votes
1
answer
288
views
Access individual files in a folder data asset in azure machine learning
I have a data asset in azure machine learning.
This is of type folder and the folder contains 4 different files with different schemas.
when I consume this data asset in the azure ML notebook, it ...
0
votes
1
answer
440
views
Write data directly to blob storage from an Azure Machine Learning Studio notebook
I'm working on some interactive development in an Azure Machine Learning notebook and I'd like to save some data directly from a pandas DataFrame to a csv file in my default connected blob storage ...
0
votes
1
answer
156
views
Azure ML- How to register model from blob container?
i have pre-defined model and stored in a blob storage. Now i want to register model and deploy it and enable end point within Azure ML. I used below code
from azureml.core import Model
from azureml....
0
votes
1
answer
97
views
User XXX does not have access to compute instance YYY. Azure Machine Learning
I have some terraform where the Service Principal is Owner of the Subscription. And it can create a compute instance on AML. I assigne a user and the user can connect to it.
But when I create myself, ...
2
votes
1
answer
479
views
Unable to create an Azure Machine Learning Workspace using the CLI
I am currently trying to create an azure Machine Learning workspace with the CLI. I used the code:
az ml workspace create --name "rg-dp100-labs" --resource-group "rg-dp100-labs"
I ...
0
votes
0
answers
59
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
2
answers
139
views
In Azure AI. How to increase the timeout of the Job created to build a custom Dockerfile environment
When creating a Custom environment using a Dockerfile, a Job is created to build the environment. This job is created with a timeout of 1.5 hours and the build takes more than that. This leads to the ...
0
votes
1
answer
121
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
270
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
108
views
How to deploy an Model from the Model Catalogue in Azure ML Jobs/Pipelines
I am developing an Azure ML pipeline and want to use a model from the model catalogue. How can I do it without registering as a custom model and reference it directly?
I tried referencing the URI as ...
0
votes
0
answers
32
views
Error: In azure machine learning workspace autosuggestion only works for the first operation on the raw data, the serial operations don't work
Image of my workspace
Since all the modules are connected serially, I was expecting all the operations I'm doing on the data serially, one after the other. But the autosuggest doesn't work, which is ...
0
votes
1
answer
291
views
Azure Machine Leraning Compute Cluster User Assigned Identities
I'm having a hard time to understand how User assigned identity works on Compute Clusters on Compute Clusters.
Today, I have a Compute Instance with a User assigned identity that will connect to other ...