AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 80501-81000
39805cd verified
Raw History Blame Contribute Delete
798 Bytes
FROM python:3.12-slim-bookworm
WORKDIR /workspace
RUN python -m pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu torch==2.11.0+cpu numpy==2.5.3 pillow==12.3.0 packaging==26.3 setuptools==78.1.0 wheel==0.48.0 filelock==3.32.6 regex==2026.9.10 requests==2.34.2 tqdm==4.70.1 safetensors==0.8.0 fsspec==2026.7.0 PyYAML==6.0.3 typing-extensions==4.16.0 hf-xet==1.6.0 huggingface-hub==0.36.2 tokenizers==0.22.2 transformers==4.57.6 httpx==0.28.1 parameterized==0.9.0 pytest==8.4.2 pytest-timeout==2.4.0
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