Tomtom84 commited on
Commit
b87e018
Β·
verified Β·
1 Parent(s): 978b30c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -10
Dockerfile CHANGED
@@ -13,23 +13,26 @@ USER user
13
  WORKDIR /app
14
  ENV PATH="/home/user/.local/bin:$PATH"
15
 
16
- # Python-AbhΓ€ngigkeiten
17
- COPY --chown=user requirements.txt .
18
- RUN pip install --upgrade pip && \
19
- pip install --no-cache-dir -r requirements.txt
20
-
21
  # Orpheus-/SNAC-Code + Server
22
  COPY --chown=user . /app
23
 
 
 
24
  # GPU-freundliches Torch-Upgrade (falls gewΓΌnscht)
25
  RUN pip install --no-cache-dir \
26
- torch==2.3.1+cu121 torchaudio==2.3.1 \
27
- --index-url https://download.pytorch.org/whl/cu121
 
 
 
 
 
 
 
 
 
28
 
29
  EXPOSE 7860
30
- ENV HF_HOME=/app/.cache
31
- # ───── Pakete ─────────────────────────────────────────────
32
- RUN pip install --no-cache-dir vllm==0.4.2
33
 
34
  # ───── Environment ───────────────────────────────────────
35
  ENV MODEL_ID="SebastianBodza/Kartoffel_Orpheus-3B_german_natural-v0.1"
 
13
  WORKDIR /app
14
  ENV PATH="/home/user/.local/bin:$PATH"
15
 
 
 
 
 
 
16
  # Orpheus-/SNAC-Code + Server
17
  COPY --chown=user . /app
18
 
19
+ ENV HF_HOME=/app/.cache
20
+
21
  # GPU-freundliches Torch-Upgrade (falls gewΓΌnscht)
22
  RUN pip install --no-cache-dir \
23
+ torch==2.3.1+cu121 torchaudio==2.3.1+cu121 \
24
+ --index-url https://download.pytorch.org/whl/cu121
25
+
26
+ RUN pip install --no-cache-dir vllm==0.9.0.post1
27
+
28
+ # Python-AbhΓ€ngigkeiten
29
+ COPY --chown=user requirements.txt .
30
+ RUN pip install --upgrade pip && \
31
+ pip install --no-cache-dir -r requirements.txt
32
+
33
+ RUN pip install --no-cache-dir "realtimetts[system]==0.3.1" --no-deps
34
 
35
  EXPOSE 7860
 
 
 
36
 
37
  # ───── Environment ───────────────────────────────────────
38
  ENV MODEL_ID="SebastianBodza/Kartoffel_Orpheus-3B_german_natural-v0.1"