AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 60001-60500
b4100d4 verified
Raw History Blame Contribute Delete
775 Bytes
FROM python:3.12-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 packaging==26.3 parameterized==0.9.0 pillow==12.3.0 pytest==8.4.2 setuptools==78.1.0 wheel==0.48.0 requests==2.34.2 requests-mock==1.12.1 filelock==3.32.6 huggingface-hub==0.36.2 regex==2024.11.6 safetensors==0.8.0 httpx==0.28.1 transformers==4.57.6 tokenizers==0.22.2 accelerate==1.15.0 scipy==1.16.3 ligo-segments==1.4.0 six==1.17.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