From 6c53277f1f0600ded04b606ffe0d5732c812db0b Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 14 Dec 2023 12:22:15 -0800 Subject: [PATCH] [Validations] do conda update before starting validations --- .github/scripts/validate_binaries.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/validate_binaries.sh b/.github/scripts/validate_binaries.sh index acdcef5e5..22fc9d109 100755 --- a/.github/scripts/validate_binaries.sh +++ b/.github/scripts/validate_binaries.sh @@ -2,6 +2,8 @@ if [[ ${MATRIX_PACKAGE_TYPE} == "libtorch" ]]; then curl ${MATRIX_INSTALLATION} -o libtorch.zip unzip libtorch.zip else + + conda update -y -n base -c defaults conda # Please note ffmpeg is required for torchaudio, see https://github.com/pytorch/pytorch/issues/96159 conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION} numpy ffmpeg conda activate ${ENV_NAME}