environments acft hf nlp data import - Azure/azureml-assets GitHub Wiki
Environment used by Hugging Face NLP Finetune components
Version: 8
Preview
MaaS
DataImport
View in Studio: https://ml.azure.com/registries/azureml/environments/acft-hf-nlp-data-import/version/8
Docker image: mcr.microsoft.com/azureml/curated/acft-hf-nlp-data-import:8
# openmpi image
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:20241215.v1
USER root
# sudo is expected by Singularity inside the image
RUN apt-get update && ACCEPT_EULA=Y apt-get -y upgrade && apt-get install sudo
RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir
# temp fix for vulnerabilties, remove after pypi release
RUN pip install scikit-learn==1.5.1
# The below file is required for baking the code into the environment
COPY data_import_run.py /azureml/data_import/run.py