-
Notifications
You must be signed in to change notification settings - Fork 124
environments component
github-actions[bot] edited this page Nov 7, 2024
·
2 revisions
An environment for built-in component that can dynamically evaluate python expression for 1P request feature.
Version: 53
OS : Ubuntu22.04
Python : 3.9
View in Studio: https://ml.azure.com/registries/azureml/environments/component/version/53
Docker image: mcr.microsoft.com/azureml/curated/component:53
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:20241020.v1
WORKDIR /
ENV CONDA_PREFIX=/azureml-envs/component-sdk
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