Questions tagged [azureml-python-sdk]

188 questions
1
vote
0 answers

ClientAuthenticationError when trying to upload a registered component to Azure ML using Python Azure ML SDK v2

Would appreciate any help resolving the following issue, and if anyone knows a way to import a model from Azure Model Reigstry into Azure ML Pipelines. I'm using the latest version of Azure ML SDK v2 and trying to upload a component to my workplace.…
1
vote
2 answers

azureml inference config how to call yaml file

how do I pass a yaml file to inference config? the yaml file is in the same source directory as my score.py file my yaml script is called score_env.yaml name: inference_environment dependencies: - python=3.8.1 - pip: - azureml-defaults - numpy -…
1
vote
1 answer

AzureML: msrest.serialization:Ran into a deserialization error following AutoMLStep run

I am running an automated ML training notebook which is basically replicating a MS tutorial notebook…
1
vote
1 answer

pass extra file argument to azureml inference config class

Currently crating inf_conf from entry script (score.py) and environment however, I have a json file that i also want to include in this. Is there a way i can do this? I have seen source_directory argument but json file is not in the same folder as…
1
vote
1 answer

auto-ml-forecasting-many-models retrieve training results

I'm following the Python SDK tutorial for training many models: Here a link to the notebook So everything is working fine, but now I'm interested in the training results. When I check the Azure ML Studio I can see the pipeline steps as followed:…
1
vote
0 answers

AzureML Python SDK OutputFileDatasetConfig and Datastore

I am new to Azure and dealing with all these paths is proving to be extremely challenging. I am trying to create a pipeline that contains a dataprep.py step and an AutoML step. What i want to do is (after passing the input to the dataprep block and…
Mavil
  • 85
  • 7
1
vote
1 answer

azureml register datastore file share or blob storage

I have a folder called data with a bunch of csvs (about 80), file sizes are fairly small. This data is clean and has already been preprocessed. I want to upload this data folder and register as a datastore in azureml. Which would be best for this…
1
vote
0 answers

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', datastore_name='store-identifier', …
frictionlesspulley
  • 11,070
  • 14
  • 66
  • 115
1
vote
1 answer

Why Azureml studio handles the pip packages and conda packages to create environments and not only one?

I'm following the azure path for the dp-100 certification and notice that to create an environment some packages are installed with conda and others with pip: # Ensure the required packages are installed packages =…
Luis Ramon Ramirez Rodriguez
  • 9,591
  • 27
  • 102
  • 181
1
vote
0 answers

Is there any limitations for runs per users in Azure ML experiments?

I and my team members are working on a machine learning project through the Azure ML portal. We have created a specific experiment in our workspace in Azure ML and are submitting our Python script runs from our local or remote machines in this…
1
vote
1 answer

Python AzureML Hello world - Can't find module azureml

Python 3.10, Pip install azureml-sdk 1.39.0. Environments: Win10 PS, VS2022, and a docker image- all same results . Pip show shows the azureml-core package. Simple (I thought) script, but it can't find "azureml.core" No module named azureml is the…
1
vote
1 answer

AzureML: TabularDataset.to_pandas_dataframe() hangs when parquet file is empty

I have created a Tabular Dataset using Azure ML python API. Data under question is a bunch of parquet files (~10K parquet files each of size of 330 KB) residing in Azure Data Lake Gen 2 spread across multiple partitions. When I try to load the…
Arnab Biswas
  • 4,495
  • 3
  • 42
  • 60
1
vote
2 answers

Azure ML File Dataset mount() is slow & downloads data twice

I have created a Fie Dataset using Azure ML python API. Data under question is bunch of parquet files (~10K parquet files each of size of 330 KB) residing in Azure Data Lake Gen 2 spread across multiple partitions. Then, I tried to mount the dataset…
1
vote
1 answer

Azureml ignore environment variables in condas env.yml

I am configuring an Environment in azureml based on a conda enviroment file. The azureml environment seems to be ignoring the enviromnet variables however. from azureml.core import Environment from azureml.core.conda_dependencies import…
VegardKT
  • 1,226
  • 10
  • 21
1
vote
2 answers

Why is env different in an Azure ML notbook and an Azure ML terminal?

I'm using MS Azure ML and have found that when I start a Notebook (from the Azure ML Studio) it is executing in a a different environment than if I create a Python script and run it from the studio. I want to be able to create a specific environment…