nv-embed-esco / Dockerfile
Michał Paliński
Add eval+train pipeline with benchmark data
c1ca06d
raw
history blame contribute delete
404 Bytes
FROM pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
rm -rf /var/lib/apt/lists/*
ENV HF_HOME=/tmp/hf_home
ENV TRANSFORMERS_CACHE=/tmp/hf_home
ENV TORCH_HOME=/tmp/torch_home
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY data/ data/
COPY run.py .
CMD ["python", "run.py"]