Skip to content

environments acft transformers image gpu

github-actions[bot] edited this page Jan 6, 2025 · 94 revisions

acft-transformers-image-gpu

Overview

Environment used by HuggingFace Transformers Image Finetune components

Version: 50

Tags

Preview

View in Studio: https://ml.azure.com/registries/azureml/environments/acft-transformers-image-gpu/version/50

Docker image: mcr.microsoft.com/azureml/curated/acft-transformers-image-gpu:50

Docker build context

Dockerfile

# PTCA image
FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204-cu118-py310-torch222:biweekly.202501.1

USER root
RUN apt-get -y update && apt-get install -y expat=2.4.7-1ubuntu0.5

# Install required packages from pypi
COPY requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir

# Vulnerability Fix
RUN pip install gunicorn==22.0.0
RUN pip install certifi==2024.07.04

# dummy number to change when needing to force rebuild without changing the definition: 2
Clone this wiki locally