AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 72501-73000
4ad161c verified
Raw History Blame Contribute Delete
720 Bytes
FROM python:3.12-slim-bookworm
WORKDIR /workspace
RUN python -m pip install --no-cache-dir setuptools==78.1.0 wheel==0.48.0 numpy==2.5.3 packaging==26.3 psutil==7.2.2 pyyaml==6.0.3 tqdm==4.67.1 torch==2.11.0+cpu --extra-index-url https://download.pytorch.org/whl/cpu transformers==4.57.6 huggingface-hub==0.36.2 safetensors==0.8.0 accelerate==1.15.0 diffusers==0.33.1 pillow==12.3.0 parameterized==0.9.0 pytest==8.4.2 pytest-cov==7.1.0 datasets==4.4.2
COPY . /workspace
RUN python -m pip install --no-cache-dir --no-deps --no-build-isolation -e .
RUN rm -rf /workspace/.git /root/.cache/pip
ENV PYTHONDONTWRITEBYTECODE=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
ENV HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 HF_DATASETS_OFFLINE=1