pytorch/ios/TestApp/benchmark
Tao Xu f850d7ef2e [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
2021-09-23 14:57:01 -07:00
..
coreml_backend.py [CoreML][OSS] Add Simulator tests (#65076) 2021-09-23 14:57:01 -07:00
setup.rb [CoreML][OSS] Add Simulator tests (#65076) 2021-09-23 14:57:01 -07:00
trace_model.py [iOS][OSS][BE] Add Simulator tests for full JIT (#64851) 2021-09-13 18:16:08 -07:00