Skip to content

Commit 07bf2c1

Browse files
aporialiaofacebook-github-bot
authored andcommitted
Fix importlib metadata for binaries (#2843)
Summary: Pull Request resolved: #2843 Explicitly import `importlib-metadata` to resolve Python 3.9 issue with validate_binaries (nightly) Reviewed By: TroyGarden Differential Revision: D71657283 fbshipit-source-id: e7592b00ecfdfb57c6fcbd1945a8ac2eb29d5350
1 parent f18854f commit 07bf2c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ conda env config vars set -n ${CONDA_ENV} \
7575
# if [[ ${MATRIX_GPU_ARCH_TYPE} = 'cuda' ]]; then
7676
# export PYTORCH_CUDA_PKG="pytorch-cuda=${MATRIX_GPU_ARCH_VERSION}"
7777
# fi
78+
79+
conda run -n "${CONDA_ENV}" pip install importlib-metadata
80+
7881
conda run -n "${CONDA_ENV}" pip install torch --index-url "$PYTORCH_URL"
7982

8083
# install fbgemm

0 commit comments

Comments
 (0)