question

KanyanLawrence-5964 avatar image
2 Votes"
KanyanLawrence-5964 asked ManojReddyMuthireddy-2594 edited

Conda environment locked by another AzureML job

I tried to run an experiments. There was an error in my first submit and the run did not go through. However, a lock has been created which is preventing me from submitting further runs. I am getting the following error.

"The conda environment is currently locked by another AzureML job. Further job submission will wait until the other process finishes. If there are no other jobs running, please delete /home/azureuser/.azureml/locks/azureml_conda_lock"

I tried to use:
az ml run cancel -r exp_id

in CLI. However, this gives me an error:
Error, default experiment not set and experiment name parameter not provided.\nPlease provide a value for the experiment name parameter.

azure-machine-learning
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am going through the Introduction to the Azure Machine Learning SDK module on Microsoft learn. I have the same issue while running the experiments.
"The conda environment is currently locked by another AzureML job. Further job submission will wait until the other process finishes. If there are no other jobs running, please delete /home/azureuser/.azureml/locks/azureml_conda_lock"



1 Vote 1 ·
PranavGupta-5639 avatar image PranavGupta-5639 ManojReddyMuthireddy-2594 ·

did you get a solution for it??????

0 Votes 0 ·

u get a solution for it??

0 Votes 0 ·

Through the terminal on Azure Computing instance, navigate to /home/azureuser/.azureml/locks/ and delete azureml_conda_lock folder.


1 Vote 1 ·

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered PranavGupta-5639 commented

@KanyanLawrence-5964 Thanks for the question. Could you please add more details about the steps/link to the code that you are trying.
Here is the doc to configure and submit training runs.
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-set-up-training-targets#persistent

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

please provide clear instructions to help

0 Votes 0 ·