J Z commited on
Commit
10a6d6a
·
verified ·
1 Parent(s): 2ddc7b4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
@@ -23,10 +23,8 @@ WORKDIR /app
23
 
24
  # ---- HEAVY INSTALLS (cached unless dependencies change) ----
25
 
26
- # PyTorch (CUDA 11.8) - need >= 2.4 for SNAC's weight_norm
27
- RUN pip install --no-cache-dir \
28
- torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 \
29
- --index-url https://download.pytorch.org/whl/cu118
30
 
31
  # Clone FLOAT repo
32
  RUN git clone https://github.com/deepbrainai-research/float.git /app/float_repo
@@ -49,8 +47,7 @@ RUN python -c "from huggingface_hub import snapshot_download; \
49
  snapshot_download('hubertsiuzdak/snac_24khz')" \
50
  || echo 'WARNING: SNAC pre-download failed'
51
 
52
- # NOTE: Both Orpheus models (pretrained + finetuned) are GATED
53
- # They download at runtime using HF_TOKEN secret
54
  # Accept terms at: https://huggingface.co/canopylabs/orpheus-3b-0.1-pretrained
55
  # And optionally: https://huggingface.co/canopylabs/orpheus-3b-0.1-ft
56
 
 
1
+ FROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04
2
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
 
23
 
24
  # ---- HEAVY INSTALLS (cached unless dependencies change) ----
25
 
26
+ # vLLM 0.7.3 (installs compatible PyTorch 2.5.1+cu121 automatically)
27
+ RUN pip install --no-cache-dir vllm==0.7.3
 
 
28
 
29
  # Clone FLOAT repo
30
  RUN git clone https://github.com/deepbrainai-research/float.git /app/float_repo
 
47
  snapshot_download('hubertsiuzdak/snac_24khz')" \
48
  || echo 'WARNING: SNAC pre-download failed'
49
 
50
+ # NOTE: Both Orpheus models are GATED - download at runtime with HF_TOKEN
 
51
  # Accept terms at: https://huggingface.co/canopylabs/orpheus-3b-0.1-pretrained
52
  # And optionally: https://huggingface.co/canopylabs/orpheus-3b-0.1-ft
53