FROM huggingface/trl-latest-gpu:latest
RUN apt-get update && apt-get install -y \
wget \
curl \
build-essential \
git \
unzip
# libopenmpi-dev \
# openmpi-bin \
ARG CACHE_BUST=unknown
RUN pip install wandb deepspeed qwen-vl-utils torchvision pyav
# mpi4py
RUN mkdir -p /workspace/output
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip aws
RUN wget https://storage.googleapis.com/orign/releases/latest/orign-latest-linux-amd64.tar.gz && \
tar -xvzf orign-latest-linux-amd64.tar.gz && \
chmod +x orign && \
./orign --version || exit 1