forked from longtao.wu/droboticflow
25 lines
1.0 KiB
Docker
25 lines
1.0 KiB
Docker
# Generated by scripts/generate_operator_images.py. Do not edit by hand.
|
|
FROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime
|
|
|
|
WORKDIR /app
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
PYTHONPATH=/app \
|
|
USER=droboticflow \
|
|
LOGNAME=droboticflow \
|
|
HOME=/tmp/droboticflow-home
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
ffmpeg \
|
|
git \
|
|
libglib2.0-0 \
|
|
libgl1 \
|
|
linux-libc-dev \
|
|
python3-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN printf 'torch==2.6.0\ntorchvision==0.21.0\n' > /tmp/gpu-constraints.txt
|
|
RUN python -m pip install --no-cache-dir -c /tmp/gpu-constraints.txt transformers accelerate safetensors nvidia-ml-py
|
|
RUN python -m pip install --no-cache-dir -c /tmp/gpu-constraints.txt lerobot peft draccus wandb hydra-core omegaconf zarr numcodecs dill einops diffusers
|
|
RUN git clone --depth=1 https://github.com/openvla/openvla.git /opt/openvla && git clone --depth=1 https://github.com/real-stanford/diffusion_policy.git /opt/diffusion_policy
|
|
RUN mkdir -p /tmp/droboticflow-home /workspace /outputs
|