@@ -87,7 +87,6 @@ function download_all_models() {
87
87
function download_live_models() {
88
88
huggingface-cli download KBlueLeaf/kohaku-v2.1 --include " *.safetensors" " *.json" " *.txt" --exclude " .onnx" " .onnx_data" --cache-dir models
89
89
huggingface-cli download stabilityai/sd-turbo --include " *.safetensors" " *.json" " *.txt" --exclude " .onnx" " .onnx_data" --cache-dir models
90
- huggingface-cli download warmshao/FasterLivePortrait --local-dir models/FasterLivePortrait--checkpoints
91
90
huggingface-cli download yuvraj108c/Depth-Anything-Onnx --include depth_anything_vitl14.onnx --local-dir models/ComfyUI--models/Depth-Anything-Onnx
92
91
download_sam2_checkpoints
93
92
download_florence2_checkpoints
@@ -145,27 +144,6 @@ function build_tensorrt_models() {
145
144
done
146
145
done"
147
146
148
- # FasterLivePortrait
149
- AI_RUNNER_LIVEPORTRAIT_IMAGE=${AI_RUNNER_LIVEPORTRAIT_IMAGE:- livepeer/ ai-runner: live-app-liveportrait}
150
- docker pull $AI_RUNNER_LIVEPORTRAIT_IMAGE
151
- # ai-worker has tags hardcoded in `var livePipelineToImage` so we need to use the same tag in here:
152
- docker image tag $AI_RUNNER_LIVEPORTRAIT_IMAGE livepeer/ai-runner:live-app-liveportrait
153
- docker run --rm -v ./models:/models --gpus all -l TensorRT-engines \
154
- $AI_RUNNER_LIVEPORTRAIT_IMAGE \
155
- bash -c " cd /app/app/live/FasterLivePortrait && \
156
- if [ ! -f '/models/FasterLivePortrait--checkpoints/liveportrait_onnx/stitching_lip.trt' ]; then
157
- echo 'Building TensorRT engines for LivePortrait models (regular)...'
158
- sh scripts/all_onnx2trt.sh
159
- else
160
- echo 'Regular LivePortrait TensorRT engines already exist, skipping build'
161
- fi && \
162
- if [ ! -f '/models/FasterLivePortrait--checkpoints/liveportrait_animal_onnx/stitching_lip.trt' ]; then
163
- echo 'Building TensorRT engines for LivePortrait models (animal)...'
164
- sh scripts/all_onnx2trt_animal.sh
165
- else
166
- echo 'Animal LivePortrait TensorRT engines already exist, skipping build'
167
- fi"
168
-
169
147
# ComfyUI (only DepthAnything for now)
170
148
AI_RUNNER_COMFYUI_IMAGE=${AI_RUNNER_COMFYUI_IMAGE:- livepeer/ ai-runner: live-app-comfyui}
171
149
docker pull $AI_RUNNER_COMFYUI_IMAGE
@@ -242,7 +220,7 @@ echo "Starting livepeer AI subnet model downloader..."
242
220
echo " Creating 'models' directory in the current working directory..."
243
221
mkdir -p models
244
222
mkdir -p models/checkpoints
245
- mkdir -p models/StreamDiffusion--engines models/FasterLivePortrait--checkpoints models/ ComfyUI--models models/ComfyUI--models/sam2--checkpoints models/ComfyUI--models/checkpoints
223
+ mkdir -p models/StreamDiffusion--engines models/ComfyUI--models models/ComfyUI--models/sam2--checkpoints models/ComfyUI--models/checkpoints
246
224
247
225
# Ensure 'huggingface-cli' is installed.
248
226
echo " Checking if 'huggingface-cli' is installed..."
0 commit comments