From a1ff3d8fd85d2b260ef9dd3d8010b87d7eebef9e Mon Sep 17 00:00:00 2001 From: Felicity Liao Date: Tue, 11 Mar 2025 15:23:52 -0700 Subject: [PATCH] Fix importlib metadata Differential Revision: D70998736 --- .github/scripts/validate_binaries.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/scripts/validate_binaries.sh b/.github/scripts/validate_binaries.sh index a0c4234a8..eb1e87e57 100755 --- a/.github/scripts/validate_binaries.sh +++ b/.github/scripts/validate_binaries.sh @@ -162,5 +162,9 @@ conda run -n "${CONDA_ENV}" python -c "import torch; print(torch.version.cuda)" # python 3.11 needs torchx-nightly conda run -n "${CONDA_ENV}" pip install torchx-nightly iopath +# python 3.9 needs import-metadata +conda run -n "${CONDA_ENV}" pip install importlib_metadata + + # Finally run smoke test conda run -n "${CONDA_ENV}" torchx run -s local_cwd dist.ddp -j 1 --gpu 2 --script test_installation.py