-
Notifications
You must be signed in to change notification settings - Fork 126
environments mldesigner minimal
github-actions[bot] edited this page Nov 13, 2024
·
57 revisions
CPU based environment for pipelines (ML Designer) minimal version.
Version: 31
OS : Ubuntu20.04
Python : 3.9
View in Studio: https://ml.azure.com/registries/azureml/environments/mldesigner-minimal/version/31
Docker image: mcr.microsoft.com/azureml/curated/mldesigner-minimal:31
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:20241111.v1
WORKDIR /
ENV CONDA_PREFIX=/azureml-envs/mldesigner-minimal
ENV CONDA_DEFAULT_ENV=$CONDA_PREFIX
ENV PATH=$CONDA_PREFIX/bin:$PATH
# This is needed for mpi to locate libpython
ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
# Create conda environment
COPY conda_dependencies.yaml .
RUN conda env create -p $CONDA_PREFIX -f conda_dependencies.yaml -q && \
rm conda_dependencies.yaml && \
conda run -p $CONDA_PREFIX pip cache purge && \
conda clean -a -y