6
6
if [ -n " $ANACONDA_PYTHON_VERSION " ]; then
7
7
BASE_URL=" https://repo.anaconda.com/miniconda"
8
8
CONDA_FILE=" Miniconda3-latest-Linux-x86_64.sh"
9
- if [[ $( uname -m) == " aarch64" ]] || [[ " $BUILD_ENVIRONMENT " == * xpu* ]]; then
9
+ if [[ $( uname -m) == " aarch64" ]] || [[ " $BUILD_ENVIRONMENT " == * xpu* ]] || [[ " $BUILD_ENVIRONMENT " == * rocm * ]] ; then
10
10
BASE_URL=" https://github.com/conda-forge/miniforge/releases/latest/download"
11
11
CONDA_FILE=" Miniforge3-Linux-$( uname -m) .sh"
12
12
fi
@@ -64,6 +64,11 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then
64
64
# which is provided in libstdcxx 12 and up.
65
65
conda_install libstdcxx-ng=12.3.0 --update-deps -c conda-forge
66
66
67
+ # Miniforge installer doesn't install sqlite by default
68
+ if [[ " $BUILD_ENVIRONMENT " == * rocm* ]]; then
69
+ conda_install sqlite
70
+ fi
71
+
67
72
# Install PyTorch conda deps, as per https://github.com/pytorch/pytorch README
68
73
if [[ $( uname -m) == " aarch64" ]]; then
69
74
conda_install " openblas==0.3.28=*openmp*"
@@ -80,7 +85,7 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then
80
85
# following builds that we know should use conda. Specifically, Ubuntu bionic
81
86
# and focal cannot find conda mkl with stock cmake, so we need a cmake from conda
82
87
if [ -n " ${CONDA_CMAKE} " ]; then
83
- conda_install cmake
88
+ conda_install cmake=3.31.6
84
89
fi
85
90
86
91
# Magma package names are concatenation of CUDA major and minor ignoring revision
0 commit comments