Spaces:
Runtime error
Runtime error
File size: 587 Bytes
bf53f58 026ad4d 5977b18 3f25725 5977b18 bf53f58 440ca06 bf53f58 440ca06 bf53f58 440ca06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
# Install core Python packages ONLY - no IPEX, no OpenVINO
RUN pip install --no-cache-dir \
torch \
transformers \
accelerate \
trl \
datasets \
huggingface_hub \
bitsandbytes
# Note: NO peft - we're testing without LoRA!
# Copy training script
COPY train_arithmetic_v9_no_lora.py .
# Set HF token from secret
ENV HF_TOKEN=${HF_TOKEN}
# Run training
CMD ["python", "train_arithmetic_v9_no_lora.py"]
|