Add torch to both venv setup scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,7 @@ fi
|
|||||||
|
|
||||||
echo "==> upgrading pip + build tools"
|
echo "==> upgrading pip + build tools"
|
||||||
"${VENV}/bin/pip" install --upgrade pip wheel setuptools pybind11 --quiet
|
"${VENV}/bin/pip" install --upgrade pip wheel setuptools pybind11 --quiet
|
||||||
|
"${VENV}/bin/pip" install torch
|
||||||
|
|
||||||
# --- clone (skipped if already done) ---
|
# --- clone (skipped if already done) ---
|
||||||
if [ ! -d "${BUILD_DIR}/src/.git" ]; then
|
if [ ! -d "${BUILD_DIR}/src/.git" ]; then
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ if [ ! -d "${VENV}" ]; then
|
|||||||
python3 -m venv "${VENV}"
|
python3 -m venv "${VENV}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "==> installing faster-whisper"
|
echo "==> installing torch and faster-whisper"
|
||||||
"${VENV}/bin/pip" install --upgrade pip --quiet
|
"${VENV}/bin/pip" install --upgrade pip --quiet
|
||||||
"${VENV}/bin/pip" install faster-whisper
|
"${VENV}/bin/pip" install torch faster-whisper
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "==> done. Venv ready at ${VENV}"
|
echo "==> done. Venv ready at ${VENV}"
|
||||||
|
|||||||
Reference in New Issue
Block a user