Skip to content

Commit 9a327c0

Browse files
authored
Pin to use 2.5 (#3091)
- Update torch to 2.5 - Update torchrec to use 1.0.0 - Update fbgemm to use 1.0.0
1 parent b725032 commit 9a327c0

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.ci/docker/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tqdm==4.66.1
1414
numpy==1.24.4
1515
matplotlib
1616
librosa
17-
torch==2.4
17+
torch==2.5
1818
torchvision
1919
torchdata
2020
networkx
@@ -69,5 +69,5 @@ pycocotools
6969
semilearn==0.3.2
7070
torchao==0.5.0
7171
segment_anything==1.0
72-
torchrec==0.8.0
73-
fbgemm-gpu==0.8.0
72+
torchrec==1.0.0
73+
fbgemm-gpu==1.0.0

.jenkins/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ sudo apt-get install -y pandoc
2222
#Install PyTorch Nightly for test.
2323
# Nightly - pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
2424
# Install 2.5 to merge all 2.4 PRs - uncomment to install nightly binaries (update the version as needed).
25-
pip uninstall -y torch torchvision torchaudio torchtext torchdata
26-
pip3 install torch==2.5.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
27-
pip3 install fbgemm-gpu==1.0.0 torchrec==1.0.0 --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
25+
# pip uninstall -y torch torchvision torchaudio torchtext torchdata
26+
# pip3 install torch==2.5.0 torchvision torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/test/cu124
2827

2928
# Install two language tokenizers for Translation with TorchText tutorial
3029
python -m spacy download en_core_web_sm

0 commit comments

Comments
 (0)