Skip to content

Commit

Permalink
[Validations] do conda update before starting validations (#1643)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Dec 14, 2023
1 parent 6f3cb2b commit 3daf3bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/validate_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 3daf3bf

Please sign in to comment.