[CoreML][OSS] Add Simulator tests (#65076)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65076
ghstack-source-id: 138869950
create a new conda environment - conda create --name coreml python=3.8
conda activate coreml
pip3 install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install coremltools==5.0b5
cd pytorch
git fetch
git checkout gh/xta0/131/head
cd ios/TestApp/benchmark
mkdir ../models
python coreml_backend.py
Test the model_coreml.ptl in the helloworld example
Test Plan:
1. CircleCI
2. Pytorch nightly builds
Reviewed By: hanton
Differential Revision: D30912268
fbshipit-source-id: 52b2ed1ad40e5949ee2755bca113119132dfc914