MicrosoftLearning / mslearn-azure-ml

https://microsoftlearning.github.io/mslearn-azure-ml/
MIT License
188 stars 209 forks source link

Build fails for the custom environment with conda #58

Closed vishalmhjn closed 6 months ago

vishalmhjn commented 9 months ago

Module: Work with environments in Azure Machine Learning

Lab/Demo: 04

Task: Create and use a custom environment in Notebook

Step: Cell 10 and 11

Description of issue:

Building the custom image with conda takes takes forever and eventually times out with following build_log:

Collecting package metadata (repodata.json): ...working... 
done
Solving environment: ...working... 

Updating the Python version from 3.7 to 3.11 in step 10 (conda-env.yml) helps.

%%writefile src/conda-env.yml
name: basic-env-cpu
channels:
  - conda-forge
dependencies:
  - python=3.11
  - scikit-learn
  - pandas
  - numpy
  - matplotlib

Another observation is that jobs on compute clusters are being shown as "preparing" for little more than 10 minutes, which is kind of slow. I am not sure if this is normal in Azure.

suketunayak commented 8 months ago

Yes Custom Environment creation is going on more than 45 minutes still running....

image

Job is also in Preparing Status since more than 45 minutes

image