Add torch to both venv setup scripts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 08:47:03 +00:00
parent 2af47373c4
commit c0a72679f8
2 changed files with 3 additions and 2 deletions

View File

@@ -57,6 +57,7 @@ fi
echo "==> upgrading pip + build tools"
"${VENV}/bin/pip" install --upgrade pip wheel setuptools pybind11 --quiet
"${VENV}/bin/pip" install torch
# --- clone (skipped if already done) ---
if [ ! -d "${BUILD_DIR}/src/.git" ]; then

View File

@@ -23,9 +23,9 @@ if [ ! -d "${VENV}" ]; then
python3 -m venv "${VENV}"
fi
echo "==> installing faster-whisper"
echo "==> installing torch and faster-whisper"
"${VENV}/bin/pip" install --upgrade pip --quiet
"${VENV}/bin/pip" install faster-whisper
"${VENV}/bin/pip" install torch faster-whisper
echo ""
echo "==> done. Venv ready at ${VENV}"