[CD] Run smoke tests on MacOS wheel (#143393)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/143393
Approved by: https://github.com/atalman, https://github.com/seemethere
This commit is contained in:
Nikita Shulga
2024-12-17 11:35:47 -08:00
committed by PyTorch MergeBot
parent b247f87845
commit 2642bbc6dc

View File

@ -241,9 +241,10 @@ if [[ -z "$BUILD_PYTHONLESS" ]]; then
echo "$(date) :: Running tests"
# TODO: Add real tests, as run_test.sh from builder is a glorified no-op
# pushd "$pytorch_rootdir"
# "${SOURCE_DIR}/../run_tests.sh" 'wheel' "$desired_python" 'cpu'
# popd
pushd "$pytorch_rootdir"
pip install numpy
python .ci/pytorch/smoke_test/smoke_test.py --package torchonly
popd
echo "$(date) :: Finished tests"
fi
else