Skip to content

Commit bc8ef9c

Browse files
committed
pin the pytorch version to 2.8.0
1 parent 6bf5346 commit bc8ef9c

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/scripts/filter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def main():
6262
for entry in full_matrix["include"]:
6363
if entry["desired_cuda"] == "cu129":
6464
continue
65+
# pin the pytorch version to 2.8.0
66+
entry["stable_version"] = "2.8.0"
6567
new_matrix_entries.append(entry)
6668

6769
new_matrix = {"include": new_matrix_entries}

.github/scripts/validate_binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ conda env config vars set -n ${CONDA_ENV} \
7373
# export PYTORCH_CUDA_PKG="pytorch-cuda=${MATRIX_GPU_ARCH_VERSION}"
7474
# fi
7575

76-
conda run -n "${CONDA_ENV}" pip install torch --index-url "$PYTORCH_URL"
76+
conda run -n "${CONDA_ENV}" pip install torch==2.8.0 --index-url "$PYTORCH_URL"
7777

7878
# install fbgemm
7979
conda run -n "${CONDA_ENV}" pip install fbgemm-gpu --index-url "$PYTORCH_URL"

.github/workflows/unittest_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
index_url=https://download.pytorch.org/whl/${{ inputs.channel }}/${{ matrix.cuda-tag }}
9494
fi
9595
conda run -n build_binary \
96-
pip install torch --index-url $index_url
96+
pip install torch==2.8.0 --index-url $index_url
9797
conda run -n build_binary \
9898
python -c "import torch; print(torch.__version__)"
9999
echo "torch succeeded"

.github/workflows/unittest_ci_cpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
index_url=https://download.pytorch.org/whl/${{ inputs.channel }}/cpu
8383
fi
8484
conda run -n build_binary \
85-
pip install torch --index-url $index_url
85+
pip install torch==2.8.0 --index-url $index_url
8686
conda run -n build_binary \
8787
python -c "import torch"
8888
echo "torch succeeded"

0 commit comments

Comments
 (0)