RAM2106 commited on
Commit
538e429
·
1 Parent(s): ea993eb

fix: bypass VibeVoice C/C++ compilation by using split --no-deps installation

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -0
  2. requirements.txt +10 -1
Dockerfile CHANGED
@@ -47,6 +47,9 @@ RUN pip3 install --no-cache-dir --user torch torchaudio --index-url https://down
47
  COPY --chown=user:user requirements.txt .
48
  RUN pip3 install --no-cache-dir --user -r requirements.txt
49
 
 
 
 
50
  # Copy FastAPI backend code and assets
51
  COPY --chown=user:user app.py .
52
  COPY --chown=user:user static/ static/
 
47
  COPY --chown=user:user requirements.txt .
48
  RUN pip3 install --no-cache-dir --user -r requirements.txt
49
 
50
+ # Install VibeVoice package with --no-deps to prevent compiling unused/heavy packages (like aiortc and av)
51
+ RUN pip3 install --no-cache-dir --user --no-deps git+https://github.com/shijincai/VibeVoice.git
52
+
53
  # Copy FastAPI backend code and assets
54
  COPY --chown=user:user app.py .
55
  COPY --chown=user:user static/ static/
requirements.txt CHANGED
@@ -7,6 +7,15 @@ numpy>=1.20.0
7
  websockets>=12.0
8
  pyttsx3>=2.90
9
  comtypes>=1.4.0; sys_platform == 'win32'
10
- git+https://github.com/shijincai/VibeVoice.git
 
 
 
 
 
 
 
 
 
11
 
12
 
 
7
  websockets>=12.0
8
  pyttsx3>=2.90
9
  comtypes>=1.4.0; sys_platform == 'win32'
10
+ accelerate>=0.25.0
11
+ diffusers
12
+ tqdm
13
+ scipy
14
+ librosa
15
+ ml-collections
16
+ absl-py
17
+ numba>=0.57.0
18
+ llvmlite>=0.40.0
19
+
20
 
21