Skip to content

Commit cc5ff1f

Browse files
junjieqifacebook-github-bot
authored andcommitted
pin the dependecies version for x86_64 (facebookresearch#4046)
Summary: Pin dependecy version to get stable CI signal Pull Request resolved: facebookresearch#4046 Reviewed By: mnorris11 Differential Revision: D66684832 Pulled By: junjieqi fbshipit-source-id: 9749d328688034514d6f2315d313fbf8045405ee
1 parent 697b6dd commit cc5ff1f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/actions/build_cmake/action.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
conda update -y -q conda
3333
echo "$CONDA/bin" >> $GITHUB_PATH
3434
35-
conda install -y -q python=3.11 cmake make swig "numpy<2" scipy pytest gflags
35+
conda install -y -q python=3.11 cmake=3.26 make=4.2 swig=4.0 "numpy<2" scipy=1.14 pytest=7.4 gflags=2.2
3636
3737
# install base packages for ARM64
3838
if [ "${{ runner.arch }}" = "ARM64" ]; then
@@ -42,7 +42,7 @@ runs:
4242
# install base packages for X86_64
4343
if [ "${{ runner.arch }}" = "X64" ]; then
4444
# TODO: merge this with ARM64
45-
conda install -y -q -c conda-forge gxx_linux-64 sysroot_linux-64
45+
conda install -y -q -c conda-forge gxx_linux-64=14.2 sysroot_linux-64=2.17
4646
conda install -y -q mkl=2023 mkl-devel=2023
4747
fi
4848
@@ -54,18 +54,17 @@ runs:
5454
conda install -y -q cuda-toolkit -c "nvidia/label/cuda-12.4.0"
5555
# and CUDA from cuVS channel for cuVS builds
5656
elif [ "${{ inputs.cuvs }}" = "ON" ]; then
57-
conda install -y -q libcuvs=24.08 cuda-version=12.4 cuda-toolkit -c rapidsai -c conda-forge -c "nvidia/label/cuda-12.4.0"
57+
conda install -y -q libcuvs=24.08 cuda-version=12.4 cuda-toolkit gxx_linux-64=12.4 -c rapidsai -c conda-forge -c "nvidia/label/cuda-12.4.0"
5858
fi
5959
6060
# install test packages
61-
conda install -y pytest
6261
if [ "${{ inputs.rocm }}" = "ON" ]; then
6362
: # skip torch install via conda, we need to install via pip to get
6463
# ROCm-enabled version until it's supported in conda by PyTorch
6564
elif [ "${{ inputs.gpu }}" = "ON" ]; then
6665
conda install -y -q "pytorch<2.5" pytorch-cuda=12.4 -c pytorch -c nvidia/label/cuda-12.4.0
6766
else
68-
conda install -y -q pytorch -c pytorch
67+
conda install -y -q "pytorch<2.5" -c pytorch
6968
fi
7069
- name: ROCm - Install dependencies
7170
if: inputs.rocm == 'ON'

0 commit comments

Comments
 (0)