Update setup_venv.sh

This commit is contained in:
Ean Garvey
2024-05-28 18:25:54 -05:00
committed by GitHub
parent 78b6e4ff4b
commit 25e4c4077e

View File

@@ -54,7 +54,7 @@ PYTORCH_URL="https://download.pytorch.org/whl/nightly/cpu/"
# Upgrade pip and install requirements.
$PYTHON -m pip install --upgrade pip || die "Could not upgrade pip"
$PYTHON -m pip install --upgrade --pre torch torchvision torchaudio --index-url $PYTORCH_URL
$PYTHON -m pip install --upgrade --pre torch==2.3.0 torchvision torchaudio --index-url $PYTORCH_URL
if [[ -z "${NO_BREVITAS}" ]]; then
$PYTHON -m pip install git+https://github.com/Xilinx/brevitas.git@dev
fi