From 025873d2caf9e62303828bb0d50b6c695dd1b13e Mon Sep 17 00:00:00 2001 From: makaveli <39617050+makaveli10@users.noreply.github.com> Date: Mon, 29 Jan 2024 11:57:03 +0530 Subject: [PATCH 1/3] Update TensorRT server requirements --- requirements/server.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements/server.txt b/requirements/server.txt index 77e53788..71132290 100644 --- a/requirements/server.txt +++ b/requirements/server.txt @@ -2,4 +2,7 @@ faster-whisper==0.10.0 torch websockets onnxruntime==1.16.0 -numba \ No newline at end of file +numba +openai-whisper +kaldialign +soundfile From d5a0f5859e50c2eb8bae7867f5dc989e464fd8e3 Mon Sep 17 00:00:00 2001 From: makaveli <39617050+makaveli10@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:06:56 +0530 Subject: [PATCH 2/3] Update TensorRT_whisper.md ffmpeg is needed for model warmup --- TensorRT_whisper.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TensorRT_whisper.md b/TensorRT_whisper.md index 2935363f..8f1e9eb9 100644 --- a/TensorRT_whisper.md +++ b/TensorRT_whisper.md @@ -48,6 +48,7 @@ bash build_whisper_tensorrt /root/TensorRT-LLM-examples small cd /home/WhisperLive # Install requirements +bash setup.sh pip install -r requirements/server.txt # Required to create mel spectogram From 4d94c6b38ba1ce371d0131f286b07b84187e7b53 Mon Sep 17 00:00:00 2001 From: makaveli <39617050+makaveli10@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:10:18 +0530 Subject: [PATCH 3/3] Update server.txt install ffmpeg-python to load test file for model warmup --- requirements/server.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/server.txt b/requirements/server.txt index 71132290..98752ae7 100644 --- a/requirements/server.txt +++ b/requirements/server.txt @@ -6,3 +6,4 @@ numba openai-whisper kaldialign soundfile +ffmpeg-python