pacman1337 commited on
Commit
3926564
·
verified ·
1 Parent(s): eb20c01

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -14
Dockerfile CHANGED
@@ -1,20 +1,9 @@
1
- FROM pytorch/pytorch:2.4.0-cuda12.1-cudnn9-devel
2
-
3
- ENV DEBIAN_FRONTEND=noninteractive
4
-
5
- RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
6
 
7
  WORKDIR /app
8
 
9
- # Install dependencies (no flash-attn, use sdpa instead)
10
- RUN pip install --no-cache-dir \
11
- transformers>=4.46.0 \
12
- datasets>=3.0.0 \
13
- peft>=0.13.0 \
14
- trl>=0.12.0 \
15
- bitsandbytes>=0.44.0 \
16
- accelerate>=1.0.0 \
17
- huggingface_hub>=0.26.0
18
 
19
  COPY train.py /app/train.py
20
 
 
1
+ FROM unsloth/unsloth:latest
 
 
 
 
2
 
3
  WORKDIR /app
4
 
5
+ # Additional deps
6
+ RUN pip install --no-cache-dir einops jaxtyping
 
 
 
 
 
 
 
7
 
8
  COPY train.py /app/train.py
9