File size: 370 Bytes
f0b954f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM nvidia/cuda:12.4.1-devel-ubuntu22.04

RUN apt-get update && apt-get install -y python3 python3-pip git && rm -rf /var/lib/apt/lists/*

RUN pip3 install --no-cache-dir \
    torch \
    transformers \
    trl \
    peft \
    datasets \
    accelerate \
    bitsandbytes \
    trackio \
    huggingface_hub

WORKDIR /app
COPY train.py .

CMD ["python3", "train.py"]