henribonamy's picture
Upload Dockerfile with huggingface_hub
766903e verified
raw
history blame contribute delete
336 Bytes
FROM pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime
RUN apt-get update && \
apt-get install -y stockfish && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements_space.txt .
RUN pip install --no-cache-dir -r requirements_space.txt
COPY train_hf.py .
COPY finetune_hf.py .
COPY src/ src/
CMD ["python", "train_hf.py"]