diff --git a/.jenkins/build.sh b/.jenkins/build.sh index cf3da8461e..dbec2d2552 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -21,9 +21,9 @@ sudo apt-get install -y pandoc #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 - uncomment to install nightly binaries (update the version as needed). -# pip uninstall -y torch torchvision torchaudio torchtext torchdata -# pip3 install torch==2.3.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu121 +# Install 2.4 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed). +pip uninstall -y torch torchvision torchaudio torchtext torchdata +pip3 install torch==2.4.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124 # Install two language tokenizers for Translation with TorchText tutorial python -m spacy download en_core_web_sm