diff --git a/.jenkins/build.sh b/.jenkins/build.sh index aa3ac9ee2b2..e93e1c8212f 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -24,10 +24,10 @@ pip install --progress-bar off -r $DIR/../requirements.txt #Install PyTorch Nightly for test. # Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html -# Install 2.2 for testing -pip uninstall -y torch torchvision torchaudio torchtext torchdata -pip3 install torch==2.2.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121 -pip3 install torchdata torchtext --index-url https://download.pytorch.org/whl/test/cpu +# Install 2.2 for testing - uncomment to install nightly binaries (update the version as needed). +# pip uninstall -y torch torchvision torchaudio torchtext torchdata +# pip3 install torch==2.2.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121 +# pip3 install torchdata torchtext --index-url https://download.pytorch.org/whl/test/cpu # Install two language tokenizers for Translation with TorchText tutorial python -m spacy download en_core_web_sm