Commit 169d961
Yadan Wei
Fix whisperx build: drop Silero VAD bake (GitHub rate-limit)
The Silero bake ran torch.hub.load('snakers4/silero-vad', ...), which
makes a live GitHub call at build time and failed with HTTP 403 rate
limit exceeded under CI's shared-IP load.
Silero is not needed: whisperx 3.8.6 defaults to vad_method="pyannote"
and server.py never selects silero. The default pyannote VAD's
segmentation model ships inside the whisperx wheel
(whisperx/assets/pytorch_model.bin) and loads from a local file with no
network (verified with docker run --network=none), so the default
serving path is fully offline. Removing the bake eliminates the
container's only build/runtime GitHub dependency with no loss on the
default or API-exposed path. HF_HOME/TORCH_HOME are kept for lazy
runtime caching of Whisper + per-language wav2vec2 aligners.1 parent 8b2a5ad commit 169d961
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | | - | |
120 | | - | |
| 125 | + | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
0 commit comments